protected void WrapUpList(InteractionAttribute sourceInteraction, IGUIllaume source, IEnumerable <IGUIllaume> target) { SerializedObject serializedObject = new SerializedObject(source as UnityEngine.Object); sourceInteraction.setTargetListRef(source, target); }
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); }
/// <summary> /// /// </summary> /// <typeparam name="T"></typeparam> /// <param name="sourceObject"></param> /// <returns></returns> public void setTargetRef(IGUIllaume sourceObject, object Target) { SetPropertyValue(Target, Name, sourceObject); }