Beispiel #1
0
    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);
    }