private void Awake() { if (Instance != null) { Debug.LogError("More than one instance of SkillsPanel found!"); return; } Instance = this; }
/// <summary> /// Sets references to components that will display information about a partyMember /// </summary> public void SetExternalDisplayComponents() { eventDescription = EventManager.instance.eventDescription; actionsPanel = EventManager.instance.actionsPanel; partyPanel = EventManager.instance.partyPanel; gearPanel = EventManager.instance.gearPanel; candlesPanel = EventManager.instance.candlesPanel; statusPanel = EventManager.instance.statusPanel; skillsPanel = EventManager.instance.skillsPanel; utilityTabManager = EventManager.instance.utilityTabManager; }