Exemplo n.º 1
0
 public void SetPushUndo(UnityEditor.Animations.AnimatorController ac, bool flag)
 {
     if (ac == null)
     {
         return;
     }
     if (dg_set_pushUndo == null || dg_set_pushUndo.Target != (object)ac)
     {
         dg_set_pushUndo = (Action <bool>)Delegate.CreateDelegate(typeof(Action <bool>), ac, ac.GetType().GetProperty("pushUndo", BindingFlags.NonPublic | BindingFlags.Instance).GetSetMethod(true));
     }
     dg_set_pushUndo(flag);
 }