예제 #1
0
            internal static _OnDisabled OnDisabled()
            {
                if (_OnDisabledFunc == null)
                {
                    _OnDisabledFunc =
                        (_OnDisabled)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onDisabled"), typeof(_OnDisabled));
                }

                return(_OnDisabledFunc);
            }
예제 #2
0
            internal static _OnDisabled OnDisabled()
            {
                if (_OnDisabledFunc == null)
                {
                    _OnDisabledFunc =
                        (_OnDisabled)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbPostEffect_onDisabled"), typeof(_OnDisabled));
                }

                return(_OnDisabledFunc);
            }