Exemplo n.º 1
0
            internal static _OnEnabled OnEnabled()
            {
                if (_OnEnabledFunc == null)
                {
                    _OnEnabledFunc =
                        (_OnEnabled)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onEnabled"), typeof(_OnEnabled));
                }

                return(_OnEnabledFunc);
            }
Exemplo n.º 2
0
            internal static _OnEnabled OnEnabled()
            {
                if (_OnEnabledFunc == null)
                {
                    _OnEnabledFunc =
                        (_OnEnabled)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbPostEffect_onEnabled"), typeof(_OnEnabled));
                }

                return(_OnEnabledFunc);
            }