void Start() { my = GameSceneController.GetInstance(); my.setGenGameObject(this); LoadResources(); GameObject gameObject = GameObject.Find("MainCamera"); mainCamera = gameObject.GetComponent <Camera>(); mainCamera.transform.LookAt(Boat.transform); }
// 游戏开始时 private void Start() { my = GameSceneController.GetInstance(); my.setGenGameObject(this); LoadSrc(); }
void Start() { my = GameSceneController.GetInstance(); my.setGenGameObject(this); Screen(); }
void Start() { Inst = GameSceneController.GetInstance(); Inst.setGenGameObject(this); loadSrc(); }