/// <summary> /// 初期化 /// </summary> private void Awake() { // シングルトン if (instance == null) { instance = this; } else { Destroy(gameObject); } }
// Use this for initialization void Start() { m_sceneInstructor = SceneInstructor.instance; }
/// <summary> /// 初期化 /// </summary> private void Awake() { // シングルトン if (instance == null) { instance = this; } else { Destroy(gameObject); } }
// Use this for initialization void Start() { m_sceneInstructor = SceneInstructor.instance; }