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