Пример #1
0
 public void MakeTransition(GameNodeName _nodeName, GuidePrecondition _condition,GuideInput _input)
 {
     GuideNode _node = _dictNodes[_nodeName];
     _node.input = _input;
     _node.PreCondition = _condition;
     _node.RunNode();
     Current = _node;
 }
Пример #2
0
        public void MakeTransition(GameNodeName _nodeName, GuidePrecondition _condition, GuideInput _input)
        {
            GuideNode _node = _dictNodes[_nodeName];

            _node.input        = _input;
            _node.PreCondition = _condition;
            _node.RunNode();
            Current = _node;
        }