Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     burpMeter    = GameObject.FindGameObjectWithTag("BurpMeter").GetComponent <BurpMeter>();
     burpSprite   = GameObject.FindGameObjectWithTag("Burp").GetComponent <SpriteRenderer>();
     burpCollider = GameObject.FindGameObjectWithTag("Burp").GetComponent <Collider2D>();
     countdown    = 0;
 }
Exemplo n.º 2
0
Arquivo: Can.cs Projeto: xaedes/LD32
 // Use this for initialization
 void Awake()
 {
     playAudio = GetComponent <PlayAudioAndSelfDestruct>();
     burpMeter = GameObject.FindGameObjectWithTag("BurpMeter").GetComponent <BurpMeter>();
 }