Files
AppleHillsProduction/Assets/Scripts/DamianExperiments/Destroyer.cs

11 lines
194 B
C#
Raw Normal View History

using UnityEngine;
public class Destroyer : MonoBehaviour
{
// Destroy the GameObject this component is attached to
public void DestroySelf()
{
Destroy(gameObject);
}
}