Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 978 Bytes

README.md

File metadata and controls

53 lines (33 loc) · 978 Bytes

[TOC]

MGS.WinUtility

Summary

  • Windows utility for unity project develop.

Environment

  • Unity 5.0 or above.
  • .Net Framework 3.5 or above.

Platform

  • Windows

Module

NetworkUtility

//Network connect state.
var state = NetworkUtility.GetNetworkConnectState();

ComdlgUtility

//string title, string directory, string filter.
var selectFile = ComdlgUtility.OpenFileDialog("Open File", workDir, "Text(*.txt)\0*.txt");

//string title, string directory, string defaultName, string filter.
var saveFile = ComdlgUtility.SaveFileDialog("Save File", workDir, fileName, "Text(*.txt)\0*.txt");

//string title.
var folder = ComdlgUtility.OpenFolderDialog("Open Folder");

ExplorerUtility

//string path, bool select = true, bool eMode = true
ExplorerUtility.Show(workDir, false);

Demo

  • Demos in the path "MGS.Packages/WinUtility/Demo/" provide reference to you.

Copyright © 2022 Mogoson. mogoson@outlook.com