Пример #1
0
 public virtual void Start()
 {
     if (NameTag != null)
     {
         nameTag = GameObject.Instantiate(NameTag, this.transform);
         nameTag.transform.localPosition = new Vector3(0, 2.1f, 0);
         nameTag.SetText(UserName);
     }
     Audiosource = this.GetComponent <AudioSource>();
 }