public void Setup() { Comp = GetComponent <ScholarComputer>(); Typing = GetComponent <ScholarComputerTyping>(); Typing.Setup(Comp); Transform screen = transform.Find("Screen").Find("UI").Find("Canvas").Find("Screen"); screen.Find("Cursor").gameObject.SetActive(false); }
public void Setup(ClassAgent classRoom, int globalIndex, int localIndex) { ClassRoom = classRoom; Active = true; Move.Setup(this); Sight.Setup(this); Computer = new ScholarComputer(); Info = new ScholarInfo(this, globalIndex, localIndex); Items = new ScholarItemsController(this); Memorable = new ScholarMemorable(this); Location = new ScholarLocation(this); GoapContext = new ScholarGOAPContext(this); Actions = new ScholarActionsController(this); }
public void Setup(ScholarComputer computer) { Comp = computer; }
public void Setup(ScholarComputer computer) { this.computer = computer; this.scholar = true; Reset(); }