Example #1
0
 // Use this for initialization
 void Start()
 {
     uInt      = gSceneController.GetInstance() as IUserInterface;
     query     = gSceneController.GetInstance() as IGameStatus;
     judge     = gSceneController.GetInstance() as IJudgeEvent;
     myFactory = DiskFactory.GetInstance();
 }
Example #2
0
 void Awake()
 {
     // 初始化预设对象
     DiskFactory.GetInstance().disk_template = disk;
 }
Example #3
0
 // Use this for initialization
 void Awake()
 {
     scene = gSceneController.GetInstance();
     scene.setGameModel(this);
     myFactory = DiskFactory.GetInstance();
 }