void Start() { if (!pathManager) { pathManager = FindObjectOfType <FilesManager>(); } }
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>(); }