using UnityEngine; public class HideOnPlay : MonoBehaviour { // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { gameObject.SetActive(false); } // Update is called once per frame void Update() { } }