smoothCamera
This commit is contained in:
parent
633c570557
commit
005440fc36
@ -20,6 +20,12 @@ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
|
||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||
"_data": "绘制灯光效果"
|
||||
},
|
||||
"smoothCamera": {
|
||||
"_leaf": true,
|
||||
"_type": "textarea",
|
||||
"_range": "typeof(thiseval)=='string' || thiseval==null",
|
||||
"_data": "平滑移动镜头效果"
|
||||
},
|
||||
}
|
||||
if (obj[key]) return obj[key];
|
||||
return {
|
||||
|
||||
@ -87,12 +87,16 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
},
|
||||
"smoothCamera": function () {
|
||||
|
||||
// 是否启用本插件,默认不启用
|
||||
this.__enableSmoothCamera = false;
|
||||
if (!this.__enableSmoothCamera) return;
|
||||
|
||||
this.Camera = function () {
|
||||
|
||||
// 下面这个变量决定本插件的开关
|
||||
// 你可以在游戏中使用core.setFlag('smoothCamera',false)来关闭本插件的功能
|
||||
// 同时也可以core.setFlag('smoothCamera',true)重新开启
|
||||
// 本插件默认开启
|
||||
// 此项默认为true
|
||||
//
|
||||
this.__switchName = 'smoothCamera';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user