This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class BasicFpMover : MonoBehaviour | |
{ | |
private CharacterController _characterController; | |
private Vector3 _moveDirection; | |
[SerializeField] private float _speed = 6f; | |
private void Awake() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class BasicFpCamera : MonoBehaviour | |
{ | |
[SerializeField] private Camera _camera; | |
[SerializeField] private Transform _body; | |
[SerializeField] private float _pitchMin = -60f; | |
[SerializeField] private float _pitchMax = 60f; | |
[SerializeField] private float _sensitivity = 2f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A BoxStarter script for use with http://boxstarter.org/WebLauncher | |
# Updates a Windows machine and installs a range of developer tools | |
# Show more info for files in Explorer | |
Set-WindowsExplorerOptions -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
# Enable remote desktop | |
Enable-RemoteDesktop | |
# Small taskbar |