Skip to content

Commit c705b6d

Browse files
committed
Modify input types and remove some bugs
1 parent 06e4a0d commit c705b6d

26 files changed

+1140
-402
lines changed
870 Bytes
Binary file not shown.

demo/Assets/NativeEditPlugin/scripts/PluginMsgHandler.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@ void OnDestory()
9898

9999
public int RegisterAndGetReceiverId(PluginMsgReceiver receiver)
100100
{
101+
int index = snCurReceiverIdx;
101102
snCurReceiverIdx++;
102103

103-
m_dictReceiver[snCurReceiverIdx] = receiver;
104-
return snCurReceiverIdx;
104+
m_dictReceiver[index] = receiver;
105+
return index;
105106
}
106107

107108
public void RemoveReceiver(int nReceiverId)

logcat.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"C:\Users\Thomas\AppData\Local\Android\sdk\platform-tools\adb" logcat -s Unity
2+
pause

src/androidProj/.gitignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Built application files
2+
*.apk
3+
*.ap_
4+
5+
# Files for the Dalvik VM
6+
*.dex
7+
8+
# Java class files
9+
*.class
10+
11+
# Generated files
12+
bin/
13+
gen/
14+
out/
15+
16+
# Gradle files
17+
.gradle
18+
build/
19+
20+
# Local configuration file (sdk path, etc)
21+
local.properties
22+
23+
# Proguard folder generated by Eclipse
24+
proguard/
25+
26+
# Log Files
27+
*.log
28+
29+
# Android Studio Navigation editor temp files
30+
.navigation/
31+
32+
# Android Studio captures folder
33+
captures/
34+
35+
# Intellij
36+
*.iml
37+
38+
# Keystore files
39+
*.jks
40+
41+
# from android studio
42+
/.idea/workspace.xml
43+
/.idea/libraries
44+
.DS_Store
45+
Binary file not shown.
130 KB
Binary file not shown.
1.9 MB
Binary file not shown.
Binary file not shown.
63.1 KB
Binary file not shown.

src/androidProj/.idea/compiler.xml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)