예제 #1
0
            internal static _ExecScript ExecScript()
            {
                if (_ExecScriptFunc == null)
                {
                    _ExecScriptFunc =
                        (_ExecScript)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnScriptAsset_execScript"), typeof(_ExecScript));
                }

                return(_ExecScriptFunc);
            }
예제 #2
0
            internal static _ExecScript ExecScript()
            {
                if (_ExecScriptFunc == null)
                {
                    _ExecScriptFunc =
                        (_ExecScript)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnScriptAsset_execScript"), typeof(_ExecScript));
                }

                return(_ExecScriptFunc);
            }