FiE-Game/Assets/Photon Unity Networking/UtilityScripts/OnStartDelete.cs
2023-07-19 18:11:02 +01:00

11 lines
No EOL
248 B
C#

using UnityEngine;
/// <summary>This component will destroy the GameObject it is attached to (in Start()).</summary>
public class OnStartDelete : MonoBehaviour
{
// Use this for initialization
void Start()
{
Destroy(this.gameObject);
}
}