using System.Collections; using System.Collections.Generic; using UnityEngine; public class PowerInfo : MonoBehaviour { public TextMesh RenWu; public TextMesh Squadron; private void Awake() { //gameObject.AddComponent(); //RenWu = transform.Find("RenWu").GetComponent(); //Squadron = transform.Find("Squadron").GetComponent(); } // Use this for initialization }