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);
    }
Example #2
0
        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);
        }
Example #3
0
 public void Setup(ScholarComputer computer)
 {
     Comp = computer;
 }
Example #4
0
 public void Setup(ScholarComputer computer)
 {
     this.computer = computer;
     this.scholar  = true;
     Reset();
 }