コード例 #1
0
    static int QPYX_get_sortMode_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.ParticleSystemRenderer QPYX_obj_YXQP = (UnityEngine.ParticleSystemRenderer)QPYX_o_YXQP;
            UnityEngine.ParticleSystemSortMode QPYX_ret_YXQP = QPYX_obj_YXQP.sortMode;
            ToLua.Push(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index sortMode on a nil value"));
        }
    }
コード例 #2
0
    static int QPYX_set_sortMode_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.ParticleSystemRenderer QPYX_obj_YXQP = (UnityEngine.ParticleSystemRenderer)QPYX_o_YXQP;
            UnityEngine.ParticleSystemSortMode QPYX_arg0_YXQP = (UnityEngine.ParticleSystemSortMode)ToLua.CheckObject(L_YXQP, 2, typeof(UnityEngine.ParticleSystemSortMode));
            QPYX_obj_YXQP.sortMode = QPYX_arg0_YXQP;
            return(0);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index sortMode on a nil value"));
        }
    }
    static int set_sortMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.ParticleSystemRenderer obj  = (UnityEngine.ParticleSystemRenderer)o;
            UnityEngine.ParticleSystemSortMode arg0 = (UnityEngine.ParticleSystemSortMode)ToLua.CheckObject(L, 2, typeof(UnityEngine.ParticleSystemSortMode));
            obj.sortMode = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sortMode on a nil value"));
        }
    }
    static int get_sortMode(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.ParticleSystemRenderer obj = (UnityEngine.ParticleSystemRenderer)o;
            UnityEngine.ParticleSystemSortMode ret = obj.sortMode;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index sortMode on a nil value"));
        }
    }
コード例 #5
0
        static StackObject *set_sortMode_15(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, 2);

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

            instance_of_this_method.sortMode = value;

            return(__ret);
        }