Attempt to get animation working
This commit is contained in:
@@ -8,11 +8,13 @@ namespace Scampz.GameJam.Assets.Scripts
|
||||
private RayCaster _caster;
|
||||
public float Speed = 10f;
|
||||
public float RotateSpeed = 720.0f;
|
||||
private Animator _animator;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
_controller = GetComponent<CharacterController>();
|
||||
_caster = _controller.GetComponent<RayCaster>();
|
||||
_animator = GetComponent<Animator>();
|
||||
}
|
||||
|
||||
void Update()
|
||||
|
||||
Reference in New Issue
Block a user