Наследование: MonoBehaviour
Пример #1
0
 void Awake()
 {
     ui_events  = Core.instance.UIEvents;
     chargeText = GetComponent <Text>();
     fontSize   = chargeText.fontSize;
     slider     = transform.Find("Slider").GetComponent <Slider>();
 }
Пример #2
0
    void Awake()
    {
        text = GetComponent <Text>();
        //questManager = Core.instance.QuestManager;
        events = Core.instance.UIEvents;

        player = Core.instance.GetPlayer();
    }
Пример #3
0
 void Start()
 {
     ui_Events = Core.instance.UIEvents;
     ui_Events.Finisher_Changed.Subscribe(OnFinisherChanged);
     text = GetComponent <Text>();
 }
Пример #4
0
 public QuestManager(UI_Events events)
 {
     UIEvents = events;
 }
 private void UpdateData()
 {
     gameSaveManagerInstance.SaveGame(soItemTextue);
     gameSaveManagerInstance.SaveGame(soPlayerStats);
     UI_Events.UpdateStoreItems();
 }
Пример #6
0
 void Start()
 {
     text      = GetComponent <Text>();
     ui_Events = Core.instance.UIEvents;
     ui_Events.Combo_Changed.Subscribe(UpdateComboInputFeed);
 }