HideOnPlay.cs 230 B

12345678910
  1. using UnityEngine;
  2. public class HideOnPlay : MonoBehaviour
  3. {
  4. // Start is called once before the first execution of Update after the MonoBehaviour is created
  5. void Start()
  6. {
  7. gameObject.SetActive(false);
  8. }
  9. }