// 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>(); }
// 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(); }
// Start is called before the first frame update void Start() { manager = GameObject.FindGameObjectWithTag("Manager").GetComponent <FarPersonManager>(); }