Ejemplo n.º 1
0
    IEnumerator DisableBirdwoman()
    {
        yield return(new WaitForSeconds(3));

        birdwoman.SetActive(false);
        RuruCallManager.SafeCall();
        isRising = false;
    }
Ejemplo n.º 2
0
 void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player") && !hasbeenCalled)
     {
         birdwoman.SetActive(true);
         birdwoman.transform.position = transform.position + new Vector3(0, 15, 0);
         Debug.Log(transform.position);
         Debug.Log(birdwoman.transform.position);
         RuruCallManager.WarningCall();
         screech.Play();
         hasbeenCalled = true;
     }
 }
Ejemplo n.º 3
0
 // Enable UI text and display
 public void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("Player"))
     {
         // Display and enable text
         tutorialUIText.GetComponentInChildren <Text>().text = tutorialText;
         tutorialUIText.SetActive(true);
         // Warning call
         if (playsWarning && !hasPlayedWarning)
         {
             RuruCallManager.WarningCall();
         }
     }
 }
Ejemplo n.º 4
0
    void OnTriggerEnter(Collider other)
    {
        if (other.CompareTag("Player") && !hasCalled)
        {
            if (isWarning)
            {
                RuruCallManager.WarningCall();
            }
            else
            {
                RuruCallManager.SafeCall();
            }

            hasCalled = true;
        }
    }
Ejemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     instance = this;
 }