2025-05-09 10:20:30 +08:00

25 lines
480 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using ZXKFramework;
public class DrawLineTest : MonoBehaviour
{
DrawLine drawLine;
private void Awake()
{
drawLine = GetComponent<DrawLine>();
}
public void Update()
{
if (Input.GetKeyDown(KeyCode.K))
{
drawLine.CleanAll();
}
if (Input.GetKeyDown(KeyCode.L))
{
drawLine.CleanLast();
}
}
}