예제 #1
0
    void Start()
    {
        my = GameSceneController.GetInstance();
        my.setGenGameObject(this);
        LoadResources();
        GameObject gameObject = GameObject.Find("MainCamera");

        mainCamera = gameObject.GetComponent <Camera>();
        mainCamera.transform.LookAt(Boat.transform);
    }
예제 #2
0
 // 游戏开始时
 private void Start()
 {
     my = GameSceneController.GetInstance();
     my.setGenGameObject(this);
     LoadSrc();
 }
 void Start()
 {
     my = GameSceneController.GetInstance();
     my.setGenGameObject(this);
     Screen();
 }
예제 #4
0
 void Start()
 {
     Inst = GameSceneController.GetInstance();
     Inst.setGenGameObject(this);
     loadSrc();
 }