예제 #1
0
 public override void OnStart()
 {
     GlobalVariables.Instance.SetVariableValue("EnemiesAlive", (int)GlobalVariables.Instance.GetVariable("EnemiesAlive").GetValue() + 1);
     _instantiator = GetComponent <EnemyInstantiator>();
 }
예제 #2
0
파일: Conductor.cs 프로젝트: Dorgam/GeoHell
 private void Awake()
 {
     _playthrough  = JsonUtility.FromJson <Playthrough>(playthroughJson.text);
     _instantiator = GetComponent <EnemyInstantiator>();
 }