예제 #1
0
            internal static _OnNavMeshUpdate OnNavMeshUpdate()
            {
                if (_OnNavMeshUpdateFunc == null)
                {
                    _OnNavMeshUpdateFunc =
                        (_OnNavMeshUpdate)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_onNavMeshUpdate"), typeof(_OnNavMeshUpdate));
                }

                return(_OnNavMeshUpdateFunc);
            }
예제 #2
0
            internal static _OnNavMeshUpdate OnNavMeshUpdate()
            {
                if (_OnNavMeshUpdateFunc == null)
                {
                    _OnNavMeshUpdateFunc =
                        (_OnNavMeshUpdate)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_onNavMeshUpdate"), typeof(_OnNavMeshUpdate));
                }

                return(_OnNavMeshUpdateFunc);
            }