//Information displayed in the "New Client Request" menu. public string NewRequestedClientDetails() { Name = clientData.Name; RequestedCoffin = clientData.RequestedCoffin; RequestedHeadstone = clientData.RequestedHeadstone; return(Name + "\n" + "Requested Coffin: " + RequestedCoffin + "\n" + "Requested Headstone: " + RequestedHeadstone); }
private void Awake() { Name = clientData.Name; CauseOfDeath = clientData.CauseOfDeath; ReligiousFaction = clientData.ReligiousFaction; RequestedCoffin = clientData.RequestedCoffin; RequestedHeadstone = clientData.RequestedHeadstone; }
public void Restart() { currentClientSelected = null; currentHeadstone = null; currentHeadstoneSelected = null; currentClient = null; numofscenes[0].SetActive(true); numofscenes[1].SetActive(false); numofscenes[2].SetActive(false); }
void Start() { mann = GameObject.FindObjectOfType <GameManager>().GetComponent <GameManager>(); uimann = GameObject.FindObjectOfType <UIManager>(); invman = GameObject.FindObjectOfType <InventoryMana>().GetComponent <InventoryMana>(); climan = FindObjectOfType <ClientMana>(); //mann = mann //invman = if (mann.tutorial) { namenum = 0; Deathnum = 0; } // Debug.Log(invman.headstoneList.Count); RequestedHeadstone = invman.headstoneList[headnum].GetComponent <headstoneobj>().currentheadstone; RequestedCoffin = invman.CoffinList[coffinnum].GetComponent <Coffinobj>().SelectedCoffin; clientName.text = ("Name:\n" + climan.Client[namenum]); Causeofdeath.text = ("Cause of Death:\n" + climan.Death[Deathnum]); client = climan.Client[namenum]; // name.text = ("Name:\n"+client); Reasonofdeath = climan.Death[Deathnum]; Causeofdeath.text = ("Cause of Death:\n" + Reasonofdeath); climan.openclients.Insert(0, this); payr.text = ("Pay: " + Pay.ToString()); timetocom.text = ("Time to Complete: " + timetocomplete.ToString()); currentstatus = Status.notstarted; //txtcontents = textAsset.text; jobstatus.text = "Current Status: Not Started"; }
private void Awake() { currentClientSelected = null; currentHeadstone = null; }