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