public void ChangeAvatar() { if (path.text != "") { GUIPlanetOperations.SetAvatar(path.text, "Admiral_Avatar", Avatar); } }
public void SetAllianceAvatar() { if (HasAlly() && AllianceDataInput[2].text != "") { GUIPlanetOperations.SetAvatar(AllianceDataInput[2].text, "Alliance_Avatar", Avatar); } }
private void Start() { stats = GameObject.Find("Scripts").GetComponent <statystyki>(); GUIOverview = GameObject.Find("Interface").GetComponent <GUIOverview>(); GUIPlanetOperations = GameObject.Find("Interface").GetComponent <GUIPlanetOperations>(); path.text = stats.Get_String_Data_From("Admiral_Avatar"); GUIPlanetOperations.SetAvatar(path.text, "Admiral_Avatar", Avatar); }
private void Start() { stats = GameObject.Find("Scripts").GetComponent <statystyki>(); GUIOverview = GameObject.Find("Interface").GetComponent <GUIOverview>(); GUIPlanetOperations = GameObject.Find("Interface").GetComponent <GUIPlanetOperations>(); AllianceDataInput[2].text = stats.Get_String_Data_From("Alliance_Avatar"); GUIPlanetOperations.SetAvatar(AllianceDataInput[2].text, "Alliance_Avatar", Avatar); GetAllianceData(); }