12345678910111213141516171819202122232425 |
- using System;
- using UnityEngine;
- using System.Collections;
- public class SwitcherGameName : MonoBehaviour
- {
- public UISprite GameIslandic;
- public UITexture GameEnglish;
-
- void Start()
- {
- switch(MenuManager._instance.CurStateGameState)
- {
- case MenuManager.StateGameProduction.DurexLifja:
- GameIslandic.enabled = true;
- GameEnglish.enabled = false;
- break;
- case MenuManager.StateGameProduction.None:
- GameIslandic.enabled = false;
- GameEnglish.enabled = true;
- break;
- }
- }
- }
|