22 lines
372 B
C#
22 lines
372 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
|
||
|
|
||
|
public class ChangeLanguageToEnglish : MonoBehaviour
|
||
|
{
|
||
|
|
||
|
|
||
|
public void SetLanguageToEnglish()
|
||
|
{
|
||
|
PlayerPrefs.SetString("language", "English");
|
||
|
}
|
||
|
|
||
|
public void SetLanguageToPolish()
|
||
|
{
|
||
|
PlayerPrefs.SetString("language", "Polish");
|
||
|
}
|
||
|
}
|
||
|
|