コード例 #1
0
ファイル: Component.cs プロジェクト: lukaspj/T3D-CSharp-Tools
            internal static void beginGroup(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_beginGroupFunc == null)
                {
                    _beginGroupFunc =
                        (_beginGroup)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                "fn_Component_beginGroup"), typeof(_beginGroup));
                }

                _beginGroupFunc(thisPtr, argc, argv);
            }
コード例 #2
0
            internal static void beginGroup(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string groupName, bool includeDefaults)
            {
                if (_beginGroupFunc == null)
                {
                    _beginGroupFunc =
                        (_beginGroup)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                                "fn_Settings_beginGroup"), typeof(_beginGroup));
                }

                _beginGroupFunc(thisPtr, groupName, includeDefaults);
            }