WinterJamSnowman/Assets/Scripts/LemonGenericLib/DebugUtilities/DisableOnAwake.cs

15 lines
270 B
C#
Raw Normal View History

2023-01-24 13:51:46 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Lemon.GenericLib.Utility {
public class DisableOnAwake : MonoBehaviour
{
private void Awake()
{
gameObject.SetActive(false);
}
}
}