Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     controller   = GetComponent <CharacterController>();
     manager      = GameObject.FindGameObjectWithTag("Manager").GetComponent <FarPersonManager>();
     chatManager  = GameObject.FindGameObjectWithTag("ChatManager").GetComponent <ChatBoxManager>();
     doorsManager = GameObject.FindGameObjectWithTag("DoorsManager").GetComponent <DoorsManager>();
 }
Ejemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        tabs = new List <Tab>();

        currentChat      = 0;
        manager          = GameObject.FindGameObjectWithTag("Manager").GetComponent <FarPersonManager>();
        playerController = GameObject.FindGameObjectWithTag("Player").GetComponent <ThirdPersonMovement>();
        scrolling        = false;
        messageFinnish   = false;
        ReadChatLists();
        StartChat();
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     manager = GameObject.FindGameObjectWithTag("Manager").GetComponent <FarPersonManager>();
 }