Beispiel #1
0
 // caching
 private void Awake()
 {
     mainCursorImage  = GetComponent <Image>();
     graphicRaycaster = GetComponentInParent <GraphicRaycaster>();
     playerInput      = FindObjectOfType <PlayerInput>();
     menuUIControl    = FindObjectOfType <MenuUIControl>();
     menuRotation     = FindObjectOfType <MenuRotation>();
 }
Beispiel #2
0
 private void Awake()
 {
     menuUIControl = GetComponentInParent <MenuUIControl>();
 }