FiE-Game/Assets/Photon Unity Networking/UtilityScripts/OnStartDelete.cs

11 lines
248 B
C#
Raw Normal View History

2023-07-19 19:11:02 +02:00
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);
}
}