Remove superflous Update() methods and change the tile spawn buffer to 2

This commit is contained in:
Michal Pikulski
2025-10-17 11:55:30 +02:00
parent 7cbc80627b
commit 8274d70924
15 changed files with 4 additions and 109 deletions

View File

@@ -11,12 +11,6 @@ public class AnneLiseBushBehaviour : MonoBehaviour
anneLiseBushStateMachine = GetComponent<StateMachine>();
}
// Update is called once per frame
void Update()
{
}
public void TakePhoto()
{
anneLiseBushStateMachine.ChangeState("TakePhoto");

View File

@@ -12,21 +12,7 @@ public class TakePhotoState : State
private GameObject playerCharacter;
private PlayerTouchController playerTouchController;
private Vector3 newPlayerPosition;
private
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
void OnEnable()
{
playerCharacter = GameObject.FindWithTag("Player");