Beispiel #1
0
 public override void End()
 {
     if (_naturalExplosionsGeneratorInstance != null)
     {
         Destroy(_naturalExplosionsGeneratorInstance.gameObject);
         _naturalExplosionsGeneratorInstance = null;
     }
 }
Beispiel #2
0
 public override void Execute()
 {
     _naturalExplosionsGeneratorInstance = Instantiate(_naturalExplosionsGeneratorPrefab);
 }