Disable on start

Attach this to an object to disable it on Start. Sometimes usefull.

using UnityEngine;

public class DisableOnStart : MonoBehaviour
{
    private void Start()
    {
        gameObject.SetActive(false);
    }
}