增加aa加载包和重做标签系统包

This commit is contained in:
MuHua-123
2025-03-24 17:36:33 +08:00
parent e373ec09e5
commit 0cc1ec3866
30 changed files with 453 additions and 76 deletions
@@ -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); }
}
}
}