void Awake() { player = GetComponent <EventPlayer>(); player.AddParameter(new CustomParameter("DamageAngle", 0.0f)); player.AddParameter(new CustomParameter("Severity", 0)); // player.AddParameter(new CustomParameter("ToRight", false)); player.AddParameter(new CustomParameter("Health", 0.0f)); }
void Awake() { eventPlayer = GetComponent <EventPlayer>(); eventPlayer.AddParameter(new CustomParameter("Agitated", () => agitated)); movementController = GetComponent <MovementController>(); movementController.AddChangeLoopStateValueCheck(() => agitated, "agitated"); }