#unity/日常积累 在C#端是写了一个action的event事件; ![[Pasted image 20220426092450.png]] 然后这个DoUpdate()方法,是有在Update()方法中调用的; 而这个DoUpdate()方法,是用判断这个东西的; ![[Pasted image 20220426092509.png]] 然后在lua中,如果获取到这个玩意了,就可以通过这种方式,去添加Action Event事件回调,注意+号字符,还有前缀是分号; ![[Pasted image 20220426092521.png]]