Animations
There are several ways to animate elements in ReactUnity:
- With CSS
keyframesandanimationto create custom animations - With CSS
animation-timelineto drive those keyframes from a scroll position, or from an element’s passage through a scroll view, rather than from the clock - With CSS
transitionproperty to animate changes in properties - With CSS
:enterand:leavepseudo-classes withtransitionproperty to animate element insertion and removal - With CSS
motionproperty to animate changes to rect transform - With CSS
audioproperty to play audio clips