I have a script to control unique properties of a given character.
Im looking for ways to be able to change public variables of this given script inside a timeline, or simply remove/deactivate a gameobject.
Ideally, something more "generic" would be running some piece of code inside the timeline, having some arguments that could be inputed by configuring the timeline. Could i do things like call methods of scripts in timelines ?
Is this something doable ? I do not want to create animations for every timeline transition.
Would appreciate any help !
正如上面的评论所指出的,时间线信号解决了这个问题,作为一种通知外部代码已经到达特定时间线点的方式。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.