检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:邓伟 DENG Wei(School of Computer Science and Technology,Kashi University,Kashi 844000,Xinjiang,China)
机构地区:[1]喀什大学计算机科学与技术学院,新疆喀什844000
出 处:《喀什大学学报》2020年第6期61-64,共4页Journal of Kashi University
基 金:新疆维吾尔自治区高校教学改革研究项目“面向应用型人才培养的数字媒体技术专业转型发展研究”(2017JG113).
摘 要:单例模式是软件开发中一种重要的设计模式,在Unity 3D虚拟现实和游戏设计开发中,一般常用于管理器类的设计,实现场景切换中对象的唯一性及持久化.为此,在分析单例模式的设计原理基础上,根据Unity 3D中管理器类设计是否继承MonoBehaviour类构建了两类单例模式,并结合Unity 3D开发中特定的应用场景,给出了单例模式的应用与实现.Singleton mode is an important design mode in software development.In Unity 3D virtual reality and game design and development,it is commonly used in the design of Manager class to realize the uniqueness and persistence of objects in scene switching.This paper analyzes the design principle of singleton pattern,and constructs two kinds of singleton patterns according to whether the manager class design in unity3d inherits the Monobehaviour class.Finally,the application and implementation of the singleton mode are given in combination with the specific application scenarios in Unity 3D development.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.137.142.253