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

@@ -4,15 +4,4 @@ public class LureSpot : MonoBehaviour
{
[SerializeField] public GameObject luredBird;
[SerializeField] public GameObject annaLiseSpot;
// 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()
{
}
}

View File

@@ -13,12 +13,6 @@ public class GardenerBehaviour : MonoBehaviour
stateMachineRef = GetComponent<StateMachine>();
}
// Update is called once per frame
void Update()
{
}
public void stateSwitch (string StateName)
{
Logging.Debug("State Switch to: " + StateName);

View File

@@ -11,12 +11,7 @@ public class LawnMowerBehaviour : MonoBehaviour
{
stateMachineRef = GetComponent<StateMachine>();
}
// Update is called once per frame
void Update()
{
}
public void mowerTouched()
{
Logging.Debug("Mower Touched");

View File

@@ -30,10 +30,4 @@ public class TrashSpawner : MonoBehaviour
sr.sprite = spritePool[Random.Range(0, spritePool.Length)];
}
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -29,12 +29,6 @@ public class PicnicBehaviour : MonoBehaviour
animator = GetComponent<Animator>();
}
// Update is called once per frame
void Update()
{
}
private IEnumerator StateCycleRoutine()
{
while (true)

View File

@@ -44,12 +44,4 @@ public class soundBird_TakeOffBehaviour : MonoBehaviour
stateMachine.ChangeState("SoundBirdFlyAround"); // Change to the desired state name
}
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -39,10 +39,4 @@ public class WolterStateMachine : MonoBehaviour
}
}
// Update is called once per frame
void Update()
{
}
}