Added Bird Spawning and Copied behaviour for the hammer bird
This commit is contained in:
@@ -5,6 +5,7 @@ public class BirdEyesBehavior : MonoBehaviour
|
||||
{
|
||||
private StateMachine statemachine;
|
||||
private Animator animator;
|
||||
public bool correctItemIsIn;
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
@@ -20,11 +21,13 @@ public class BirdEyesBehavior : MonoBehaviour
|
||||
|
||||
public void CorrectItem()
|
||||
{
|
||||
correctItemIsIn = true;
|
||||
animator.SetTrigger("RightGuess");
|
||||
}
|
||||
|
||||
public void IncorrectItem()
|
||||
{
|
||||
correctItemIsIn = false;
|
||||
animator.SetTrigger("WrongGuess");
|
||||
}
|
||||
public void NoItem()
|
||||
|
||||
Reference in New Issue
Block a user