Ejemplo n.º 1
0
 private void Update()
 {
     if (!gameTileManager)
     {
         gameTileManager = FindObjectOfType <GameTileManager>();
     }
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else if (instance != this)
     {
         Destroy(gameObject);
     }
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     gameTileManager     = setTileManager;
     character           = setCharacter;
     inventoryManager    = setInventoryManager;
     hotbarManager       = setHotbarManager;
     cropsTileManager    = setCropsTileManager;
     dateManager         = setDateManager;
     questManager        = setQuestManager;
     relationshipManager = setRelationshipManager;
     skillsManager       = setSkillsManager;
     dialogueManager     = setDialogueManager;
     explorationManager  = setExplorationManager;
 }
Ejemplo n.º 4
0
 void Awake()
 {
     instance = this;
 }