public void EnterRobot() { Invoke("SwapToBody", 1f); robotBodyCanvas.GetComponent <Animator>().SetTrigger("Enter"); m_doorControllerScript.AllPowerOff(); }