Ejemplo n.º 1
0
 void Start()
 {
     isDed    = false;
     gamemain = GameObject.Find("gamemanager").GetComponent <gameman>();
     interval = 0.0f;
     //audio = GetComponent<AudioSource>();
     damage = 0.0f;
 }
Ejemplo n.º 2
0
    void Awake()
    {
        liveballoncount = liveballons.Count;

        gamemanref     = this;
        maincontroller = GameObject.FindGameObjectWithTag("controller");
        mainplayer     = GameObject.FindGameObjectWithTag("Player");
    }
Ejemplo n.º 3
0
 void Start()
 {
     gamemain = GameObject.Find("gamemanager").GetComponent <gameman>();
     interval = 0.0f;
 }