internal static _OnRemove OnRemove()
            {
                if (_OnRemoveFunc == null)
                {
                    _OnRemoveFunc =
                        (_OnRemove)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGameBaseData_onRemove"), typeof(_OnRemove));
                }

                return(_OnRemoveFunc);
            }
Beispiel #2
0
            internal static _OnRemove OnRemove()
            {
                if (_OnRemoveFunc == null)
                {
                    _OnRemoveFunc =
                        (_OnRemove)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbScriptMsgListener_onRemove"), typeof(_OnRemove));
                }

                return(_OnRemoveFunc);
            }