protected void WrapUpList(InteractionAttribute sourceInteraction, IGUIllaume source, IEnumerable <IGUIllaume> target)
    {
        SerializedObject serializedObject = new SerializedObject(source as UnityEngine.Object);

        sourceInteraction.setTargetListRef(source, target);
    }
Beispiel #2
0
 public void setTargetListRef(IGUIllaume sourceObject, IEnumerable <IGUIllaume> Target)
 {
     SetPropertyValue(sourceObject, Name, Target.OfType <MonoBehaviour>().ToList());
 }
    protected void WrapUp(InteractionAttribute sourceInteraction, IGUIllaume source, object target)
    {
        SerializedObject serializedObject = new SerializedObject(source as UnityEngine.Object);

        sourceInteraction.setTargetRef(source, target);
    }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="sourceObject"></param>
 /// <returns></returns>
 public void setTargetRef(IGUIllaume sourceObject, object Target)
 {
     SetPropertyValue(Target, Name, sourceObject);
 }