Ejemplo n.º 1
0
 public UMADataEvent(UMADataEvent source)
 {
     for (int i = 0; i < source.GetPersistentEventCount(); i++)
     {
         var target = source.GetPersistentTarget(i);
         AddListener(target, UnityEventBase.GetValidMethodInfo(target, source.GetPersistentMethodName(i), new Type[] { typeof(UMAData) }));
     }
 }