public override void RunAction() { // Runs the NCS script StateSystem stateSystem = GameObject.Find("State System").GetComponent <StateSystem>(); StateSystem.AuroraCommand cmd = new StateSystem.AuroraCommand() { obj = owner, context = context }; stateSystem.ExecuteCommand(cmd); }