C# Class PlayerCanvasHooks, SOFTENG-306-PROJECT-2

Player interface callbacks
Inheritance: MonoBehaviour
ファイルを表示 Open project: gdsl/SOFTENG-306-PROJECT-2

Public Properties

Property Type Description
OnColorChangeHook CanvasHook
OnReadyHook CanvasHook
OnRemoveHook CanvasHook
colorButton Button
nameText Text
panelPos UnityEngine.RectTransform
playButton Button
readyText Text
removeButton Button

Public Methods

Method Description
Awake ( ) : void
SetColor ( Color color ) : void
SetLocalPlayer ( ) : void
SetReady ( bool ready ) : void
UIColorChange ( ) : void
UIReady ( ) : void
UIRemove ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

SetColor() public method

public SetColor ( Color color ) : void
color Color
return void

SetLocalPlayer() public method

public SetLocalPlayer ( ) : void
return void

SetReady() public method

public SetReady ( bool ready ) : void
ready bool
return void

UIColorChange() public method

public UIColorChange ( ) : void
return void

UIReady() public method

public UIReady ( ) : void
return void

UIRemove() public method

public UIRemove ( ) : void
return void

Property Details

OnColorChangeHook public_oe property

public CanvasHook OnColorChangeHook
return CanvasHook

OnReadyHook public_oe property

public CanvasHook OnReadyHook
return CanvasHook

OnRemoveHook public_oe property

public CanvasHook OnRemoveHook
return CanvasHook

colorButton public_oe property

public Button colorButton
return Button

nameText public_oe property

public Text nameText
return Text

panelPos public_oe property

public RectTransform,UnityEngine panelPos
return UnityEngine.RectTransform

playButton public_oe property

public Button playButton
return Button

readyText public_oe property

public Text readyText
return Text

removeButton public_oe property

public Button removeButton
return Button