Commit 5f0c7369 authored by 李维's avatar 李维

读取系统debug状态

parent 2ba1fd7b
...@@ -616,8 +616,7 @@ cc.Class({ ...@@ -616,8 +616,7 @@ cc.Class({
this.debugPointer(this.boundedPostion(p.x), this.boundedPostion(p.y)) this.debugPointer(this.boundedPostion(p.x), this.boundedPostion(p.y))
} }
} }
this.isDebug = false; this.isDebug = cc.sys.localStorage.getItem('isDebug') == "true" ? true : false;
}, },
// 限定坐标值 // 限定坐标值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment