public override void Action( ) { if (ContainedCharacter && _isActive) { _animator.SetTrigger(OPERATE_ANIMATION); ContainedCharacter.Teleport(_startCell.Coordinate); } base.Action(); }
public override void Action() { if (!ContainedCharacter) { return; } if (_isActive) { ContainedCharacter.Teleport(_teleportCell.Coordinate); } base.Action(); }
public override void Action() { if (!ContainedCharacter || _triggered) { return; } ContainedCharacter.Reset(); LevelHandler.EndLevel(); if (_levelStartEffect) { _levelStartEffect.StartEffect(); } _triggered = true; base.Action(); }
public override void Action( ) { if (!_isActive) { ActivateCells(false); base.Action(); return; } if (!ContainedCharacter) { ActivateCells(false); return; } ContainedCharacter.Clone(); ActivateCells(true); base.Action(); }