Is is possible to link materials as an asset field?

   2415   2   1
User Avatar
Member
20 posts
Joined: Sept. 2018
Offline
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 - Jan. 20, 2020 17:41:02
User Avatar
Member
571 posts
Joined: May 2017
Offline
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: Sept. 2018
Offline
thanks a lot!
  • Quick Links