static void OnPostProcessScene() { if (window != null) { EditorCoroutine.start(window.FetchUploadedData()); } }
static void OnPostProcessScene() { if (window != null) { window.FetchUploadedData(); } }
void Update() { if (APIUser.IsLoggedInWithCredentials && (uploadedWorlds == null || uploadedAvatars == null)) { if (uploadedWorlds == null) { uploadedWorlds = new List <ApiWorld>(); } if (uploadedAvatars == null) { uploadedAvatars = new List <ApiAvatar>(); } EditorCoroutine.Start(window.FetchUploadedData()); } Repaint(); }