C# Класс MBGUI, Pharos

GUI helper class to get a consistent layout
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
HasChanged bool
_DefaultWidth int

Открытые методы

Метод Описание
DoButton ( GUIContent content, bool enabled, bool expand ) : bool
DoButton ( string text, string tooltip, bool enabled ) : bool
DoColorField ( string text, string tooltip, Color value ) : Color
DoCurve ( string text, string tooltip, AnimationCurve curve, float init0, float init1 ) : AnimationCurve
DoEditorEvent ( string text, string tooltip, MBSendMessageTarget, smEvent ) : MBSendMessageTarget,
DoEnumField ( string text, string tooltip, System value ) : Enum
DoFloatField ( string text, string tooltip, float value ) : float
DoFloatField ( string text, string tooltip, float value, bool round ) : float
DoFloatFieldSmall ( GUIContent content, float value, bool round ) : float
DoFloatFieldSmall ( string text, string tooltip, float value ) : float
DoFloatSlider ( string text, string tooltip, float value, float min, float max ) : float
DoFloatSliderSmall ( GUIContent content, float value, float min, float max ) : float
DoHeader ( string caption ) : void
DoIntField ( string text, string tooltip, int value ) : int
DoIntFieldSmall ( string text, string tooltip, int value ) : int
DoLabel ( GUIContent content ) : void
DoLabel ( string text ) : void
DoLabel ( string text, int width, bool bold ) : void
DoLabelButton ( GUIContent content, bool enabled ) : bool
DoLabelButton ( GUIContent content, int width, bool enabled ) : bool
DoLayerMask ( string text, string tooltip, LayerMask mask ) : LayerMask
DoMinMax ( string text, string tooltip, float &minValue, float &maxValue, float min, float max ) : void
DoObjectField ( string text, string tooltip, Object obj, System objtype ) : Object
DoTextField ( string text, string tooltip, string value ) : string
DoToggle ( Texture tex, string tooltip, bool value, bool &hasChanged ) : bool
DoToggle ( string text, string tooltip, bool value ) : bool
DoToggle ( string text, string tooltip, bool value, bool &hasChanged ) : bool
DoToggleButton ( GUIContent content, bool value ) : bool
DoVector2Field ( string text, Vector2 value ) : Vector2
DoVector3Array ( string text, Vector3 points, bool isPolygon, bool &folderopen ) : Vector3[]
DoVector3Field ( string text, Vector3 value ) : Vector3
LimitCurveValue ( AnimationCurve &curve, float min, float max ) : void

Описание методов

DoButton() публичный статический Метод

public static DoButton ( GUIContent content, bool enabled, bool expand ) : bool
content GUIContent
enabled bool
expand bool
Результат bool

DoButton() публичный статический Метод

public static DoButton ( string text, string tooltip, bool enabled ) : bool
text string
tooltip string
enabled bool
Результат bool

DoColorField() публичный статический Метод

public static DoColorField ( string text, string tooltip, Color value ) : Color
text string
tooltip string
value Color
Результат Color

DoCurve() публичный статический Метод

public static DoCurve ( string text, string tooltip, AnimationCurve curve, float init0, float init1 ) : AnimationCurve
text string
tooltip string
curve UnityEngine.AnimationCurve
init0 float
init1 float
Результат UnityEngine.AnimationCurve

DoEditorEvent() публичный статический Метод

public static DoEditorEvent ( string text, string tooltip, MBSendMessageTarget, smEvent ) : MBSendMessageTarget,
text string
tooltip string
smEvent MBSendMessageTarget,
Результат MBSendMessageTarget,

DoEnumField() публичный статический Метод

public static DoEnumField ( string text, string tooltip, System value ) : Enum
text string
tooltip string
value System
Результат System.Enum

DoFloatField() публичный статический Метод

public static DoFloatField ( string text, string tooltip, float value ) : float
text string
tooltip string
value float
Результат float

DoFloatField() публичный статический Метод

public static DoFloatField ( string text, string tooltip, float value, bool round ) : float
text string
tooltip string
value float
round bool
Результат float

DoFloatFieldSmall() публичный статический Метод

public static DoFloatFieldSmall ( GUIContent content, float value, bool round ) : float
content GUIContent
value float
round bool
Результат float

DoFloatFieldSmall() публичный статический Метод

public static DoFloatFieldSmall ( string text, string tooltip, float value ) : float
text string
tooltip string
value float
Результат float

DoFloatSlider() публичный статический Метод

public static DoFloatSlider ( string text, string tooltip, float value, float min, float max ) : float
text string
tooltip string
value float
min float
max float
Результат float

DoFloatSliderSmall() публичный статический Метод

public static DoFloatSliderSmall ( GUIContent content, float value, float min, float max ) : float
content GUIContent
value float
min float
max float
Результат float

DoHeader() публичный статический Метод

public static DoHeader ( string caption ) : void
caption string
Результат void

DoIntField() публичный статический Метод

public static DoIntField ( string text, string tooltip, int value ) : int
text string
tooltip string
value int
Результат int

DoIntFieldSmall() публичный статический Метод

public static DoIntFieldSmall ( string text, string tooltip, int value ) : int
text string
tooltip string
value int
Результат int

DoLabel() публичный статический Метод

public static DoLabel ( GUIContent content ) : void
content GUIContent
Результат void

DoLabel() публичный статический Метод

public static DoLabel ( string text ) : void
text string
Результат void

DoLabel() публичный статический Метод

public static DoLabel ( string text, int width, bool bold ) : void
text string
width int
bold bool
Результат void

DoLabelButton() публичный статический Метод

public static DoLabelButton ( GUIContent content, bool enabled ) : bool
content GUIContent
enabled bool
Результат bool

DoLabelButton() публичный статический Метод

public static DoLabelButton ( GUIContent content, int width, bool enabled ) : bool
content GUIContent
width int
enabled bool
Результат bool

DoLayerMask() публичный статический Метод

public static DoLayerMask ( string text, string tooltip, LayerMask mask ) : LayerMask
text string
tooltip string
mask LayerMask
Результат LayerMask

DoMinMax() публичный статический Метод

public static DoMinMax ( string text, string tooltip, float &minValue, float &maxValue, float min, float max ) : void
text string
tooltip string
minValue float
maxValue float
min float
max float
Результат void

DoObjectField() публичный статический Метод

public static DoObjectField ( string text, string tooltip, Object obj, System objtype ) : Object
text string
tooltip string
obj Object
objtype System
Результат Object

DoTextField() публичный статический Метод

public static DoTextField ( string text, string tooltip, string value ) : string
text string
tooltip string
value string
Результат string

DoToggle() публичный статический Метод

public static DoToggle ( Texture tex, string tooltip, bool value, bool &hasChanged ) : bool
tex Texture
tooltip string
value bool
hasChanged bool
Результат bool

DoToggle() публичный статический Метод

public static DoToggle ( string text, string tooltip, bool value ) : bool
text string
tooltip string
value bool
Результат bool

DoToggle() публичный статический Метод

public static DoToggle ( string text, string tooltip, bool value, bool &hasChanged ) : bool
text string
tooltip string
value bool
hasChanged bool
Результат bool

DoToggleButton() публичный статический Метод

public static DoToggleButton ( GUIContent content, bool value ) : bool
content GUIContent
value bool
Результат bool

DoVector2Field() публичный статический Метод

public static DoVector2Field ( string text, Vector2 value ) : Vector2
text string
value Vector2
Результат Vector2

DoVector3Array() публичный статический Метод

public static DoVector3Array ( string text, Vector3 points, bool isPolygon, bool &folderopen ) : Vector3[]
text string
points Vector3
isPolygon bool
folderopen bool
Результат Vector3[]

DoVector3Field() публичный статический Метод

public static DoVector3Field ( string text, Vector3 value ) : Vector3
text string
value Vector3
Результат Vector3

LimitCurveValue() публичный статический Метод

public static LimitCurveValue ( AnimationCurve &curve, float min, float max ) : void
curve UnityEngine.AnimationCurve
min float
max float
Результат void

Описание свойств

HasChanged публичное статическое свойство

public static bool HasChanged
Результат bool

_DefaultWidth публичное статическое свойство

public static int _DefaultWidth
Результат int