Requires Unity 5.4.0 or higher.这个包包含一个旋转的广告牌组件
This package contains a rotating billboard component.
The billboard has a number of settings
which can be changed by hand
or from other scripts:
- The type of animation (5 options)
- The time between animations
- The speed of the animations
- The time between moving of the parts
- The 3 images to show on the billboard
All of these settings can be changed
at runtime and will be used instantly or at the
next cycle (depending on the setting).
The billboard also uses a message
for external control which is used
by a second script to cycle all animations.
(this script is also included).
All code is commented to explain
how it works.