예제 #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 ();
    }