DisableOnStart.cs 202 B

1234567891011
  1. using UnityEngine;
  2. using System.Collections;
  3. public class DisableOnStart : MonoBehaviour {
  4. // Use this for initialization
  5. void Start ()
  6. {
  7. gameObject.SetActive (false);
  8. }
  9. }