C# Class LeopotamGroup.EditorHelpers.UnityEditors.UnityIdentsGenerator

Unity idents generator.
Inheritance: EditorWindow
显示文件 Open project: Leopotam/LeopotamGroupLibraryUnity

Public Methods

Method Description
Generate ( string fileName, string nsName, Options options ) : string

Generate class with idents at specified filename and with specified namespace.

Private Methods

Method Description
CleanupName ( string dirtyName ) : string
CleanupValue ( string dirtyValue ) : string
GenerateFields ( string indent, Options options ) : string
InitGeneration ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void

Method Details

Generate() public static method

Generate class with idents at specified filename and with specified namespace.
public static Generate ( string fileName, string nsName, Options options ) : string
fileName string Filename.
nsName string Namespace.
options Options
return string