13 lines
377 B
13 lines
377 B
using System.Collections; |
|
using System.Collections.Generic; |
|
using UnityEngine; |
|
|
|
public class TruckPowerInfo : PowerInfo |
|
{ |
|
public TextMesh TruckType; |
|
private void Start() |
|
{ |
|
CloneObjType cloneObjType = transform.GetComponentInParent<CloneGameObjInfo>().gameObjType; |
|
TruckType.text = CloneObjName.Instance.GetCloneNameByType(cloneObjType); |
|
} |
|
}
|
|
|