Fixed the bug that UTSRenderPassSettings using editor only api during runtime.
This commit is contained in:
@@ -79,9 +79,11 @@ namespace Misaki.HdrpToon
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
public static SerializedObject GetSerializedSettings()
|
public static SerializedObject GetSerializedSettings()
|
||||||
{
|
{
|
||||||
return new(GetOrCreateSettings());
|
return new(GetOrCreateSettings());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "com.misaki.hdrp-toon",
|
"name": "com.misaki.hdrp-toon",
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"displayName": "HDRP Toon",
|
"displayName": "HDRP Toon",
|
||||||
"description": "A high quality toon shader for High Definition Render Pipeline(HDRP)",
|
"description": "A high quality toon shader for High Definition Render Pipeline(HDRP)",
|
||||||
"changelogUrl": "https://git.personalnas.com/Misaki/hdrp-toon/src/branch/develop/CHANGELOG.md",
|
"changelogUrl": "https://git.personalnas.com/Misaki/hdrp-toon/src/branch/develop/CHANGELOG.md",
|
||||||
|
|||||||
Reference in New Issue
Block a user