Is is possible to link materials as an asset field?

   3329   2   1
User Avatar
Member
20 posts
Joined: 9月 2018
オフライン
Hi,

I find the current way materials are set in Unity to be rather impractical: is there any way, and if no would it be possible to have the ability to link a material via a Unity Object field?
This way the link would be path independent and rely on Unity's metadata, on the top of being much more convenient to use.

Thanks!
Edited by Bill_Sansky - 2020年1月20日 17:41:02
User Avatar
Member
571 posts
Joined: 5月 2017
オフライン
You can add a tag to your string parm to have the plugin treat it as an object field where you can drag in the material. Use tag ‘heuassetpath’.

See https://www.sidefx.com/docs/unity/_parameters.html#Parameters_String [www.sidefx.com]
User Avatar
Member
20 posts
Joined: 9月 2018
オフライン
thanks a lot!
  • Quick Links