예제 #1
0
 /// <summary>Starts the grouping for following fields being added to be grouped into</summary>
 /// <description>
 ///
 /// </description>
 /// <param name="groupName">The name of this group</param>
 /// <param name="desc">The Description of this field</param>
 /// <param name="type">The DataType for this field (default, int, float, Point2F, bool, enum, Object, keybind, color)</param>
 /// <param name="defaultValue">The Default value for this field</param>
 /// <param name="userData">An extra data field that can be used for custom data on a per-field basis<br>Usage for default types<br>-enum: a TAB separated list of possible values<br>-object: the T2D object type that are valid choices for the field.  The object types observe inheritance, so if you have a t2dSceneObject field you will be able to choose t2dStaticSrpites, t2dAnimatedSprites, etc.</param>
 /// <returns>Nothing</returns>
 public void BeginGroup(string groupName)
 {
     InternalUnsafeMethods.BeginGroup__Args _args = new InternalUnsafeMethods.BeginGroup__Args()
     {
         groupName = groupName,
     };
     InternalUnsafeMethods.BeginGroup()(ObjectPtr, _args);
 }
예제 #2
0
 /// <description>
 /// settingObj.beginGroup(groupName, fromStart = false);
 /// </description>
 public void BeginGroup(string groupName, bool includeDefaults = false)
 {
     InternalUnsafeMethods.BeginGroup__Args _args = new InternalUnsafeMethods.BeginGroup__Args()
     {
         groupName       = groupName,
         includeDefaults = includeDefaults,
     };
     InternalUnsafeMethods.BeginGroup()(ObjectPtr, _args);
 }