示例#1
0
            internal static _UpdateActiveForest UpdateActiveForest()
            {
                if (_UpdateActiveForestFunc == null)
                {
                    _UpdateActiveForestFunc =
                        (_UpdateActiveForest)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_updateActiveForest"), typeof(_UpdateActiveForest));
                }

                return(_UpdateActiveForestFunc);
            }
示例#2
0
            internal static _UpdateActiveForest UpdateActiveForest()
            {
                if (_UpdateActiveForestFunc == null)
                {
                    _UpdateActiveForestFunc =
                        (_UpdateActiveForest)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_updateActiveForest"), typeof(_UpdateActiveForest));
                }

                return(_UpdateActiveForestFunc);
            }