Exemplo n.º 1
0
            internal static _OnDestroyed OnDestroyed()
            {
                if (_OnDestroyedFunc == null)
                {
                    _OnDestroyedFunc =
                        (_OnDestroyed)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onDestroyed"), typeof(_OnDestroyed));
                }

                return(_OnDestroyedFunc);
            }
Exemplo n.º 2
0
            internal static _OnDestroyed OnDestroyed()
            {
                if (_OnDestroyedFunc == null)
                {
                    _OnDestroyedFunc =
                        (_OnDestroyed)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onDestroyed"), typeof(_OnDestroyed));
                }

                return(_OnDestroyedFunc);
            }