Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        hasFire = false;
        Initialize();

        PotUI potUI = Instantiate <PotUI>(potUIPrefab);

        potUI.Pot = this;

        audioSource = GetComponent <AudioSource>();
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     PotUI = gameObject.transform.parent.GetComponent <PotUI>();
     ProgressBar.gameObject.SetActive(false);
 }