Пример #1
0
 private void Start()
 {
     SM = GameObject.FindObjectOfType <SelectionManager>();
 }
Пример #2
0
 void Start()
 {
     Cursor.lockState = CursorLockMode.Locked;
     Cursor.visible   = false;
     sm = GameObject.FindObjectOfType <SelectionManager>();
 }
Пример #3
0
 private void Awake()
 {
     Cursor.visible = true;
     SM             = GameObject.FindObjectOfType <SelectionManager>();
 }