Inheritance: 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);
 }