Example #1
0
        public override void Initialize(Model.NodeData data)
        {
            m_instance = new SerializableMultiTargetInstance();

            data.AddDefaultInputPoint();
            data.AddDefaultOutputPoint();
        }
 public SerializableMultiTargetInstance(SerializableMultiTargetInstance rhs)
 {
     m_className = rhs.m_className;
     m_values    = new List <Entry>(rhs.m_values.Count);
     foreach (var v in rhs.m_values)
     {
         m_values.Add(new Entry(v.targetGroup, v.value));
     }
 }
        public override bool Equals(object rhs)
        {
            SerializableMultiTargetInstance other = rhs as SerializableMultiTargetInstance;

            if (other == null)
            {
                return(false);
            }
            else
            {
                return(other == this);
            }
        }
Example #4
0
 public void Import(V1.NodeData v1, Model.NodeData v2)
 {
     m_instance             = new SerializableMultiTargetInstance(v1.ScriptClassName, v1.InstanceData);
     m_replacePrefabOptions = v1.ReplacePrefabOptions;
 }
Example #5
0
 public void Import(V1.NodeData v1, Model.NodeData v2)
 {
     m_instance = new SerializableMultiTargetInstance(v1.ScriptClassName, v1.InstanceData);
 }
Example #6
0
 public GeneratorEntry(string name, SerializableMultiTargetInstance i, Model.ConnectionPointData point)
 {
     m_name     = name;
     m_id       = point.Id;
     m_instance = new SerializableMultiTargetInstance(i);
 }