using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using System; using Raumgleiter.Packages.FileExplorer; public class Tester : MonoBehaviour { //Connections //[Header("Connections")] public Explorer Explorer; //Resources //[Header("Resources")] //Attributes //[Header("Attributes")] //Stats //[Header("Stats")] // protected bool IsSetUp = false; protected bool IsAwoken = false; //Getter //Delegates //------------------------------------------------------------------------------------------------------------------ //awake //------------------------------------------------------------------------------------------------------------------ //start private void Start() { Explorer.Open( ExplorerMode.MultipleFiles, OnReceiveCallback); } //------------------------------------------------------------------------------------------------------------------ //setup // public void SetUp() // { // Awake(); // IsSetUp = true; // } //------------------------------------------------------------------------------------------------------------------ //destroy //*********************************************************************************************************************** //update //*********************************************************************************************************************** //refresh //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //events private void OnReceiveCallback(List returnedPaths) { Debug.Log("OnReceiveCallback"); foreach (var item in returnedPaths) { Debug.Log(item); } } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //private, protected //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //internal //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //public static //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //public //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //getter, setter //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ }