C# Class RadialMenuObject, RadialMenu-Unity

Inheritance: MonoBehaviour, IPointerDownHandler
ファイルを表示 Open project: XY01/RadialMenu-Unity Class Usage Examples

Public Properties

Property Type Description
m_BGCol Color
m_BGImages Image[]
m_FGCol Color
m_FGImages Image[]
m_FunctionToCall string
m_HLCol Color
m_HLImages Image[]
m_ObjectName string
m_ObjectToCall GameObject
m_Text Text
m_TextCol Color

Protected Properties

Property Type Description
m_RadMenu RadialMenu,

Public Methods

Method Description
CallFunction ( ) : void
Fade ( float fade ) : void
Init ( RadialMenu, radMenu, string name, GameObject objectToCall, string functionToCall ) : void
OnPointerDown ( PointerEventData eventData ) : void
SetPallette ( Color fgCol, Color bgCol, Color hlCol, Color textCol ) : void
UpdateCols ( ) : void

Protected Methods

Method Description
Disengage ( ) : void

Method Details

CallFunction() public method

public CallFunction ( ) : void
return void

Disengage() protected method

protected Disengage ( ) : void
return void

Fade() public method

public Fade ( float fade ) : void
fade float
return void

Init() public method

public Init ( RadialMenu, radMenu, string name, GameObject objectToCall, string functionToCall ) : void
radMenu RadialMenu,
name string
objectToCall GameObject
functionToCall string
return void

OnPointerDown() public method

public OnPointerDown ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

SetPallette() public method

public SetPallette ( Color fgCol, Color bgCol, Color hlCol, Color textCol ) : void
fgCol Color
bgCol Color
hlCol Color
textCol Color
return void

UpdateCols() public method

public UpdateCols ( ) : void
return void

Property Details

m_BGCol public_oe property

public Color m_BGCol
return Color

m_BGImages public_oe property

public Image[] m_BGImages
return Image[]

m_FGCol public_oe property

public Color m_FGCol
return Color

m_FGImages public_oe property

public Image[] m_FGImages
return Image[]

m_FunctionToCall public_oe property

public string m_FunctionToCall
return string

m_HLCol public_oe property

public Color m_HLCol
return Color

m_HLImages public_oe property

public Image[] m_HLImages
return Image[]

m_ObjectName public_oe property

public string m_ObjectName
return string

m_ObjectToCall public_oe property

public GameObject m_ObjectToCall
return GameObject

m_RadMenu protected_oe property

protected RadialMenu, m_RadMenu
return RadialMenu,

m_Text public_oe property

public Text m_Text
return Text

m_TextCol public_oe property

public Color m_TextCol
return Color