예제 #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
파일: ItemMixture.cs 프로젝트: avidvid/OUP
 void Awake()
 {
     _itemMixture         = ItemMixture.Instance();
     _inv                 = InventoryHandler.Instance();
     _tooltip             = Tooltip.Instance();
     _characterManager    = CharacterManager.Instance();
     _messagePanelHandler = MessagePanelHandler.Instance();
 }
예제 #5
0
파일: ResearchSlot.cs 프로젝트: avidvid/OUP
 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();
 }