Пример #1
0
 public override void AfterFinishedEventProcessed()
 {
     SpawnFiringProjectileEvent.Get().UnRegisterSpawnFiringProjectileEventListener(this.OnProjectileLaunched);
     if (this.cor != null)
     {
         Coroutiner.Instance.StopCoroutine(this.cor);
         this.cor = null;
     }
 }
Пример #2
0
 public ProjectileDeflectionTestScenarioAction(CoreInteractiveObject EnemyObject, PlayerInteractiveObject PlayerInteractiveObject)
 {
     this.EnemyObject = EnemyObject;
     this._playerInteractiveObject = PlayerInteractiveObject;
     SpawnFiringProjectileEvent.Get().RegisterSpawnFiringProjectileEventListener(this.OnProjectileLaunched);
 }