示例#1
0
    public BurbujaController getBurbujaController()
    {
        if (burbujaController == null)
        {
            burbujaController = getBurbuja().GetComponent <BurbujaController>();
        }

        return(burbujaController);
    }
示例#2
0
 void Awake()
 {
     bc           = GetComponent <BurbujaController>();
     fuegosLength = GetComponent <BurbujaStats>().fuegoFatuos.Length - 1;
     bubble       = GameObject.Find("Burbuja(Clone)");
 }