从旧版中移植,Prefab未确认

This commit is contained in:
2025-07-24 15:41:28 +08:00
parent 86842492ea
commit 43b824b722
300 changed files with 101926 additions and 14 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
namespace Convention.VFX
{
public class LinePoint : MonoBehaviour, ILoadedInHierarchy
{
public float Scale { get; private set; }
public float ScaleOne = new Vector3(1, 1, 1).magnitude;
public Vector3 Forward { get; private set; }
public Color PointColor = Color.white;
public float PointWeight = 1;
private void Update()
{
Scale = transform.localScale.magnitude / ScaleOne;
Forward = transform.forward;
}
}
}