Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GameObject gameObject2 = new GameObject();
- gameObject2.AddComponent<TextMesh>();
- TextMesh component3 = gameObject2.GetComponent<TextMesh>();
- component3.color = Color.red;
- component3.text = "";
- component3.fontSize = 100;
- component3.transform.localScale = new Vector3(0.015f, 0.015f, 0.015f);
- gameObject2.transform.SetParent(this.currentAvatar.transform);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement