Ejemplo n.º 1
0
 private void DestroyGameObject()
 {
     actionTimeout = null;
     OnDestroy.Invoke();
     InteractingAgents.ForEach(agent => agent.GetComponent <HitAnimation>().PlayHitAnimation(gameObject));
     EndInteraction(InteractingAgents);
 }
Ejemplo n.º 2
0
 public override void Reset()
 {
     IsInteracting = false;
     IsComplete    = false;
     actionTimeout = null;
     OnReset.Invoke();
     InteractingAgents.Clear();
 }