Essentials + extra crap
Loadings Startups Movement Camera
This commit is contained in:
1 parent
662f4a1d05
commit
5f5ace1b52
734 files changed
+107323
-1713
No files matched your search
@@ -0,0 +1,20 @@
|
||||
using Code.Infrastructure.Camera.CameraStates;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Infrastructure.Camera
|
||||
{
|
||||
public class CameraStateMachineRunner : MonoBehaviour
|
||||
{
|
||||
public CameraStateMachine StateMachine;
|
||||
|
||||
private void Update()
|
||||
{
|
||||
((BaseCameraState)StateMachine.CurrentBaseState).Update();
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
((BaseCameraState)StateMachine.CurrentBaseState).LateUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user