Exemplo n.º 1
0
 private void Start()
 {
     MapUIInfo = GetComponentInParent <MapUIInfo>();
     MenuCursor_RectTransform = transform.Find("ActionMenuCursor").gameObject.GetComponent <RectTransform>();
     actionMenuDisplay        = GetComponent <UI_ActionMenuDisplay>();
     weaponList = new List <Weapon>();
 }
Exemplo n.º 2
0
 private void Start()
 {
     advancedInfoDisplay = GetComponentInChildren <UI_AdvancedInfoDisplay>(true);
     advancedInfoDisplay.Init();
     advancedInfoDisplay.gameObject.SetActive(false);
     mapUIInfo = GetComponentInParent <MapUIInfo>();
     cursor    = GameObject.Find("Cursor").GetComponent <Cursor>();
 }
Exemplo n.º 3
0
    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>();
    }
Exemplo n.º 4
0
 private void Start()
 {
     tileInfoDisplay = transform.GetChild(0).GetComponent <UI_TileInfoDisplay>();
     mapUIInfo       = GetComponentInParent <MapUIInfo>();
     cursor          = GameObject.Find("Cursor").GetComponent <Cursor>();
 }
Exemplo n.º 5
0
 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>();
 }