从旧版中移植,Prefab未确认
This commit is contained in:
27
Convention/[Art]/Line/LinePointContainer.cs
Normal file
27
Convention/[Art]/Line/LinePointContainer.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Convention.VFX
|
||||
{
|
||||
[RequireComponent(typeof(LineRenderer))]
|
||||
public class LinePointContainer : MonoBehaviour
|
||||
{
|
||||
[Resources, HopeNotNull, SerializeField] private LineRenderer lineRenderer;
|
||||
private void Reset()
|
||||
{
|
||||
lineRenderer = GetComponent<LineRenderer>();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
if (lineRenderer == null)
|
||||
lineRenderer = GetComponent<LineRenderer>();
|
||||
}
|
||||
|
||||
public void Rebuild()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user