Newer
Older
using UnityEngine;
public class DisableObjectOutsideEditor : MonoBehaviour
{
// Start is called before the first frame update
void Awake()
{
// #if !UNITY_EDITOR
this.gameObject.SetActive(false);
// #endif
}
}