Skip to content

YaGameConfigComponent

YaGameConfigComponentmanages game configuration.

Properties

ViewControlMode ViewControlMode

CLIENT ONLY 
View control mode.

Code sample

Example code

1
2
3
-- get view control mode
local mode = YaGameConfigComponent.Instance.ViewControlMode
print(">>>>>>>> view control mode", mode)