Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
T
tuseGameColor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shujianhe
tuseGameColor
Commits
e506bc57
Commit
e506bc57
authored
Aug 24, 2023
by
lijin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
散弹枪逻辑
parent
bc01d482
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GameMgr.cs
Assets/GameMgr/GameMgr.cs
+1
-1
No files found.
Assets/GameMgr/GameMgr.cs
View file @
e506bc57
...
@@ -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响应长按
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment