// Update is called once per frame void Update() { MC.SetInteger("State", state); MC_Global.SetInteger("State", state); NPC.SetInteger("State", state); NPC_Global.SetInteger("State", state); }
// Update is called once per frame void Update() { MC.SetInteger("State", state); MC_Global.SetInteger("State", state); NPC.SetInteger("State", state); NPC_Global.SetInteger("State", state); if (state == 5) { deskDude.SetBool("HandDocument", true); } if (state == 6) { deskDude.SetBool("HandDocument", false); } }