Files
AppleHillsProduction/Assets/Scripts/DamianExperiments/SoundBirdPuzzleSection/soundBird_CanFly.cs
Damian 52139cbe64 Flying Bird Puzzle section Complete.
Finished with the logic of the flying bird step.
2025-09-26 15:12:18 +02:00

24 lines
423 B
C#

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;
}
}
}