Files
AppleHillsProduction/Assets/Scripts/DamianExperiments/SoundBirdPuzzleSection/soundBird_CanFly.cs

24 lines
423 B
C#
Raw Normal View History

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