예제 #1
0
 void Start()
 {
     StatusInitial();
     isDie = false;
     effectCameraController = FindObjectOfType <EffectCameraController>();
     sceneManager           = FindObjectOfType <HowlingSceneManager>();
 }
예제 #2
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
 }