Beispiel #1
0
            internal static _OnDamage OnDamage()
            {
                if (_OnDamageFunc == null)
                {
                    _OnDamageFunc =
                        (_OnDamage)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onDamage"), typeof(_OnDamage));
                }

                return(_OnDamageFunc);
            }
Beispiel #2
0
            internal static _OnDamage OnDamage()
            {
                if (_OnDamageFunc == null)
                {
                    _OnDamageFunc =
                        (_OnDamage)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbShapeBaseData_onDamage"), typeof(_OnDamage));
                }

                return(_OnDamageFunc);
            }