2024-12-21 20:37:52 +00:00

13 lines
280 B
C#

using UnityEngine;
using System.Collections;
public class csDestroyEffect : MonoBehaviour {
void Update () {
if (Input.GetKeyDown(KeyCode.X) || Input.GetKeyDown(KeyCode.Z) || Input.GetKeyDown(KeyCode.C))
{
Destroy(gameObject);
}
}
}