예제 #1
0
            internal static _GetType GetType()
            {
                if (_GetTypeFunc == null)
                {
                    _GetTypeFunc =
                        (_GetType)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnMessage_getType"), typeof(_GetType));
                }

                return(_GetTypeFunc);
            }
예제 #2
0
            internal static _GetType GetType()
            {
                if (_GetTypeFunc == null)
                {
                    _GetTypeFunc =
                        (_GetType)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEngineObject_getType"), typeof(_GetType));
                }

                return(_GetTypeFunc);
            }