Exemplo n.º 1
0
 static public int SetReferenceValue(IntPtr l)
 {
     try {
         UnityEngine.Playables.PlayableDirector self = (UnityEngine.Playables.PlayableDirector)checkSelf(l);
         UnityEngine.PropertyName a1;
         checkValueType(l, 2, out a1);
         UnityEngine.Object a2;
         checkType(l, 3, out a2);
         self.SetReferenceValue(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int SetReferenceValue(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         UnityEngine.Playables.PlayableDirector obj = (UnityEngine.Playables.PlayableDirector)ToLua.CheckObject(L, 1, typeof(UnityEngine.Playables.PlayableDirector));
         UnityEngine.PropertyName arg0 = (UnityEngine.PropertyName)ToLua.CheckObject(L, 2, typeof(UnityEngine.PropertyName));
         UnityEngine.Object       arg1 = (UnityEngine.Object)ToLua.CheckUnityObject(L, 3, typeof(UnityEngine.Object));
         obj.SetReferenceValue(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 3
0
    static int SetReferenceValue(IntPtr L)
    {
        try
        {
            ToLua.CheckArgsCount(L, 3);
            UnityEngine.Playables.PlayableDirector obj = (UnityEngine.Playables.PlayableDirector)ToLua.CheckObject <UnityEngine.Playables.PlayableDirector>(L, 1);
            UnityEngine.PropertyName arg0 = StackTraits <UnityEngine.PropertyName> .Check(L, 2);

            UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.CheckObject <UnityEngine.Object>(L, 3);
            obj.SetReferenceValue(arg0, arg1);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }