Example #1
0
    public void SetReferences()
    {
        Cursor.visible   = false;
        Cursor.lockState = CursorLockMode.Locked;

        uiManager      = GetComponent <UIManager>();
        firstPersonSFX = goPlayer.GetComponent <FirstPersonSFX>();
    }
Example #2
0
 void Start()
 {
     firstPersonSFX = GetComponent <FirstPersonSFX>();
     SetWeapon();
 }