C# Class ForgeEditorDisplayButton

Show file Open project: drakelinglabs/unityarmada

Protected Properties

Property Type Description
_activeTex UnityEngine.Texture2D
_buttonContent GUIContent
_buttonDown UnityEngine.Texture2D
_buttonHeight int
_buttonIcon UnityEngine.Texture2D
_buttonRect Rect
_buttonStyle GUIStyle
_buttonText string
_buttonTitle string
_buttonUp UnityEngine.Texture2D
_prevTex UnityEngine.Texture2D
_submitButtonAction System.Action
_submitButtonHeight int
_submitButtonTitle string
_submitButtonVisibile bool
_submitButtonWidth int
_submitCallback System.Action

Public Methods

Method Description
ForgeEditorDisplayButton ( ForgeButtonStyle, buttonStyle, ForgeSubmitButtonStyle, submitStyle = null ) : BeardedManStudios.Network
Update ( Event windowEvent, GUIStyle fontStyle, Editor window, int width, int height ) : void
UpdateBits ( ushort position, ushort scale, ushort rotation ) : void

Method Details

ForgeEditorDisplayButton() public method

public ForgeEditorDisplayButton ( ForgeButtonStyle, buttonStyle, ForgeSubmitButtonStyle, submitStyle = null ) : BeardedManStudios.Network
buttonStyle ForgeButtonStyle,
submitStyle ForgeSubmitButtonStyle,
return BeardedManStudios.Network

Update() public method

public Update ( Event windowEvent, GUIStyle fontStyle, Editor window, int width, int height ) : void
windowEvent Event
fontStyle GUIStyle
window Editor
width int
height int
return void

UpdateBits() public method

public UpdateBits ( ushort position, ushort scale, ushort rotation ) : void
position ushort
scale ushort
rotation ushort
return void

Property Details

_activeTex protected property

protected Texture2D,UnityEngine _activeTex
return UnityEngine.Texture2D

_buttonContent protected property

protected GUIContent _buttonContent
return GUIContent

_buttonDown protected property

protected Texture2D,UnityEngine _buttonDown
return UnityEngine.Texture2D

_buttonHeight protected property

protected int _buttonHeight
return int

_buttonIcon protected property

protected Texture2D,UnityEngine _buttonIcon
return UnityEngine.Texture2D

_buttonRect protected property

protected Rect _buttonRect
return Rect

_buttonStyle protected property

protected GUIStyle _buttonStyle
return GUIStyle

_buttonText protected property

protected string _buttonText
return string

_buttonTitle protected property

protected string _buttonTitle
return string

_buttonUp protected property

protected Texture2D,UnityEngine _buttonUp
return UnityEngine.Texture2D

_prevTex protected property

protected Texture2D,UnityEngine _prevTex
return UnityEngine.Texture2D

_submitButtonAction protected property

protected Action,System _submitButtonAction
return System.Action

_submitButtonHeight protected property

protected int _submitButtonHeight
return int

_submitButtonTitle protected property

protected string _submitButtonTitle
return string

_submitButtonVisibile protected property

protected bool _submitButtonVisibile
return bool

_submitButtonWidth protected property

protected int _submitButtonWidth
return int

_submitCallback protected property

protected Action,System _submitCallback
return System.Action