Newer
Older
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnStart : MonoBehaviour
{
public bool makeInvisible = false;
//public bool resetPosition = false;
//public bool resetRotation = false;
// Start is called before the first frame update
void Start()
{
if (makeInvisible) gameObject.SetActive(false);
}
// Update is called once per frame
void Update()
{
}
}