示例#1
0
 // Use this for initialization
 void Awake()
 {
     SceneManger    = this;
     i_save_point   = 0;
     O_camera       = GameObject.Find("Main Camera");
     camera_follow  = O_camera.GetComponent <C_CameraFollow>();
     b_enemy_switch = false;
 }
示例#2
0
文件: C_Chapter.cs 项目: SunShuyi/FYP
    public virtual void Awake()
    {
        if (playerData.Count < 1)
            Debug.LogWarning ("NO PLAYABLE CHARACTERS TO LOAD");

        scene = Application.loadedLevelName;
        sceneManager = (C_SceneManager)FindObjectOfType(typeof(C_SceneManager));

        ConditionCheck ();
    }