コード例 #1
0
ファイル: GameManager.cs プロジェクト: HaruKawai/unity
    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)");
 }