realtime-CSG-for-unity
realtime-CSG-for-unity copied to clipboard
[Request] API for assigning materials from code
how to auto assingn box six surface with difference materials or give one speical material API?
I'm sorry, I might not understand your question properly, but you're asking how to assign materials to a brush using code?
yes, you right, box brush have six surface ,and defined share one material.
Is this is an existing brush, or are you creating this brush using BrushFactory.CreateBrushFromPlanes?