示例#1
0
 void Awake()
 {
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
     _menuCharacter       = GameObject.Find("MenuCharacter");
     _menuUser            = GameObject.Find("MenuUser");
 }
示例#2
0
 void Awake()
 {
     //For each research in db we need an object in the game and line correctly named by id
     _messagePanelHandler = MessagePanelHandler.Instance();
     _characterManager    = CharacterManager.Instance();
     _contentPanel        = GameObject.Find("ContentPanel");
 }
示例#3
0
 void Awake()
 {
     _itemDatabase        = ItemDatabase.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
     _characterManager    = CharacterManager.Instance();
     _inventoryManager    = InventoryManager.Instance();
     _contentPanel        = GameObject.Find("ContentPanel");
 }
示例#4
0
 void Awake()
 {
     _itemMixture         = ItemMixture.Instance();
     _inv                 = InventoryHandler.Instance();
     _tooltip             = Tooltip.Instance();
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
示例#5
0
 void Awake()
 {
     _researchingSlot     = ResearchSlot.Instance();
     _tooltip             = Tooltip.Instance();
     _GUIManager          = GUIManager.Instance();
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
示例#6
0
    // Use this for initialization
    void Start()
    {
        _characterManager    = CharacterManager.Instance();
        _messagePanelHandler = MessagePanelHandler.Instance();

        _startButton = GameObject.Find("ButtonStart").GetComponent <Button>();
        _startButton.interactable = false;
        _startText = GameObject.Find("ButtonStart").GetComponentInChildren <TextMeshProUGUI>();

        _buyButton = GameObject.Find("ButtonBuyStart");
        _buyText   = _buyButton.GetComponentInChildren <TextMeshProUGUI>();

        _storeButton = GameObject.Find("ButtonStore");
        _storeButton.SetActive(false);
    }
示例#7
0
 void Start()
 {
     _inv                 = InventoryHandler.Instance();
     _itemMixture         = ItemMixture.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
示例#8
0
 void Awake()
 {
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
     _userDatabase        = UserDatabase.Instance();
 }
示例#9
0
 void Awake()
 {
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
示例#10
0
 void Start()
 {
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
示例#11
0
文件: SlotDelete.cs 项目: avidvid/OUP
 void Start()
 {
     _messagePanelHandler = MessagePanelHandler.Instance();
     _characterManager    = CharacterManager.Instance();
     _inv = InventoryHandler.Instance();
 }