示例#1
0
 private void Start()
 {
     _hoverText = HUD.Instance.CreateMenu <HoverText>();
     _hoverText.SetVisible(false);
     _hoverText.SetText(Util.Localisation.LocManager.GetTranslation(TeleporterPrompt));
     _hoverText.SetTrackedObject(transform, new Vector3(0.0f, 5.0f, 0.0f));
 }