使用回调
作者:互联网
callbacks.removeScripts #systemPostNew id:#setid
callbacks.addScript #systemPostNew "function()" id:#setid --仅重置3D之后执行
callbacks.removeScripts #systemPostReset id:#setid
callbacks.addScript #systemPostReset "function()" id:#setid --重置3D之后执行
callbacks.removeScripts #postSystemStartup id:#setid
callbacks.addScript #postSystemStartup "function()" id:#setid --启动后执行
callbacks.removeScripts #nodeCreated id:#setid
callbacks.addScript #nodeCreated "function()" id:#setid --创建时执行
callbacks.removeScripts #nodePreDelete id:#setid
callbacks.addScript #nodePreDelete "function()" id:#setid --删除前执行
callbacks.removeScripts #nodePostDelete id:#setid
callbacks.addScript #nodePostDelete "function()" id:#setid --删除后执行
callbacks.removeScripts #filePreMerge id:#setid
callbacks.addScript #filePreMerge "function()" id:#setid --合并前执行
callbacks.removeScripts #filePostMerge id:#setid
callbacks.addScript #filePostMerge "function()" id:#setid --合并后执行
callbacks.removeScripts #filePreSave id:#setid
callbacks.addScript #filePreSave "function()" id:#setid --保存前执行
callbacks.removeScripts #filePostSave id:#setid
callbacks.addScript #filePostSave "function()" id:#setid --保存后执行
callbacks.removeScripts #filePostOpenProcess id:#setid
callbacks.addScript #filePostOpenProcess "function()" id:#setid --打开完成后执行
callbacks.addScript #animationRangeChange "function()" id:#setid --动画范围更改时执行
callbacks.addScript #mtlLibPostOpen "function()" id:#setid --材质库打开后执行
clearListener() --清除帧
标签:function,callbacks,addScript,使用,setid,回调,id,removeScripts 来源: https://www.cnblogs.com/humd/p/12110097.html