Commit e506bc57 authored by lijin's avatar lijin

散弹枪逻辑

parent bc01d482
...@@ -67,7 +67,7 @@ public class GameMgr : MonoBehaviour ...@@ -67,7 +67,7 @@ public class GameMgr : MonoBehaviour
#endregion #endregion
#region 点击事件逻辑 #region 点击事件逻辑
public static readonly Vector2 gunSize = new Vector2(3, 10); public static readonly Vector2 gunSize = new Vector2(10, 5);
private float time = 0; private float time = 0;
private Vector2 pos = Vector2.zero; private Vector2 pos = Vector2.zero;
private int isLongPress = -1;//-1无逻辑,0按下,1响应点击,2响应长按 private int isLongPress = -1;//-1无逻辑,0按下,1响应点击,2响应长按
......
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