Beispiel #1
0
            internal static _OnLaunch OnLaunch()
            {
                if (_OnLaunchFunc == null)
                {
                    _OnLaunchFunc =
                        (_OnLaunch)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbafxMagicSpellData_onLaunch"), typeof(_OnLaunch));
                }

                return(_OnLaunchFunc);
            }
Beispiel #2
0
            internal static _OnLaunch OnLaunch()
            {
                if (_OnLaunchFunc == null)
                {
                    _OnLaunchFunc =
                        (_OnLaunch)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbafxMagicSpellData_onLaunch"), typeof(_OnLaunch));
                }

                return(_OnLaunchFunc);
            }