Esempio n. 1
0
 public void ForEach(object v0, object v1, ShaderFieldAction2 action)
 {
     if (action.Invoke(this, v0, v1))
     {
         var t0 = ReflectiveField.GetValue(v0);
         var t1 = ReflectiveField.GetValue(v1);
         foreach (var child in Children)
         {
             child.ForEach(t0, t1, action);
         }
     }
 }
 public virtual void ForEach(object v0, object v1, ShaderFieldAction2 action)
 {
     action.Invoke(this, v0, v1);
 }