// 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; }
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 (); }