Пример #1
0
		public VariableNode(NodeContainer container) : base(container)
		{
			m_NodeType = NodeType.VARIABLE;
			m_VariableName = "";
			m_VariableType = VariableType.FLOAT;
			m_MaxChildren = 0;
		}
Пример #2
0
		public ConstantNode(NodeContainer container) : base(container)
		{
			m_NodeType = NodeType.CONSTANT;
			m_ConstantType = VariableType.FLOAT;
			m_ConstantValue = new float();
			m_MaxChildren = 0;
		}
Пример #3
0
 public NodeBase(NodeContainer container)
 {
     m_DeleteButton = new Rect(90, 90, 10, 10);
     m_Children     = new List <NodeBase>();
     m_Container    = container;
 }
Пример #4
0
 public NodeBase()
 {
     m_DeleteButton = new Rect(90, 10, 10, 10);
     m_Children     = new List <NodeBase>();
     m_Container    = null;
 }
Пример #5
0
		public RuleToGraph(NodeContainer container)
		{
			m_Container = container;
		}
Пример #6
0
 public RelationalNode(NodeContainer container) : base(container)
 {
     m_RelationType = RelationType.EQUAL;
     m_MaxChildren  = 2;
 }
Пример #7
0
		public RelationalNode(NodeContainer container) : base(container)
		{
			m_RelationType = RelationType.EQUAL;
			m_MaxChildren = 2;
		}
Пример #8
0
		public NodeBase()
		{
			m_DeleteButton = new Rect(90, 10, 10, 10);
			m_Children = new List<NodeBase>();
			m_Container = null;
		}
Пример #9
0
		public LogicalNode(NodeContainer container) : base(container)
		{
			m_NodeType = NodeType.LOGICAL;
			m_MaxChildren = 2;
		}
Пример #10
0
 public ArithmeticNode(NodeContainer container) : base(container)
 {
     m_NodeType    = NodeType.ARITHMETIC;
     m_MaxChildren = 2;
 }
Пример #11
0
 public CallNode(NodeContainer container) : base(container)
 {
     m_MaxChildren = 0;
     m_NodeType    = NodeType.CALLSCRIPT;
     m_Script      = null;
 }
Пример #12
0
 public RuleToGraph(NodeContainer container)
 {
     m_Container = container;
 }
Пример #13
0
		public SetNode(NodeContainer container) : base(container)
		{
			m_MaxChildren = 1;
			m_NodeType = NodeType.SETVARIABLE;
		}
Пример #14
0
		public ArithmeticNode(NodeContainer container) : base(container)
		{
			m_NodeType = NodeType.ARITHMETIC;
			m_MaxChildren = 2;
		}
Пример #15
0
		public NodeBase(NodeContainer container)
		{
			m_DeleteButton = new Rect(90, 90, 10, 10);
			m_Children = new List<NodeBase>();
			m_Container = container;
		}
Пример #16
0
 public LogicalNode(NodeContainer container) : base(container)
 {
     m_NodeType    = NodeType.LOGICAL;
     m_MaxChildren = 2;
 }
Пример #17
0
		public CallNode(NodeContainer container) : base(container)
		{
			m_MaxChildren = 0;
			m_NodeType = NodeType.CALLSCRIPT;
            m_Script = null;
		}