mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 07:18:00 +01:00
11 lines
248 B
C#
11 lines
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);
|
||
|
}
|
||
|
}
|