Ejemplo n.º 1
0
        public void initFileSeeker()
        {
            if (folderPath == null)
            {
                Debug.Log(LOG_TAG + "Folder path is null.");
                return;
            }

            isInitialized = false;

            fileSeeker = new FileSeeker();
            if (!fileSeeker.loadFolder(folderPath, filter))
            {
                Debug.Log(LOG_TAG + " content not found.");
                fileSeeker = null;
                return;
            }

            oriScale = transform.localScale;

            isInitialized = true;

            onInitComplete.Invoke();
        }