コード例 #1
0
    // Run the decision tree and execute the returned action
    private void Update()
    {
        ActionNode actionNode = root.MakeDecision() as ActionNode;

        actionNode.Execute();
    }
コード例 #2
0
        static void Main(string[] args)
        {
            ActionNode an = new ActionNode(TestAction);

            an.Execute();
        }