Table of Contents

USGUtility Class

public static class USGUtility
Warning

Works only on Unity Editor

Inheritance
USGUtility

Methods

ForceGenerateByName(string, bool)

Force perform source code generation by class name.

ForceGenerateByType(Type, bool)

Force perform source code generation by class name.

GetAssetPathByName(string)

Returns "Assets/" or "Packages/" starting path to the script. (relative path from Unity project directory)

GetAssetPathByType(Type)

Returns "Assets/" or "Packages/" starting path to the script. (relative path from Unity project directory)