├── .gitignore
├── Assets
├── Plugins.meta
├── Plugins
│ ├── Android.meta
│ └── Android
│ │ ├── AndroidManifest.xml
│ │ ├── AndroidManifest.xml.meta
│ │ ├── NFCPluginTutorial.jar
│ │ ├── NFCPluginTutorial.jar.meta
│ │ ├── build.xml
│ │ ├── build.xml.meta
│ │ ├── com.meta
│ │ ├── com
│ │ ├── twinsprite.meta
│ │ └── twinsprite
│ │ │ ├── nfcplugin.meta
│ │ │ └── nfcplugin
│ │ │ ├── NFCPluginTest.java
│ │ │ └── NFCPluginTest.java.meta
│ │ ├── libs.meta
│ │ └── libs
│ │ ├── guava-17.0.jar
│ │ └── guava-17.0.jar.meta
├── Scenes.meta
├── Scenes
│ ├── NFCPlugin.unity
│ └── NFCPlugin.unity.meta
├── Scripts.meta
└── Scripts
│ ├── NFCExample.cs
│ └── NFCExample.cs.meta
├── ProjectSettings
├── AudioManager.asset
├── DynamicsManager.asset
├── EditorBuildSettings.asset
├── EditorSettings.asset
├── GraphicsSettings.asset
├── InputManager.asset
├── NavMeshLayers.asset
├── NetworkManager.asset
├── Physics2DSettings.asset
├── ProjectSettings.asset
├── QualitySettings.asset
├── TagManager.asset
└── TimeManager.asset
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # =============== #
2 | # Unity generated #
3 | # =============== #
4 | Temp/
5 | Obj/
6 | UnityGenerated/
7 | Library/
8 |
9 | # ===================================== #
10 | # Visual Studio / MonoDevelop generated #
11 | # ===================================== #
12 | ExportedObj/
13 | *.svd
14 | *.userprefs
15 | *.csproj
16 | *.pidb
17 | *.suo
18 | *.sln
19 | *.user
20 | *.unityproj
21 | *.booproj
22 |
23 | # ============ #
24 | # OS generated #
25 | # ============ #
26 | .DS_Store
27 | .DS_Store?
28 | ._*
29 | .Spotlight-V100
30 | .Trashes
31 | Icon?
32 | ehthumbs.db
33 | Thumbs.db
--------------------------------------------------------------------------------
/Assets/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 20401f765b7454f60b2c40e0cc6d58bc
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f01eb835fb3e4221bb0d53aa6f1f3fd
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
18 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/AndroidManifest.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 82d0f24c9a8ee4adfbb03e12b021a9cf
3 | TextScriptImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/NFCPluginTutorial.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pablomartinezalvarez/unity-android-nfc-plugin/cb4079fdff62749929fb5371044e3184b92b7410/Assets/Plugins/Android/NFCPluginTutorial.jar
--------------------------------------------------------------------------------
/Assets/Plugins/Android/NFCPluginTutorial.jar.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 50c4055d4b3b0400fbb8b2a578c3622a
3 | DefaultImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
15 |
16 |
17 |
18 | Creating output directory: ${output.dir}
19 |
20 |
21 |
22 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
36 |
37 |
38 | Removing post-build-jar-clean
39 |
40 |
41 |
42 |
43 |
44 |
45 | Android Ant Build for Unity Android Plugin
46 | message: Displays this message.
47 | clean: Removes output files created by other targets.
48 | compile: Compiles project's .java files into .class files.
49 | build-jar: Compiles project's .class files into .jar file.
50 |
51 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/build.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0ef1940c76b6d42a5a618514d1bf3bda
3 | TextScriptImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/com.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ad7fd8e4a57714e2aa4d395c802e66df
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/com/twinsprite.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 951f8b7c6ec2449f0a83da92b4aabd4e
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/com/twinsprite/nfcplugin.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fa0c8d83af55c4c08bda0ec7742fe906
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/com/twinsprite/nfcplugin/NFCPluginTest.java:
--------------------------------------------------------------------------------
1 | package com.twinsprite.nfcplugin;
2 |
3 | import java.nio.charset.Charset;
4 | import java.util.Arrays;
5 |
6 | import android.app.PendingIntent;
7 | import android.content.Intent;
8 | import android.content.IntentFilter;
9 | import android.nfc.NdefMessage;
10 | import android.nfc.NdefRecord;
11 | import android.nfc.NfcAdapter;
12 | import android.nfc.Tag;
13 | import android.nfc.tech.NfcF;
14 | import android.os.Bundle;
15 | import android.os.Parcelable;
16 | import android.util.Log;
17 |
18 | import com.google.common.collect.BiMap;
19 | import com.google.common.collect.ImmutableBiMap;
20 | import com.google.common.primitives.Bytes;
21 | import com.unity3d.player.UnityPlayerActivity;
22 |
23 | public class NFCPluginTest extends UnityPlayerActivity {
24 |
25 | public static final String MIME_TEXT_PLAIN = "text/plain";
26 |
27 | private static final BiMap URI_PREFIX_MAP = ImmutableBiMap.builder().put((byte) 0x00, "")
28 | .put((byte) 0x01, "http://www.").put((byte) 0x02, "https://www.").put((byte) 0x03, "http://")
29 | .put((byte) 0x04, "https://").put((byte) 0x05, "tel:").put((byte) 0x06, "mailto:")
30 | .put((byte) 0x07, "ftp://anonymous:anonymous@").put((byte) 0x08, "ftp://ftp.").put((byte) 0x09, "ftps://")
31 | .put((byte) 0x0A, "sftp://").put((byte) 0x0B, "smb://").put((byte) 0x0C, "nfs://")
32 | .put((byte) 0x0D, "ftp://").put((byte) 0x0E, "dav://").put((byte) 0x0F, "news:")
33 | .put((byte) 0x10, "telnet://").put((byte) 0x11, "imap:").put((byte) 0x12, "rtsp://")
34 | .put((byte) 0x13, "urn:").put((byte) 0x14, "pop:").put((byte) 0x15, "sip:").put((byte) 0x16, "sips:")
35 | .put((byte) 0x17, "tftp:").put((byte) 0x18, "btspp://").put((byte) 0x19, "btl2cap://")
36 | .put((byte) 0x1A, "btgoep://").put((byte) 0x1B, "tcpobex://").put((byte) 0x1C, "irdaobex://")
37 | .put((byte) 0x1D, "file://").put((byte) 0x1E, "urn:epc:id:").put((byte) 0x1F, "urn:epc:tag:")
38 | .put((byte) 0x20, "urn:epc:pat:").put((byte) 0x21, "urn:epc:raw:").put((byte) 0x22, "urn:epc:")
39 | .put((byte) 0x23, "urn:nfc:").build();
40 |
41 | private NfcAdapter mNfcAdapter;
42 |
43 | private PendingIntent pendingIntent;
44 |
45 | private IntentFilter[] mIntentFilter;
46 |
47 | private static String value = "";
48 |
49 | private String[][] techListsArray;
50 |
51 | @Override
52 | protected void onCreate(Bundle savedInstanceState) {
53 | super.onCreate(savedInstanceState);
54 |
55 | // Foreground Dispatch: 1. Creates a PendingIntent object so the Android
56 | // system can populate it with the details of the tag when it is
57 | // scanned.
58 | pendingIntent = PendingIntent.getActivity(NFCPluginTest.this, 0,
59 | new Intent(NFCPluginTest.this, getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP), 0);
60 |
61 | // Foreground Dispatch: 2. Declare intent filters to handle the intents
62 | // that you want to intercept
63 | mIntentFilter = new IntentFilter[] { new IntentFilter(NfcAdapter.ACTION_TAG_DISCOVERED) };
64 |
65 | // Foreground Dispatch: 3. Set up an array of tag technologies that your
66 | // application wants to handle.
67 | techListsArray = new String[][] { new String[] { NfcF.class.getName() } };
68 |
69 | mNfcAdapter = NfcAdapter.getDefaultAdapter(this);
70 | if (mNfcAdapter == null) {
71 | Log.e(NFCPluginTest.class.toString(), "This device doesn't support NFC.");
72 | finish();
73 | return;
74 | }
75 |
76 | if (!mNfcAdapter.isEnabled()) {
77 | Log.e(NFCPluginTest.class.toString(), "NFC is disabled.");
78 | } else {
79 | Log.i(NFCPluginTest.class.toString(), "NFC reader initialized.");
80 | }
81 | }
82 |
83 | @Override
84 | public void onResume() {
85 | super.onResume();
86 | mNfcAdapter.enableForegroundDispatch(this, pendingIntent, mIntentFilter, techListsArray);
87 | }
88 |
89 | @Override
90 | public void onPause() {
91 | super.onPause();
92 | mNfcAdapter.disableForegroundDispatch(this);
93 | }
94 |
95 | @Override
96 | protected void onNewIntent(Intent intent) {
97 | super.onNewIntent(intent);
98 | handleIntent(intent);
99 | }
100 |
101 | private void handleIntent(Intent intent) {
102 |
103 | Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
104 | if (tag != null) {
105 |
106 | // parse through all NDEF messages and their records and pick text
107 | // type only
108 | Parcelable[] data = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);
109 |
110 | String s = "";
111 |
112 | if (data != null) {
113 | try {
114 | for (int i = 0; i < data.length; i++) {
115 | NdefRecord[] recs = ((NdefMessage) data[i]).getRecords();
116 | for (int j = 0; j < recs.length; j++) {
117 | if (recs[j].getTnf() == NdefRecord.TNF_WELL_KNOWN
118 | && Arrays.equals(recs[j].getType(), NdefRecord.RTD_TEXT)) {
119 | /*
120 | * See NFC forum specification for
121 | * "Text Record Type Definition" at 3.2.1
122 | *
123 | * http://www.nfc-forum.org/specs/
124 | *
125 | * bit_7 defines encoding bit_6 reserved for
126 | * future use, must be 0 bit_5..0 length of IANA
127 | * language code
128 | */
129 | byte[] payload = recs[j].getPayload();
130 | String textEncoding = ((payload[0] & 0200) == 0) ? "UTF-8" : "UTF-16";
131 | int langCodeLen = payload[0] & 0077;
132 | s += new String(payload, langCodeLen + 1, payload.length - langCodeLen - 1,
133 | textEncoding);
134 | } else if (recs[j].getTnf() == NdefRecord.TNF_WELL_KNOWN
135 | && Arrays.equals(recs[j].getType(), NdefRecord.RTD_URI)) {
136 | /*
137 | * See NFC forum specification for
138 | * "URI Record Type Definition" at 3.2.2
139 | *
140 | * http://www.nfc-forum.org/specs/
141 | *
142 | * payload[0] contains the URI Identifier Code
143 | * payload[1]...payload[payload.length - 1]
144 | * contains the rest of the URI.
145 | */
146 | byte[] payload = recs[j].getPayload();
147 | String prefix = (String) URI_PREFIX_MAP.get(payload[0]);
148 | byte[] fullUri = Bytes.concat(prefix.getBytes(Charset.forName("UTF-8")),
149 | Arrays.copyOfRange(payload, 1, payload.length));
150 | s += new String(fullUri, Charset.forName("UTF-8"));
151 | }
152 | }
153 | }
154 | } catch (Exception e) {
155 | value = e.getMessage();
156 | Log.e(NFCPluginTest.class.toString(), e.getMessage());
157 | }
158 | }
159 | Log.i(NFCPluginTest.class.toString(), s);
160 | value = s;
161 | }
162 | }
163 |
164 | public static String getValue() {
165 | return value;
166 | }
167 | }
--------------------------------------------------------------------------------
/Assets/Plugins/Android/com/twinsprite/nfcplugin/NFCPluginTest.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0e46549c14a6049c1af7c8a0e9da5441
3 | DefaultImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/libs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f4ba7f18de6034b48b65633f7ee55a96
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Plugins/Android/libs/guava-17.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pablomartinezalvarez/unity-android-nfc-plugin/cb4079fdff62749929fb5371044e3184b92b7410/Assets/Plugins/Android/libs/guava-17.0.jar
--------------------------------------------------------------------------------
/Assets/Plugins/Android/libs/guava-17.0.jar.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3450dde8c83a64d83b200139f80a60a2
3 | DefaultImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d4ef3e4dec44a45e1868d689bac04bec
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Scenes/NFCPlugin.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | SceneSettings:
5 | m_ObjectHideFlags: 0
6 | m_PVSData:
7 | m_PVSObjectsArray: []
8 | m_PVSPortalsArray: []
9 | m_OcclusionBakeSettings:
10 | smallestOccluder: 5
11 | smallestHole: .25
12 | backfaceThreshold: 100
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_Fog: 0
16 | m_FogColor: {r: .5, g: .5, b: .5, a: 1}
17 | m_FogMode: 3
18 | m_FogDensity: .00999999978
19 | m_LinearFogStart: 0
20 | m_LinearFogEnd: 300
21 | m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1}
22 | m_SkyboxMaterial: {fileID: 0}
23 | m_HaloStrength: .5
24 | m_FlareStrength: 1
25 | m_FlareFadeSpeed: 3
26 | m_HaloTexture: {fileID: 0}
27 | m_SpotCookie: {fileID: 0}
28 | m_ObjectHideFlags: 0
29 | --- !u!127 &3
30 | LevelGameManager:
31 | m_ObjectHideFlags: 0
32 | --- !u!157 &4
33 | LightmapSettings:
34 | m_ObjectHideFlags: 0
35 | m_LightProbes: {fileID: 0}
36 | m_Lightmaps: []
37 | m_LightmapsMode: 1
38 | m_BakedColorSpace: 0
39 | m_UseDualLightmapsInForward: 0
40 | m_LightmapEditorSettings:
41 | m_Resolution: 50
42 | m_LastUsedResolution: 0
43 | m_TextureWidth: 1024
44 | m_TextureHeight: 1024
45 | m_BounceBoost: 1
46 | m_BounceIntensity: 1
47 | m_SkyLightColor: {r: .860000014, g: .930000007, b: 1, a: 1}
48 | m_SkyLightIntensity: 0
49 | m_Quality: 0
50 | m_Bounces: 1
51 | m_FinalGatherRays: 1000
52 | m_FinalGatherContrastThreshold: .0500000007
53 | m_FinalGatherGradientThreshold: 0
54 | m_FinalGatherInterpolationPoints: 15
55 | m_AOAmount: 0
56 | m_AOMaxDistance: .100000001
57 | m_AOContrast: 1
58 | m_LODSurfaceMappingDistance: 1
59 | m_Padding: 0
60 | m_TextureCompression: 0
61 | m_LockAtlas: 0
62 | --- !u!196 &5
63 | NavMeshSettings:
64 | m_ObjectHideFlags: 0
65 | m_BuildSettings:
66 | agentRadius: .5
67 | agentHeight: 2
68 | agentSlope: 45
69 | agentClimb: .400000006
70 | ledgeDropHeight: 0
71 | maxJumpAcrossDistance: 0
72 | accuratePlacement: 0
73 | minRegionArea: 2
74 | widthInaccuracy: 16.666666
75 | heightInaccuracy: 10
76 | m_NavMesh: {fileID: 0}
77 | --- !u!1 &587974387
78 | GameObject:
79 | m_ObjectHideFlags: 0
80 | m_PrefabParentObject: {fileID: 0}
81 | m_PrefabInternal: {fileID: 0}
82 | serializedVersion: 4
83 | m_Component:
84 | - 4: {fileID: 587974393}
85 | - 20: {fileID: 587974392}
86 | - 92: {fileID: 587974391}
87 | - 124: {fileID: 587974390}
88 | - 81: {fileID: 587974389}
89 | - 114: {fileID: 587974388}
90 | m_Layer: 0
91 | m_Name: Main Camera
92 | m_TagString: MainCamera
93 | m_Icon: {fileID: 0}
94 | m_NavMeshLayer: 0
95 | m_StaticEditorFlags: 0
96 | m_IsActive: 1
97 | --- !u!114 &587974388
98 | MonoBehaviour:
99 | m_ObjectHideFlags: 0
100 | m_PrefabParentObject: {fileID: 0}
101 | m_PrefabInternal: {fileID: 0}
102 | m_GameObject: {fileID: 587974387}
103 | m_Enabled: 1
104 | m_EditorHideFlags: 0
105 | m_Script: {fileID: 11500000, guid: 9cb8169bd176a46c5aad8a563f51a232, type: 3}
106 | m_Name:
107 | m_EditorClassIdentifier:
108 | nfc_output_text: {fileID: 2117169540}
109 | --- !u!81 &587974389
110 | AudioListener:
111 | m_ObjectHideFlags: 0
112 | m_PrefabParentObject: {fileID: 0}
113 | m_PrefabInternal: {fileID: 0}
114 | m_GameObject: {fileID: 587974387}
115 | m_Enabled: 1
116 | --- !u!124 &587974390
117 | Behaviour:
118 | m_ObjectHideFlags: 0
119 | m_PrefabParentObject: {fileID: 0}
120 | m_PrefabInternal: {fileID: 0}
121 | m_GameObject: {fileID: 587974387}
122 | m_Enabled: 1
123 | --- !u!92 &587974391
124 | Behaviour:
125 | m_ObjectHideFlags: 0
126 | m_PrefabParentObject: {fileID: 0}
127 | m_PrefabInternal: {fileID: 0}
128 | m_GameObject: {fileID: 587974387}
129 | m_Enabled: 1
130 | --- !u!20 &587974392
131 | Camera:
132 | m_ObjectHideFlags: 0
133 | m_PrefabParentObject: {fileID: 0}
134 | m_PrefabInternal: {fileID: 0}
135 | m_GameObject: {fileID: 587974387}
136 | m_Enabled: 1
137 | serializedVersion: 2
138 | m_ClearFlags: 1
139 | m_BackGroundColor: {r: .192156866, g: .301960796, b: .474509805, a: .0196078438}
140 | m_NormalizedViewPortRect:
141 | serializedVersion: 2
142 | x: 0
143 | y: 0
144 | width: 1
145 | height: 1
146 | near clip plane: .300000012
147 | far clip plane: 1000
148 | field of view: 60
149 | orthographic: 1
150 | orthographic size: 5
151 | m_Depth: -1
152 | m_CullingMask:
153 | serializedVersion: 2
154 | m_Bits: 4294967295
155 | m_RenderingPath: -1
156 | m_TargetTexture: {fileID: 0}
157 | m_HDR: 0
158 | m_OcclusionCulling: 1
159 | --- !u!4 &587974393
160 | Transform:
161 | m_ObjectHideFlags: 0
162 | m_PrefabParentObject: {fileID: 0}
163 | m_PrefabInternal: {fileID: 0}
164 | m_GameObject: {fileID: 587974387}
165 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
166 | m_LocalPosition: {x: 0, y: 1, z: -10}
167 | m_LocalScale: {x: 1, y: 1, z: 1}
168 | m_Children: []
169 | m_Father: {fileID: 0}
170 | --- !u!1 &2117169539
171 | GameObject:
172 | m_ObjectHideFlags: 0
173 | m_PrefabParentObject: {fileID: 0}
174 | m_PrefabInternal: {fileID: 0}
175 | serializedVersion: 4
176 | m_Component:
177 | - 4: {fileID: 2117169541}
178 | - 132: {fileID: 2117169540}
179 | m_Layer: 0
180 | m_Name: GUI Text
181 | m_TagString: Untagged
182 | m_Icon: {fileID: 0}
183 | m_NavMeshLayer: 0
184 | m_StaticEditorFlags: 0
185 | m_IsActive: 1
186 | --- !u!132 &2117169540
187 | GUIText:
188 | m_ObjectHideFlags: 0
189 | m_PrefabParentObject: {fileID: 0}
190 | m_PrefabInternal: {fileID: 0}
191 | m_GameObject: {fileID: 2117169539}
192 | m_Enabled: 1
193 | serializedVersion: 3
194 | m_Text: Gui Text
195 | m_Anchor: 4
196 | m_Alignment: 1
197 | m_PixelOffset: {x: 0, y: 0}
198 | m_LineSpacing: 1
199 | m_TabSize: 4
200 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
201 | m_Material: {fileID: 0}
202 | m_FontSize: 0
203 | m_FontStyle: 0
204 | m_Color:
205 | serializedVersion: 2
206 | rgba: 4294967295
207 | m_PixelCorrect: 1
208 | m_RichText: 1
209 | --- !u!4 &2117169541
210 | Transform:
211 | m_ObjectHideFlags: 0
212 | m_PrefabParentObject: {fileID: 0}
213 | m_PrefabInternal: {fileID: 0}
214 | m_GameObject: {fileID: 2117169539}
215 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
216 | m_LocalPosition: {x: .5, y: .5, z: .5}
217 | m_LocalScale: {x: 1, y: 1, z: 1}
218 | m_Children: []
219 | m_Father: {fileID: 0}
220 |
--------------------------------------------------------------------------------
/Assets/Scenes/NFCPlugin.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e0575f078cdae49fe8ab951fff66437e
3 | DefaultImporter:
4 | userData:
5 |
--------------------------------------------------------------------------------
/Assets/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b55f3084caee64e1d89d5962ff83b4c6
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/Scripts/NFCExample.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | public class NFCExample : MonoBehaviour
5 | {
6 | public GUIText nfc_output_text;
7 | AndroidJavaClass pluginTutorialActivityJavaClass;
8 |
9 | void Start ()
10 | {
11 | AndroidJNI.AttachCurrentThread ();
12 | pluginTutorialActivityJavaClass = new AndroidJavaClass ("com.twinsprite.nfcplugin.NFCPluginTest");
13 | }
14 |
15 | void Update ()
16 | {
17 | string value = pluginTutorialActivityJavaClass.CallStatic ("getValue");
18 | nfc_output_text.text = "Value:\n" + value;
19 | }
20 | }
--------------------------------------------------------------------------------
/Assets/Scripts/NFCExample.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9cb8169bd176a46c5aad8a563f51a232
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | m_Volume: 1
7 | Rolloff Scale: 1
8 | m_SpeedOfSound: 347
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_DSPBufferSize: 0
12 | m_DisableAudio: 0
13 |
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | m_Gravity: {x: 0, y: -9.81000042, z: 0}
7 | m_DefaultMaterial: {fileID: 0}
8 | m_BounceThreshold: 2
9 | m_SleepVelocity: .150000006
10 | m_SleepAngularVelocity: .140000001
11 | m_MaxAngularVelocity: 7
12 | m_MinPenetrationForPenalty: .00999999978
13 | m_SolverIterationCount: 6
14 | m_RaycastsHitTriggers: 1
15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
16 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes:
8 | - enabled: 1
9 | path: Assets/Scenes/NFCPlugin.unity
10 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 3
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_WebSecurityEmulationEnabled: 0
10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d
11 | m_DefaultBehaviorMode: 1
12 | m_SpritePackerMode: 0
13 |
--------------------------------------------------------------------------------
/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | m_AlwaysIncludedShaders:
7 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
8 |
--------------------------------------------------------------------------------
/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!13 &1
4 | InputManager:
5 | m_ObjectHideFlags: 0
6 | m_Axes:
7 | - serializedVersion: 3
8 | m_Name: Horizontal
9 | descriptiveName:
10 | descriptiveNegativeName:
11 | negativeButton: left
12 | positiveButton: right
13 | altNegativeButton: a
14 | altPositiveButton: d
15 | gravity: 3
16 | dead: .00100000005
17 | sensitivity: 3
18 | snap: 1
19 | invert: 0
20 | type: 0
21 | axis: 0
22 | joyNum: 0
23 | - serializedVersion: 3
24 | m_Name: Vertical
25 | descriptiveName:
26 | descriptiveNegativeName:
27 | negativeButton: down
28 | positiveButton: up
29 | altNegativeButton: s
30 | altPositiveButton: w
31 | gravity: 3
32 | dead: .00100000005
33 | sensitivity: 3
34 | snap: 1
35 | invert: 0
36 | type: 0
37 | axis: 0
38 | joyNum: 0
39 | - serializedVersion: 3
40 | m_Name: Fire1
41 | descriptiveName:
42 | descriptiveNegativeName:
43 | negativeButton:
44 | positiveButton: left ctrl
45 | altNegativeButton:
46 | altPositiveButton: mouse 0
47 | gravity: 1000
48 | dead: .00100000005
49 | sensitivity: 1000
50 | snap: 0
51 | invert: 0
52 | type: 0
53 | axis: 0
54 | joyNum: 0
55 | - serializedVersion: 3
56 | m_Name: Fire2
57 | descriptiveName:
58 | descriptiveNegativeName:
59 | negativeButton:
60 | positiveButton: left alt
61 | altNegativeButton:
62 | altPositiveButton: mouse 1
63 | gravity: 1000
64 | dead: .00100000005
65 | sensitivity: 1000
66 | snap: 0
67 | invert: 0
68 | type: 0
69 | axis: 0
70 | joyNum: 0
71 | - serializedVersion: 3
72 | m_Name: Fire3
73 | descriptiveName:
74 | descriptiveNegativeName:
75 | negativeButton:
76 | positiveButton: left cmd
77 | altNegativeButton:
78 | altPositiveButton: mouse 2
79 | gravity: 1000
80 | dead: .00100000005
81 | sensitivity: 1000
82 | snap: 0
83 | invert: 0
84 | type: 0
85 | axis: 0
86 | joyNum: 0
87 | - serializedVersion: 3
88 | m_Name: Jump
89 | descriptiveName:
90 | descriptiveNegativeName:
91 | negativeButton:
92 | positiveButton: space
93 | altNegativeButton:
94 | altPositiveButton:
95 | gravity: 1000
96 | dead: .00100000005
97 | sensitivity: 1000
98 | snap: 0
99 | invert: 0
100 | type: 0
101 | axis: 0
102 | joyNum: 0
103 | - serializedVersion: 3
104 | m_Name: Mouse X
105 | descriptiveName:
106 | descriptiveNegativeName:
107 | negativeButton:
108 | positiveButton:
109 | altNegativeButton:
110 | altPositiveButton:
111 | gravity: 0
112 | dead: 0
113 | sensitivity: .100000001
114 | snap: 0
115 | invert: 0
116 | type: 1
117 | axis: 0
118 | joyNum: 0
119 | - serializedVersion: 3
120 | m_Name: Mouse Y
121 | descriptiveName:
122 | descriptiveNegativeName:
123 | negativeButton:
124 | positiveButton:
125 | altNegativeButton:
126 | altPositiveButton:
127 | gravity: 0
128 | dead: 0
129 | sensitivity: .100000001
130 | snap: 0
131 | invert: 0
132 | type: 1
133 | axis: 1
134 | joyNum: 0
135 | - serializedVersion: 3
136 | m_Name: Mouse ScrollWheel
137 | descriptiveName:
138 | descriptiveNegativeName:
139 | negativeButton:
140 | positiveButton:
141 | altNegativeButton:
142 | altPositiveButton:
143 | gravity: 0
144 | dead: 0
145 | sensitivity: .100000001
146 | snap: 0
147 | invert: 0
148 | type: 1
149 | axis: 2
150 | joyNum: 0
151 | - serializedVersion: 3
152 | m_Name: Horizontal
153 | descriptiveName:
154 | descriptiveNegativeName:
155 | negativeButton:
156 | positiveButton:
157 | altNegativeButton:
158 | altPositiveButton:
159 | gravity: 0
160 | dead: .189999998
161 | sensitivity: 1
162 | snap: 0
163 | invert: 0
164 | type: 2
165 | axis: 0
166 | joyNum: 0
167 | - serializedVersion: 3
168 | m_Name: Vertical
169 | descriptiveName:
170 | descriptiveNegativeName:
171 | negativeButton:
172 | positiveButton:
173 | altNegativeButton:
174 | altPositiveButton:
175 | gravity: 0
176 | dead: .189999998
177 | sensitivity: 1
178 | snap: 0
179 | invert: 1
180 | type: 2
181 | axis: 1
182 | joyNum: 0
183 | - serializedVersion: 3
184 | m_Name: Fire1
185 | descriptiveName:
186 | descriptiveNegativeName:
187 | negativeButton:
188 | positiveButton: joystick button 0
189 | altNegativeButton:
190 | altPositiveButton:
191 | gravity: 1000
192 | dead: .00100000005
193 | sensitivity: 1000
194 | snap: 0
195 | invert: 0
196 | type: 0
197 | axis: 0
198 | joyNum: 0
199 | - serializedVersion: 3
200 | m_Name: Fire2
201 | descriptiveName:
202 | descriptiveNegativeName:
203 | negativeButton:
204 | positiveButton: joystick button 1
205 | altNegativeButton:
206 | altPositiveButton:
207 | gravity: 1000
208 | dead: .00100000005
209 | sensitivity: 1000
210 | snap: 0
211 | invert: 0
212 | type: 0
213 | axis: 0
214 | joyNum: 0
215 | - serializedVersion: 3
216 | m_Name: Fire3
217 | descriptiveName:
218 | descriptiveNegativeName:
219 | negativeButton:
220 | positiveButton: joystick button 2
221 | altNegativeButton:
222 | altPositiveButton:
223 | gravity: 1000
224 | dead: .00100000005
225 | sensitivity: 1000
226 | snap: 0
227 | invert: 0
228 | type: 0
229 | axis: 0
230 | joyNum: 0
231 | - serializedVersion: 3
232 | m_Name: Jump
233 | descriptiveName:
234 | descriptiveNegativeName:
235 | negativeButton:
236 | positiveButton: joystick button 3
237 | altNegativeButton:
238 | altPositiveButton:
239 | gravity: 1000
240 | dead: .00100000005
241 | sensitivity: 1000
242 | snap: 0
243 | invert: 0
244 | type: 0
245 | axis: 0
246 | joyNum: 0
247 |
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshLayers.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshLayers:
5 | m_ObjectHideFlags: 0
6 | Built-in Layer 0:
7 | name: Default
8 | cost: 1
9 | editType: 2
10 | Built-in Layer 1:
11 | name: Not Walkable
12 | cost: 1
13 | editType: 0
14 | Built-in Layer 2:
15 | name: Jump
16 | cost: 2
17 | editType: 2
18 | User Layer 0:
19 | name:
20 | cost: 1
21 | editType: 3
22 | User Layer 1:
23 | name:
24 | cost: 1
25 | editType: 3
26 | User Layer 2:
27 | name:
28 | cost: 1
29 | editType: 3
30 | User Layer 3:
31 | name:
32 | cost: 1
33 | editType: 3
34 | User Layer 4:
35 | name:
36 | cost: 1
37 | editType: 3
38 | User Layer 5:
39 | name:
40 | cost: 1
41 | editType: 3
42 | User Layer 6:
43 | name:
44 | cost: 1
45 | editType: 3
46 | User Layer 7:
47 | name:
48 | cost: 1
49 | editType: 3
50 | User Layer 8:
51 | name:
52 | cost: 1
53 | editType: 3
54 | User Layer 9:
55 | name:
56 | cost: 1
57 | editType: 3
58 | User Layer 10:
59 | name:
60 | cost: 1
61 | editType: 3
62 | User Layer 11:
63 | name:
64 | cost: 1
65 | editType: 3
66 | User Layer 12:
67 | name:
68 | cost: 1
69 | editType: 3
70 | User Layer 13:
71 | name:
72 | cost: 1
73 | editType: 3
74 | User Layer 14:
75 | name:
76 | cost: 1
77 | editType: 3
78 | User Layer 15:
79 | name:
80 | cost: 1
81 | editType: 3
82 | User Layer 16:
83 | name:
84 | cost: 1
85 | editType: 3
86 | User Layer 17:
87 | name:
88 | cost: 1
89 | editType: 3
90 | User Layer 18:
91 | name:
92 | cost: 1
93 | editType: 3
94 | User Layer 19:
95 | name:
96 | cost: 1
97 | editType: 3
98 | User Layer 20:
99 | name:
100 | cost: 1
101 | editType: 3
102 | User Layer 21:
103 | name:
104 | cost: 1
105 | editType: 3
106 | User Layer 22:
107 | name:
108 | cost: 1
109 | editType: 3
110 | User Layer 23:
111 | name:
112 | cost: 1
113 | editType: 3
114 | User Layer 24:
115 | name:
116 | cost: 1
117 | editType: 3
118 | User Layer 25:
119 | name:
120 | cost: 1
121 | editType: 3
122 | User Layer 26:
123 | name:
124 | cost: 1
125 | editType: 3
126 | User Layer 27:
127 | name:
128 | cost: 1
129 | editType: 3
130 | User Layer 28:
131 | name:
132 | cost: 1
133 | editType: 3
134 |
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | m_Gravity: {x: 0, y: -9.81000042}
7 | m_DefaultMaterial: {fileID: 0}
8 | m_VelocityIterations: 8
9 | m_PositionIterations: 3
10 | m_RaycastsHitTriggers: 1
11 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
12 |
--------------------------------------------------------------------------------
/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!129 &1
4 | PlayerSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | AndroidProfiler: 0
8 | defaultScreenOrientation: 4
9 | targetDevice: 2
10 | targetGlesGraphics: 1
11 | targetResolution: 0
12 | accelerometerFrequency: 60
13 | companyName: Twinsprite
14 | productName: NFCPlugin
15 | defaultCursor: {fileID: 0}
16 | cursorHotspot: {x: 0, y: 0}
17 | defaultScreenWidth: 1024
18 | defaultScreenHeight: 768
19 | defaultScreenWidthWeb: 960
20 | defaultScreenHeightWeb: 600
21 | m_RenderingPath: 1
22 | m_MobileRenderingPath: 1
23 | m_ActiveColorSpace: 0
24 | m_MTRendering: 1
25 | m_MobileMTRendering: 0
26 | m_UseDX11: 0
27 | iosShowActivityIndicatorOnLoading: -1
28 | androidShowActivityIndicatorOnLoading: -1
29 | displayResolutionDialog: 1
30 | allowedAutorotateToPortrait: 1
31 | allowedAutorotateToPortraitUpsideDown: 1
32 | allowedAutorotateToLandscapeRight: 1
33 | allowedAutorotateToLandscapeLeft: 1
34 | useOSAutorotation: 1
35 | use32BitDisplayBuffer: 1
36 | use24BitDepthBuffer: 1
37 | defaultIsFullScreen: 1
38 | defaultIsNativeResolution: 1
39 | runInBackground: 0
40 | captureSingleScreen: 0
41 | Override IPod Music: 0
42 | Prepare IOS For Recording: 0
43 | enableHWStatistics: 1
44 | usePlayerLog: 1
45 | stripPhysics: 0
46 | forceSingleInstance: 0
47 | resizableWindow: 0
48 | useMacAppStoreValidation: 0
49 | gpuSkinning: 0
50 | xboxPIXTextureCapture: 0
51 | xboxEnableAvatar: 0
52 | xboxEnableKinect: 0
53 | xboxEnableKinectAutoTracking: 0
54 | xboxEnableFitness: 0
55 | macFullscreenMode: 2
56 | xboxSpeechDB: 0
57 | xboxEnableHeadOrientation: 0
58 | xboxEnableGuest: 0
59 | wiiHio2Usage: -1
60 | wiiLoadingScreenRectPlacement: 0
61 | wiiLoadingScreenBackground: {r: 1, g: 1, b: 1, a: 1}
62 | wiiLoadingScreenPeriod: 1000
63 | wiiLoadingScreenFileName:
64 | wiiLoadingScreenRect:
65 | serializedVersion: 2
66 | x: 0
67 | y: 0
68 | width: 0
69 | height: 0
70 | m_SupportedAspectRatios:
71 | 4:3: 1
72 | 5:4: 1
73 | 16:10: 1
74 | 16:9: 1
75 | Others: 1
76 | iPhoneBundleIdentifier: com.twinsprite.nfcplugin
77 | metroEnableIndependentInputSource: 0
78 | metroEnableLowLatencyPresentationAPI: 0
79 | productGUID: e43684654561b457b9c693fe45b4ea00
80 | iPhoneBundleVersion: 1.0
81 | AndroidBundleVersionCode: 1
82 | AndroidMinSdkVersion: 9
83 | AndroidPreferredInstallLocation: 1
84 | aotOptions:
85 | apiCompatibilityLevel: 2
86 | iPhoneStrippingLevel: 0
87 | iPhoneScriptCallOptimization: 0
88 | ForceInternetPermission: 0
89 | ForceSDCardPermission: 0
90 | CreateWallpaper: 0
91 | APKExpansionFiles: 0
92 | StripUnusedMeshComponents: 0
93 | iPhoneSdkVersion: 988
94 | iPhoneTargetOSVersion: 16
95 | uIPrerenderedIcon: 0
96 | uIRequiresPersistentWiFi: 0
97 | uIStatusBarHidden: 1
98 | uIExitOnSuspend: 0
99 | uIStatusBarStyle: 0
100 | iPhoneSplashScreen: {fileID: 0}
101 | iPhoneHighResSplashScreen: {fileID: 0}
102 | iPhoneTallHighResSplashScreen: {fileID: 0}
103 | iPadPortraitSplashScreen: {fileID: 0}
104 | iPadHighResPortraitSplashScreen: {fileID: 0}
105 | iPadLandscapeSplashScreen: {fileID: 0}
106 | iPadHighResLandscapeSplashScreen: {fileID: 0}
107 | AndroidTargetDevice: 0
108 | AndroidSplashScreenScale: 0
109 | AndroidKeystoreName:
110 | AndroidKeyaliasName:
111 | resolutionDialogBanner: {fileID: 0}
112 | m_BuildTargetIcons:
113 | - m_BuildTarget:
114 | m_Icons:
115 | - m_Icon: {fileID: 0}
116 | m_Size: 128
117 | m_BuildTargetBatching: []
118 | webPlayerTemplate: APPLICATION:Default
119 | m_TemplateCustomTags: {}
120 | wiiRegion: 1
121 | wiiGameCode: RABA
122 | wiiGameVersion:
123 | wiiCompanyCode: ZZ
124 | wiiSupportsNunchuk: 0
125 | wiiSupportsClassicController: 0
126 | wiiSupportsBalanceBoard: 0
127 | wiiSupportsMotionPlus: 0
128 | wiiControllerCount: 1
129 | wiiFloatingPointExceptions: 0
130 | wiiScreenCrashDumps: 1
131 | XboxTitleId:
132 | XboxImageXexPath:
133 | XboxSpaPath:
134 | XboxGenerateSpa: 0
135 | XboxDeployKinectResources: 0
136 | XboxSplashScreen: {fileID: 0}
137 | xboxEnableSpeech: 0
138 | xboxAdditionalTitleMemorySize: 0
139 | xboxDeployKinectHeadOrientation: 0
140 | xboxDeployKinectHeadPosition: 0
141 | ps3TitleConfigPath:
142 | ps3DLCConfigPath:
143 | ps3ThumbnailPath:
144 | ps3BackgroundPath:
145 | ps3SoundPath:
146 | ps3TrophyCommId:
147 | ps3NpCommunicationPassphrase:
148 | ps3TrophyPackagePath:
149 | ps3BootCheckMaxSaveGameSizeKB: 128
150 | ps3TrophyCommSig:
151 | ps3SaveGameSlots: 1
152 | ps3TrialMode: 0
153 | flashStrippingLevel: 2
154 | spritePackerPolicy:
155 | scriptingDefineSymbols: {}
156 | metroPackageName: NFCPlugin
157 | metroPackageLogo:
158 | metroPackageVersion:
159 | metroCertificatePath:
160 | metroCertificatePassword:
161 | metroCertificateSubject:
162 | metroCertificateIssuer:
163 | metroCertificateNotAfter: 0000000000000000
164 | metroApplicationDescription: NFCPlugin
165 | metroTileLogo:
166 | metroTileWideLogo:
167 | metroTileSmallLogo:
168 | metroTileShortName:
169 | metroCommandLineArgsFile:
170 | metroTileShowName: 1
171 | metroTileForegroundText: 1
172 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
173 | metroSplashScreenImage:
174 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
175 | metroSplashScreenUseBackgroundColor: 0
176 | metroCapabilities: {}
177 | metroUnprocessedPlugins: []
178 | metroCompilationOverrides: 1
179 | blackberryDeviceAddress:
180 | blackberryDevicePassword:
181 | blackberryTokenPath:
182 | blackberryTokenExires:
183 | blackberryTokenAuthor:
184 | blackberryTokenAuthorId:
185 | blackberryAuthorId:
186 | blackberryCskPassword:
187 | blackberrySaveLogPath:
188 | blackberryAuthorIdOveride: 0
189 | blackberrySharedPermissions: 0
190 | blackberryCameraPermissions: 0
191 | blackberryGPSPermissions: 0
192 | blackberryDeviceIDPermissions: 0
193 | blackberryMicrophonePermissions: 0
194 | blackberryGamepadSupport: 0
195 | blackberryBuildId: 0
196 | blackberryLandscapeSplashScreen: {fileID: 0}
197 | blackberryPortraitSplashScreen: {fileID: 0}
198 | blackberrySquareSplashScreen: {fileID: 0}
199 | tizenProductDescription:
200 | tizenProductURL:
201 | tizenCertificatePath:
202 | tizenCertificatePassword:
203 | tizenSaveLogPath:
204 | firstStreamedLevelWithResources: 0
205 | unityRebuildLibraryVersion: 9
206 | unityForwardCompatibleVersion: 39
207 | unityStandardAssetsVersion: 0
208 |
--------------------------------------------------------------------------------
/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!47 &1
4 | QualitySettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_CurrentQuality: 3
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: Fastest
11 | pixelLightCount: 0
12 | shadows: 0
13 | shadowResolution: 0
14 | shadowProjection: 1
15 | shadowCascades: 1
16 | shadowDistance: 15
17 | blendWeights: 1
18 | textureQuality: 1
19 | anisotropicTextures: 0
20 | antiAliasing: 0
21 | softParticles: 0
22 | softVegetation: 0
23 | vSyncCount: 0
24 | lodBias: .300000012
25 | maximumLODLevel: 0
26 | particleRaycastBudget: 4
27 | excludedTargetPlatforms: []
28 | - serializedVersion: 2
29 | name: Fast
30 | pixelLightCount: 0
31 | shadows: 0
32 | shadowResolution: 0
33 | shadowProjection: 1
34 | shadowCascades: 1
35 | shadowDistance: 20
36 | blendWeights: 2
37 | textureQuality: 0
38 | anisotropicTextures: 0
39 | antiAliasing: 0
40 | softParticles: 0
41 | softVegetation: 0
42 | vSyncCount: 0
43 | lodBias: .400000006
44 | maximumLODLevel: 0
45 | particleRaycastBudget: 16
46 | excludedTargetPlatforms: []
47 | - serializedVersion: 2
48 | name: Simple
49 | pixelLightCount: 1
50 | shadows: 1
51 | shadowResolution: 0
52 | shadowProjection: 1
53 | shadowCascades: 1
54 | shadowDistance: 20
55 | blendWeights: 2
56 | textureQuality: 0
57 | anisotropicTextures: 1
58 | antiAliasing: 0
59 | softParticles: 0
60 | softVegetation: 0
61 | vSyncCount: 0
62 | lodBias: .699999988
63 | maximumLODLevel: 0
64 | particleRaycastBudget: 64
65 | excludedTargetPlatforms: []
66 | - serializedVersion: 2
67 | name: Good
68 | pixelLightCount: 2
69 | shadows: 2
70 | shadowResolution: 1
71 | shadowProjection: 1
72 | shadowCascades: 2
73 | shadowDistance: 40
74 | blendWeights: 2
75 | textureQuality: 0
76 | anisotropicTextures: 1
77 | antiAliasing: 0
78 | softParticles: 0
79 | softVegetation: 1
80 | vSyncCount: 1
81 | lodBias: 1
82 | maximumLODLevel: 0
83 | particleRaycastBudget: 256
84 | excludedTargetPlatforms: []
85 | - serializedVersion: 2
86 | name: Beautiful
87 | pixelLightCount: 3
88 | shadows: 2
89 | shadowResolution: 2
90 | shadowProjection: 1
91 | shadowCascades: 2
92 | shadowDistance: 70
93 | blendWeights: 4
94 | textureQuality: 0
95 | anisotropicTextures: 2
96 | antiAliasing: 2
97 | softParticles: 1
98 | softVegetation: 1
99 | vSyncCount: 1
100 | lodBias: 1.5
101 | maximumLODLevel: 0
102 | particleRaycastBudget: 1024
103 | excludedTargetPlatforms: []
104 | - serializedVersion: 2
105 | name: Fantastic
106 | pixelLightCount: 4
107 | shadows: 2
108 | shadowResolution: 2
109 | shadowProjection: 1
110 | shadowCascades: 4
111 | shadowDistance: 150
112 | blendWeights: 4
113 | textureQuality: 0
114 | anisotropicTextures: 2
115 | antiAliasing: 2
116 | softParticles: 1
117 | softVegetation: 1
118 | vSyncCount: 1
119 | lodBias: 2
120 | maximumLODLevel: 0
121 | particleRaycastBudget: 4096
122 | excludedTargetPlatforms: []
123 | m_PerPlatformDefaultQuality:
124 | Android: 2
125 | BlackBerry: 2
126 | FlashPlayer: 3
127 | GLES Emulation: 3
128 | PS3: 3
129 | Standalone: 3
130 | Tizen: 2
131 | WP8: 3
132 | Web: 3
133 | Wii: 3
134 | Windows Store Apps: 3
135 | XBOX360: 3
136 | iPhone: 2
137 |
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | tags:
6 | -
7 | Builtin Layer 0: Default
8 | Builtin Layer 1: TransparentFX
9 | Builtin Layer 2: Ignore Raycast
10 | Builtin Layer 3:
11 | Builtin Layer 4: Water
12 | Builtin Layer 5:
13 | Builtin Layer 6:
14 | Builtin Layer 7:
15 | User Layer 8:
16 | User Layer 9:
17 | User Layer 10:
18 | User Layer 11:
19 | User Layer 12:
20 | User Layer 13:
21 | User Layer 14:
22 | User Layer 15:
23 | User Layer 16:
24 | User Layer 17:
25 | User Layer 18:
26 | User Layer 19:
27 | User Layer 20:
28 | User Layer 21:
29 | User Layer 22:
30 | User Layer 23:
31 | User Layer 24:
32 | User Layer 25:
33 | User Layer 26:
34 | User Layer 27:
35 | User Layer 28:
36 | User Layer 29:
37 | User Layer 30:
38 | User Layer 31:
39 | m_SortingLayers:
40 | - name: Default
41 | userID: 0
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: .0199999996
7 | Maximum Allowed Timestep: .333333343
8 | m_TimeScale: 1
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | unity-android-nfc-plugin
2 | ========================
3 |
4 | A simple NFC Android Java Plugin For Unity 3D.
5 |
6 | Please Check the [https://github.com/twisprite-developers/unity-nfc-plugin](https://github.com/twisprite-developers/unity-nfc-plugin) repo it includes an updated version of this project.
7 |
8 |
--------------------------------------------------------------------------------