pyunity.gui module¶
-
class
pyunity.gui.
Canvas
(transform, is_dummy=False)[source]¶ Bases:
pyunity.core.Component
-
class
pyunity.gui.
RectAnchors
(min_or_both=None, max=None)[source]¶ Bases:
pyunity.gui.RectData
-
class
pyunity.gui.
RectOffset
(min_or_both=None, max=None)[source]¶ Bases:
pyunity.gui.RectData
-
class
pyunity.gui.
RectTransform
(transform)[source]¶ Bases:
pyunity.core.SingleComponent
-
class
pyunity.gui.
GuiComponent
(transform, is_dummy=False)[source]¶ Bases:
pyunity.core.Component
-
class
pyunity.gui.
NoResponseGuiComponent
(transform, is_dummy=False)[source]¶ Bases:
pyunity.gui.GuiComponent
-
class
pyunity.gui.
Button
(transform, is_dummy=False)[source]¶ Bases:
pyunity.gui.GuiComponent
-
callback
()¶
-
state
= 1¶
-
mouseButton
= 1¶
-
-
pyunity.gui.
FontLoader
¶ alias of
pyunity.gui.UnixFontLoader
-
class
pyunity.gui.
TextAlign
[source]¶ Bases:
enum.IntEnum
An enumeration.
-
Left
= 1¶
-
Center
= 2¶
-
Right
= 3¶
-
-
class
pyunity.gui.
Text
(transform)[source]¶ Bases:
pyunity.gui.NoResponseGuiComponent
-
centeredX
= 1¶
-
centeredY
= 2¶
-
-
class
pyunity.gui.
CheckBox
(transform, is_dummy=False)[source]¶ Bases:
pyunity.gui.GuiComponent