onUpdate property

(void Function(double dt)?) onUpdate
getter/setter pair

更新监听函数

Implementation

void Function(double dt)? onUpdate;