//Awake is called before Start() void Awake() { //Get a component reference to ShowPanels attached to this object, store in showPanels variable displayPanel = GetComponent <UI_Menu_Manager>(); }
void Start() { UImm = uiMenu.GetComponent <UI_Menu_Manager>(); allContollers = XboxController.All; }