增加aa加载包和重做标签系统包
This commit is contained in:
@@ -3,22 +3,18 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using MuHua;
|
||||
|
||||
namespace MuHua.Sample
|
||||
{
|
||||
public class StandardLabel : MonoBehaviour
|
||||
{
|
||||
public GameObject labelPrefab;
|
||||
public Vector3 offset = new Vector3(0, 1, 0);
|
||||
private GameObject labelObject;
|
||||
namespace MuHua.Sample {
|
||||
public class StandardLabel : MonoBehaviour {
|
||||
public GameObject labelPrefab;
|
||||
public Vector3 offset = new Vector3(0, 1, 0);
|
||||
private GameObject labelObject;
|
||||
|
||||
void Start()
|
||||
{
|
||||
labelObject = LabelController.CreateLabel(transform, labelPrefab, offset);
|
||||
}
|
||||
void OnDestroy()
|
||||
{
|
||||
if (labelObject != null) { Destroy(labelObject); }
|
||||
}
|
||||
}
|
||||
void Start() {
|
||||
// labelObject = FollowerController.CreateLabel(transform, labelPrefab, offset);
|
||||
}
|
||||
void OnDestroy() {
|
||||
if (labelObject != null) { Destroy(labelObject); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user