using UnityEngine; public class ARLayoutHandler : MonoBehaviour { public string[] gameObjectsToDisable; // the GameObjects to disable at startup // todo: why use strings? can directly use GameObjects... -> public GameObject[] objToDisable; // Start is called before the first frame update private void Start() { // for each GameObject to disable foreach (string goToDisable in gameObjectsToDisable) { // disable it var go = GameObject.Find(goToDisable); if (go != null) { go.SetActive(false); } } // move the camera (useful?) if (Camera.main != null) Camera.main.transform.position = new Vector3(-0.439f, 1.8f, -3.5f); } }