private NodeState SetConstructPosition(ConstructId type, Vector3 pos, Transform construct)
 {
     if (constructCountQuery.Remove(type))
     {
         construct.position = pos;
         return(NodeState.Success);
     }
     return(NodeState.Failure);
 }
示例#2
0
 private void Set(string name, string value)
 {
     if (value == null)
     {
         QueryList.Remove(name);
     }
     else
     {
         QueryList[name] = value;
     }
 }