示例#1
0
 public void SenseEffect(GameEffect effect)
 {
     if (OnEffectSensed != null)
     {
         OnEffectSensed(effect);
     }
 }
 private void OnEffectStimulus(GameEffect effect)
 {
     entityDestroyer.Destroy();
 }
示例#3
0
 private void OnEffectSensed(GameEffect effect)
 {
     effect.ApplyOn(rootGameObject);
 }