using System.Collections; using System.Collections.Generic; using UnityEngine; public class TruckPowerInfo : PowerInfo { public TextMesh TruckType; private void Start() { CloneObjType cloneObjType = transform.GetComponentInParent().gameObjType; TruckType.text = CloneObjName.Instance.GetCloneNameByType(cloneObjType); } }