AnySubmesh
Bool = true Selects the combination: true passes when one submesh is in the state, false only when all of them are.
A bool driver that tests whether submeshes of the source's mesh are shown or hidden. It reads the current submesh visibility of the mesh, which animation events such as SubmeshVisibilityEventData change.
VISIBLE |
AnySubmesh |
Returns true when |
|---|---|---|
true |
true |
at least one of Submeshes is shown |
true |
false |
every one of Submeshes is shown |
false |
true |
at least one of Submeshes is hidden |
false |
false |
every one of Submeshes is hidden |
The source must be a game object with a skinned mesh. The driver returns false
without one.
Bool = true Selects the combination: true passes when one submesh is in the state, false only when all of them are.
List<Hash> = [] The hashes of the submesh names to test.
Bool = true Selects the state to test for: true tests that the submeshes are shown, false that they are hidden.