Flying Bird Puzzle section Complete.

Finished with the logic of the flying bird step.
This commit is contained in:
2025-09-26 15:12:18 +02:00
parent 88e630cbe7
commit 52139cbe64
16 changed files with 9688 additions and 507 deletions

View File

@@ -0,0 +1,23 @@
using UnityEngine;
public class soundBird_CanFly : MonoBehaviour
{
public bool canFly = true;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
public void birdCanHear(bool canhear)
{
if (canhear)
{
canFly = true;
}
else
{
canFly = false;
}
}
}