void Start() { imageManager = FindObjectOfType <ImageTargetManager>(); imageCreator = FindObjectOfType <FilesManager>(); onClick("clear"); int design = PlayerPrefs.GetInt("design", 0); transform.Find("30x60").gameObject.SetActive(design == 1); }
private void Awake() { if (FindObjectOfType <EasyARBehaviour>().Key.Contains(boxtitle)) { #if UNITY_EDITOR UnityEditor.EditorUtility.DisplayDialog(title, keyMessage, "OK"); #endif Debug.LogError(title + " " + keyMessage); } imageManager = FindObjectOfType <ImageTargetManager>(); imageCreater = FindObjectOfType <FilesManager>(); }
private void Start() { imageManager = FindObjectOfType <ImageTargetManager>(); imageCreator = FindObjectOfType <FilesManager>(); }
private void Awake() { imageManager = FindObjectOfType <ImageTargetManager>(); imageCreater = FindObjectOfType <FilesManager>(); }