GetAssetPathByType Method
- Namespace
- SatorImaging.UnitySourceGenerator.Editor
GetAssetPathByType(Type)
public static string GetAssetPathByType(Type t)
Returns "Assets/" or "Packages/" starting path to the script. (relative path from Unity project directory)
Parameters
t
Type
Returns
- string
null if not found