Exemplo n.º 1
0
            internal static _Init Init()
            {
                if (_InitFunc == null)
                {
                    _InitFunc =
                        (_Init)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnDebris_init"), typeof(_Init));
                }

                return(_InitFunc);
            }
Exemplo n.º 2
0
            internal static _Init Init()
            {
                if (_InitFunc == null)
                {
                    _InitFunc =
                        (_Init)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnDebris_init"), typeof(_Init));
                }

                return(_InitFunc);
            }
Exemplo n.º 3
0
 static internal void SetAll(ref _Init st, int idx, string[] rec)
 {
     st.Name = rec [0] [0];
     _Recons.SetAll(ref st.Recons, rec.Slice(1));
 }
Exemplo n.º 4
0
 internal static void SetAll(ref _Init st, int idx, string[] rec)
 {
     st.Name = rec [0] [0];
     _Recons.SetAll (ref st.Recons, rec.Slice (1));
 }