private void Start() { MapUIInfo = GetComponentInParent <MapUIInfo>(); MenuCursor_RectTransform = transform.Find("ActionMenuCursor").gameObject.GetComponent <RectTransform>(); actionMenuDisplay = GetComponent <UI_ActionMenuDisplay>(); weaponList = new List <Weapon>(); }
private void Start() { advancedInfoDisplay = GetComponentInChildren <UI_AdvancedInfoDisplay>(true); advancedInfoDisplay.Init(); advancedInfoDisplay.gameObject.SetActive(false); mapUIInfo = GetComponentInParent <MapUIInfo>(); cursor = GameObject.Find("Cursor").GetComponent <Cursor>(); }
private void Start() { mapUIInfo = GetComponentInParent <MapUIInfo>(); HealedHpBar = transform.Find("HealedHpBar").GetComponent <Image>(); CurrentHpBar = transform.Find("CurrentHpBar").GetComponent <Image>(); currentHPText = transform.Find("Text_CurrentHP").GetComponent <TextMeshProUGUI>(); healedHPText = transform.Find("Text_HealedHP").GetComponent <TextMeshProUGUI>(); }
private void Start() { tileInfoDisplay = transform.GetChild(0).GetComponent <UI_TileInfoDisplay>(); mapUIInfo = GetComponentInParent <MapUIInfo>(); cursor = GameObject.Find("Cursor").GetComponent <Cursor>(); }
void Start() { mapUIInfo = GetComponentInParent <MapUIInfo>(); healForecastDisplay = transform.GetChild(0).GetComponent <UI_HealForecastDisplay>(); cursor = GameObject.Find("Cursor").GetComponent <Cursor>(); }
void Start() { mapUIInfo = GetComponentInParent <MapUIInfo>(); battleForecastUI = transform.GetChild(0).gameObject; battleForecastDisplay = battleForecastUI.GetComponent <UI_BattleForecastDisplay>(); }
void Start() { unitInfoUI = transform.GetChild(0).gameObject; unitInfoDisplay = unitInfoUI.GetComponent <UI_UnitInfoDisplay>(); mapUIInfo = GetComponentInParent <MapUIInfo>(); }