This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
project-undercover/Project Undercover/Assets/Plugins/Photon Unity Networking/UtilityScripts/OnStartDelete.cs

11 lines
248 B
C#
Raw Normal View History

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);
}
}