static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *__ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new UnityEngine.BillboardRenderer();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Exemplo n.º 2
0
 protected override void GetDependencies(System.Collections.Generic.Dictionary <long, UnityEngine.Object> dependencies, object obj)
 {
     base.GetDependencies(dependencies, obj);
     if (obj == null)
     {
         return;
     }
     UnityEngine.BillboardRenderer o = (UnityEngine.BillboardRenderer)obj;
     AddDependency(o.billboard, dependencies);
 }
Exemplo n.º 3
0
 public override void ReadFrom(object obj)
 {
     base.ReadFrom(obj);
     if (obj == null)
     {
         return;
     }
     UnityEngine.BillboardRenderer o = (UnityEngine.BillboardRenderer)obj;
     billboard = o.billboard.GetMappedInstanceID();
 }
Exemplo n.º 4
0
 public override object WriteTo(object obj, System.Collections.Generic.Dictionary <long, UnityEngine.Object> objects)
 {
     obj = base.WriteTo(obj, objects);
     if (obj == null)
     {
         return(null);
     }
     UnityEngine.BillboardRenderer o = (UnityEngine.BillboardRenderer)obj;
     o.billboard = (UnityEngine.BillboardAsset)objects.Get(billboard);
     return(o);
 }
        static int _s_set_billboard(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.BillboardRenderer gen_to_be_invoked = (UnityEngine.BillboardRenderer)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.billboard = (UnityEngine.BillboardAsset)translator.GetObject(L, 2, typeof(UnityEngine.BillboardAsset));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Exemplo n.º 6
0
        static int _g_get_billboard(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                UnityEngine.BillboardRenderer __cl_gen_to_be_invoked = (UnityEngine.BillboardRenderer)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.billboard);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Exemplo n.º 7
0
        static StackObject *get_billboard_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.BillboardRenderer instance_of_this_method = (UnityEngine.BillboardRenderer) typeof(UnityEngine.BillboardRenderer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.billboard;

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityEngine.BillboardRenderer gen_ret = new UnityEngine.BillboardRenderer();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.BillboardRenderer constructor!"));
        }