Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     cup = GetComponent <Cup>();
     tb  = Instantiate(textBoxPrefab, transform);
     tb.transform.position += textBoxOffset;
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     tb = Instantiate(textBoxPrefab, transform);
     tb.transform.position += textBoxOffset;
 }