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