private void Start() { Cursor.lockState = CursorLockMode.Locked; inputs = GetComponent <PlayerInputs>(); movements = GetComponent <PlayerMovement>(); interactions = GetComponent <BlockInteraction>(); display = GetComponent <PlayerUIDisplay>(); }
private void Awake() { photonView = GetComponent <PhotonView>(); playerInterface = GetComponent <PlayerInterface>(); playerUI = GetComponent <PlayerUIDisplay>(); }