Files
TutorialRTS/Assets/Scripts/SelectionMarker.cs
2026-03-19 17:31:51 +00:00

22 lines
437 B
C#

using UnityEngine;
public class SelectionMarker : MonoBehaviour
{
public float lifeTime = 1.0f;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
//Destroy(gameObject, lifeTime);
}
// Update is called once per frame
void Update()
{
}
public void DestroySelectionMarker()
{
Destroy(gameObject);
}
}