private void Update() { if (!gameTileManager) { gameTileManager = FindObjectOfType <GameTileManager>(); } }
private void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } }
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; }
void Awake() { instance = this; }