private void OnEnable() { contact = ContactListPage.GetComponent <contactlist>(); controller = Canvas.GetComponent <GroupInformationcontrol>(); command = PlayerPrefs.GetString("id"); Debug.Log(command); if (command == "create new") { discord.text = ""; interest.text = ""; mobile.text = ""; bday.text = ""; name.text = ""; notes.text = ""; //Debug.Log(notes.text); } else { string information = controller.GetIndividual(command); string[] container = information.Split(' '); name.text = container[0].Substring(6, container[0].Length - 7); bday.text = container[1].Substring(6, container[1].Length - 7); mobile.text = container[2].Substring(8, container[2].Length - 9); discord.text = container[3].Substring(9, container[3].Length - 10); interest.text = container[4].Substring(10, container[4].Length - 11); notes.text = container[5].Substring(7, container[5].Length - 8); } }
// Start is called before the first frame update void Start() { db = Canvas.GetComponent <GroupInformationcontrol>(); getMap(); writeToDb(); foreach (var item in individual.Keys) { Debug.Log(item + individual[item]); } }
// Start is called before the first frame update void Start() { if (Canvas != null) { controller = Canvas.GetComponent <GroupInformationcontrol>(); } information = GetComponent <TextMeshProUGUI>(); GroupPanel = GameObject.FindGameObjectsWithTag("GroupPanel"); toggle = GroupPanel[0].GetComponent <GroupContainer>(); }
// Start is called before the first frame update void Start() { controller = Canvas.GetComponent <GroupInformationcontrol>(); individualList = controller.GetIndividualMap(); Master = Parent.GetComponent <Transform>(); foreach (string x in individualList.Keys) { string[] str = individualList[x].Split(' '); instantPrefab(Master, i, str[0].Substring(6, str[0].Length - 7), x); i++; } }
// Start is called before the first frame update //TODO: check if need to delete component by keeping tabs private void Start() { // this is to render existing group controller = Canvas.GetComponent <GroupInformationcontrol>(); //group = controller.GetGroupMap(); groupObject = new List <GameObject>(); master = GroupPanel.GetComponent <Transform>(); index = 0; Debug.Log(group); //Debug.Log(group); foreach (string x in group.Keys) { Debug.Log(x); Instant(x); index++; } }
// Start is called before the first frame update void Start() { controller = Canvas.GetComponent <GroupInformationcontrol>(); }
void Start() { contact = ContactListPage.GetComponent <contactlist>(); controller = Canvas.GetComponent <GroupInformationcontrol>(); individual = controller.GetIndividualMap(); }
void Start() { controller = Canvas.GetComponent <GroupInformationcontrol>(); //Debug.Log("start"); }
public void SetController(GroupInformationcontrol controller) { this.controller = controller; }