Esempio n. 1
0
            internal static _ApplyDamage ApplyDamage()
            {
                if (_ApplyDamageFunc == null)
                {
                    _ApplyDamageFunc =
                        (_ApplyDamage)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbLightning_applyDamage"), typeof(_ApplyDamage));
                }

                return(_ApplyDamageFunc);
            }
Esempio n. 2
0
            internal static _ApplyDamage ApplyDamage()
            {
                if (_ApplyDamageFunc == null)
                {
                    _ApplyDamageFunc =
                        (_ApplyDamage)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbLightning_applyDamage"), typeof(_ApplyDamage));
                }

                return(_ApplyDamageFunc);
            }