コード例 #1
0
        //returns the instance
        public static GameObjectWorker GetInstance()
        {
            if (Instance == null)
                Instance = new GameObjectWorker();

            return Instance;
        }
コード例 #2
0
        //returns the instance
        public static GameObjectWorker GetInstance()
        {
            if (Instance == null)
            {
                Instance = new GameObjectWorker();
            }

            return(Instance);
        }