1234567891011121314151617181920212223242526 |
- using System;
- using UnityEngine;
- using System.Collections;
- using UnityEngine.UI;
- public class SwitcherGameName : MonoBehaviour
- {
- public Image GameIslandic;
- public RawImage 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;
- }
- }
- }
|