public override void TakeAction(int nodeID) { interactableManager.ReturnSignalBus().TryFire(new DisguiseSignal() { enemyType = currentEnemyType }); }
public override void InteractablePickedUp() { interactableManager.ReturnSignalBus().TryFire(new SignalPlayOneShot() { soundName = SoundName.dualGun }); base.InteractablePickedUp(); }
public override void TakeAction(int targetNodeID) { interactableManager.ReturnSignalBus().TryFire(new SignalPlayOneShot() { soundName = SoundName.sniper }); interactableManager.ReturnSignalBus().TryFire(new EnemyKillSignal() { nodeID = targetNodeID, killMode = KillMode.SHOOT }); interactableManager.RemoveInteractable(this); }
public void Throw() { interactableManager.ReturnSignalBus().TryFire(new NewDogDestinationSignal() { nodeID = targetNodeID //interactablePickup = interactablePickup }); interactableView.gameObject.SetActive(false); interactableManager.RemoveInteractable(this); }
public void Throw() { interactableManager.ReturnSignalBus().TryFire(new SignalAlertGuards() { nodeID = targetNodeID, interactablePickup = interactablePickup }); interactableView.gameObject.SetActive(false); interactableManager.RemoveInteractable(this); }
public override void TakeAction(int nodeID) { interactableManager.ReturnSignalBus().Fire <BriefCaseSignal>(); interactableView.gameObject.SetActive(false); interactableManager.RemoveInteractable(this); }