Beispiel #1
0
            internal static _GetState GetState()
            {
                if (_GetStateFunc == null)
                {
                    _GetStateFunc =
                        (_GetState)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getState"), typeof(_GetState));
                }

                return(_GetStateFunc);
            }
Beispiel #2
0
            internal static _GetState GetState()
            {
                if (_GetStateFunc == null)
                {
                    _GetStateFunc =
                        (_GetState)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getState"), typeof(_GetState));
                }

                return(_GetStateFunc);
            }