예제 #1
0
            internal static _OnNavMeshUpdateBox OnNavMeshUpdateBox()
            {
                if (_OnNavMeshUpdateBoxFunc == null)
                {
                    _OnNavMeshUpdateBoxFunc =
                        (_OnNavMeshUpdateBox)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_onNavMeshUpdateBox"), typeof(_OnNavMeshUpdateBox));
                }

                return(_OnNavMeshUpdateBoxFunc);
            }
예제 #2
0
            internal static _OnNavMeshUpdateBox OnNavMeshUpdateBox()
            {
                if (_OnNavMeshUpdateBoxFunc == null)
                {
                    _OnNavMeshUpdateBoxFunc =
                        (_OnNavMeshUpdateBox)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_onNavMeshUpdateBox"), typeof(_OnNavMeshUpdateBox));
                }

                return(_OnNavMeshUpdateBoxFunc);
            }