av3-animator-as-code icon indicating copy to clipboard operation
av3-animator-as-code copied to clipboard

Define the default state of a layer `AacFlLayer WithDefaultState(AacFlState newDefaultState)`

Open hai-vr opened this issue 4 years ago • 1 comments

hai-vr avatar Mar 06 '22 13:03 hai-vr

Use case that justifies creating the default state as not being the first created state:

I try to make a toggle script with a bool to reverse the default logic between shown and hidden. It looks a bit messy with the duplicated code in the if block just to have the order correct for the default state.

hai-vr avatar Mar 06 '22 13:03 hai-vr