void OnEnable() { TurnSystem.EndDefenseAction += MarkOff; TurnSystem.RevealAction += Reveal; effectsInterface = GetComponent <IEffects>(); heavyInterface = GetComponent <IHeavy>(); }
void OnEnable() { TurnSystem.EndTurnAction += CountDown; TurnSystem.EndDefenseAction += MarkOff; //for heavy TurnSystem.EndTurnAction += MarkOff; TurnSystem.EndDefenseAction += Reveal; TurnSystem.RevealAction += Reveal; heavyInterface = GetComponent <IHeavy>(); }
void Start() { heavyInterface = GetComponent <IHeavy>(); nombre = transform.gameObject.name; if (nombre == "BioRight") { left = true; } if (nombre == "BioLeft") { right = true; } }
public HeavyProxy(IHeavy heavy) => _heavy = heavy;