Skip to content

mogoson/MGS.WinUtility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[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. [email protected]