GUIToggleGroup.cs 652 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. namespace BansheeEngine
  4. {
  5. /// <summary>
  6. /// Object that allows you to group multiple GUI toggle buttons. Only one button among the grouped ones can be active.
  7. /// </summary>
  8. public sealed class GUIToggleGroup : ScriptObject
  9. {
  10. /// <summary>
  11. /// Creates a new toggle group.
  12. /// </summary>
  13. public GUIToggleGroup()
  14. {
  15. Internal_CreateInstance(this);
  16. }
  17. [MethodImpl(MethodImplOptions.InternalCall)]
  18. private static extern void Internal_CreateInstance(GUIToggleGroup instance);
  19. }
  20. }