almost ready
This commit is contained in:
parent
dc15bcfd69
commit
53d53fa5c7
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 79ff48a4583ed7640849617b72c8ab2b
|
||||
guid: 2090a2e551c1a0f4eb428d9656737c32
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f536aa2f1fee0b4429fbede21ccbc01b
|
||||
guid: c37cc38b72ea2d445841544292af450c
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a867bda5e78f9b4ba5fd0577ddf0899
|
||||
guid: 2dcbe8870a3837945acbc13d65b57abe
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0e367020ce4ae9342b4b956fcfbae7f2
|
||||
guid: e61381cef9126934aa9a4b3b624accba
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a8544a9fa19059c4c8d64d904936fd1e
|
||||
guid: e4af3447af6096f4e8f55230fd1e9248
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5712f9261e52a7a409c2a86bd2c2cb96
|
||||
guid: c7a954166d027184f94fc278b983ac6e
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2b24dfba6f3e78045b608340ba97035f
|
||||
guid: 20842b18e680b274d873b9404162cffa
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ca609baf87a81b040a0dd392a2157765
|
||||
guid: 64a3a7ccff498ba4b99520ba3dd4ca3b
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 16d0c0b54a7650c46a1053185c4ebd0c
|
||||
guid: 4a9361828b4ce7d4c879c78d9b52856c
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 95457351d6cfea046af4177436955495
|
||||
guid: edfe4791b6d6f90479f630a056350599
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 86f4db619b9f4b84891772ad2c196e37
|
||||
guid: 461f460ef258cd944b8e72bbc6688a44
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b02e305f0642ed341aba32f4c087a78a
|
||||
guid: 0ef91926c9439474ba0274db9feffd9c
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c3f3ea4c15ca7864eb9e66e94525208c
|
||||
guid: 38cdfa4264aeeb5479c9a632f4907016
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 71f811a2a7068bc4eb8dcb36d6f60104
|
||||
guid: a29eebbe22ec93d408302dfc1b3772cc
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec14c5a8279e87440aae8f51090a46f8
|
||||
guid: b7e2573be970b1e4096d8549a3eba6e7
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 29bfafe1cbb0d5644813084d20be71ce
|
||||
guid: e018afbd2ae719249afc4a2f98e37ef6
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 33d57443cf2978d42806f9f50fe7540a
|
||||
guid: fd171e44f802b7b43a811b36bdfc0bb9
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: edff60f090dea4447b435de9436fabc3
|
||||
guid: bdc5d5ba566cde642a8250c6ef5f7e09
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 244839c08650d8d40b7878d4a84b7710
|
||||
guid: 57e41dd0360f9854abb246edfa11a5bb
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d18a8500e24c37a43aa9e636366cb2dd
|
||||
guid: b165d62e989a53d45be3760398fb8535
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8e60726c4ce0ec045beb5e6dbcf5b1dc
|
||||
guid: 9d8c9eead9d7a254ea7bd4a9db68d0ef
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8154bc7099edc1f47980eaab951ef1bb
|
||||
guid: 05f90f71759694f42ae65e990cee6268
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: db49d431702d85f4da43f2d23c73e9f8
|
||||
guid: a39e07e74b9b3df408813484ba3d005c
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 55a3d1d4e4e8f2c45883d0e3d5df3b51
|
||||
guid: e5a0df9a44241054180a5bfe8fb3f7fb
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 43a70c710c9be4e4da886efb88640dbb
|
||||
guid: 80eab51e48b43204997a2d34437494ea
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 297956e0f4140c242bd39dabcfddef92
|
||||
guid: fe01e7fb044750c4b95840e12366bc73
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b6ed61e52bda1c74fb0b74626e2ac557
|
||||
guid: ce471ad01d2e60744a15d010733c3cc5
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 725846755f74c0e4da6fa5bd1d281af1
|
||||
guid: 0f1699e5792a1334ead6ee5e317773ad
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 733723b88966d28409d127ff5467598e
|
||||
guid: eb25b19ab7ec46048bdd03a80d9f58f3
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 69df94215dc6ae8499eb9a48b6a9b0dd
|
||||
guid: 42ec62aa45ba3df4c9f460110c06fe49
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1ef865152e0dfae448b9f54e03572f98
|
||||
guid: 625ec8225be86f64d8d590bc98f13c22
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: dd53cfaec026bf94ab6c37dcc4da11ec
|
||||
guid: fdecc74724fb81c409b21a1100be19ee
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec7bfec189b91554497a6b839953ceb0
|
||||
guid: 7f1ff59d092505e4097665163ad99e4e
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 11c96af3aaea28a47af34f87b09fdf72
|
||||
guid: 93004fe5c7329f246b5569621379e171
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2355d6cd82678db41896596cc8968561
|
||||
guid: 302b55c888486b94eb76f96aa152974a
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f917b4fd8e7bc414093f31c85a2aa602
|
||||
guid: d6229e95944634e418cb3fb3bc302ae9
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fd1f61f5eef11db44a0748a352a83279
|
||||
guid: f9c20c49f75543c409ad403275fbe4df
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 950c1751e9100cf46847b3cf9a9da61b
|
||||
guid: d55c5a2d03364854495670de2295065e
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 34ce73b0de948b245943ff070936f8ea
|
||||
guid: 446775fa89b2e8943a8474088a964296
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: aebd4149ebd2a5f479c6d4cdc4a2c177
|
||||
guid: fc7c84d311f416748ac8b4a2737ac3fa
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a890a4732afd9834599fbbd1b76f8cc3
|
||||
guid: 0b91a0b40db87cf4682aad9d7e249228
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1ced1aa10351f5148b5027d6796e1f72
|
||||
guid: 1cdc80fa1bd042a43a87bd62fa845698
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d5551c0404550cd41ace2be614a5fc26
|
||||
guid: e925b902192271f4fb4916ae40ef2f29
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1649971836aa3724d89032038d08b6d0
|
||||
guid: 136672bdfbf04174cbb1cf8f3e7b6b37
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3721572a3f020e7408d46b35ba1d0b16
|
||||
guid: ab406dadedbac9f4facf5190653e4ab8
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0cd1fb115ab7cae4f9194e73904c2711
|
||||
guid: 1a554382be283814da5da9fefa0cbdc9
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 176241a265e368e4c88d6a373d05da74
|
||||
guid: 3e98a698e6a08564c84144bc1462b334
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 19b74cb3416cd9846af7ac9380a63949
|
||||
guid: cb4f78bd77461a348a241c830be30150
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6fd0b4edc9e401843bf5ba10d3b6a20e
|
||||
guid: daa32442f4e460242b2622c26e8fbbdd
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3cd86d4e2952c0d48bdbc13e1e68cdad
|
||||
guid: 728223eaab0d56b498b8dcf02f8d1af9
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3cc60d0e72c282d46a281db58a2efc7e
|
||||
guid: 68f6638e82df87e45afead214d7849a4
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 097cf82e9bea26545ac9be755de926ba
|
||||
guid: 06381daa4fd608f4686ce5b314bcfe44
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 697a14b9e44a98047b1ad71110b5ea67
|
||||
guid: a7a54315960561c4da33e74716bea747
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c4a71a267d8e83845ac06b54b9ab8416
|
||||
guid: 83cd22984ad2c90449ebf314dfcd46ab
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 93a58aef41144a14297c5148df7befc5
|
||||
guid: 84dc1eacbbbf3d04fbe260497bfec366
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b6db7a21d1d481f41bf346854ab6b3f4
|
||||
guid: ea6b09a56971eef45b0a5d39dd47e2ba
|
||||
labels:
|
||||
- gpsr
|
||||
PluginImporter:
|
||||
|
|
|
|||
|
|
@ -4,78 +4,114 @@ labels:
|
|||
- gvh
|
||||
- gvh_version-7.4.1
|
||||
- gvhp_exportpath-Plugins/Android/googlemobileads-unity.aar
|
||||
timeCreated: 1480838400
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
Android:
|
||||
- first:
|
||||
: Linux
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86
|
||||
- first:
|
||||
: LinuxUniversal
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
Any:
|
||||
- first:
|
||||
: OSXIntel
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86
|
||||
- first:
|
||||
: OSXIntel64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
- first:
|
||||
: Web
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Editor:
|
||||
- first:
|
||||
: WebStreamed
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DefaultValueInitialized: true
|
||||
OS: AnyOS
|
||||
Linux:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86
|
||||
Linux64:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
LinuxUniversal:
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
OSXIntel:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86
|
||||
OSXIntel64:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
OSXUniversal:
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
Web:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
WebStreamed:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Win:
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86
|
||||
Win64:
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
WindowsStoreApps:
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
iOS:
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
tvOS:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
|||
|
|
@ -2011,6 +2011,50 @@ Transform:
|
|||
m_Father: {fileID: 1449942455}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &475725541
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 475725543}
|
||||
- component: {fileID: 475725542}
|
||||
m_Layer: 0
|
||||
m_Name: AdsManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &475725542
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 475725541}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e46b7fd82b2948048adc56ec0c56c4f3, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!4 &475725543
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 475725541}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 966.43835, y: 499.41855, z: -1.7893016}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 9
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &485314686
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -4903,6 +4947,134 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &1249151399
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1249151401}
|
||||
- component: {fileID: 1249151400}
|
||||
m_Layer: 0
|
||||
m_Name: dropSfx
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!82 &1249151400
|
||||
AudioSource:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1249151399}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 4
|
||||
OutputAudioMixerGroup: {fileID: 0}
|
||||
m_audioClip: {fileID: 8300000, guid: 31a6179f38d56294c830dc0f2fa3cdf7, type: 3}
|
||||
m_PlayOnAwake: 0
|
||||
m_Volume: 1
|
||||
m_Pitch: 1
|
||||
Loop: 0
|
||||
Mute: 0
|
||||
Spatialize: 0
|
||||
SpatializePostEffects: 0
|
||||
Priority: 128
|
||||
DopplerLevel: 1
|
||||
MinDistance: 1
|
||||
MaxDistance: 500
|
||||
Pan2D: 0
|
||||
rolloffMode: 0
|
||||
BypassEffects: 0
|
||||
BypassListenerEffects: 0
|
||||
BypassReverbZones: 0
|
||||
rolloffCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
panLevelCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
spreadCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
reverbZoneMixCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
--- !u!4 &1249151401
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1249151399}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2023302764}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1267544366
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -7487,6 +7659,64 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &2023302762
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2023302764}
|
||||
- component: {fileID: 2023302763}
|
||||
m_Layer: 0
|
||||
m_Name: AudioManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &2023302763
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023302762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3794a8bd2bce81343918a99c2ac2b04c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
sfxSource: {fileID: 2039698863}
|
||||
dropSfxSource: {fileID: 1249151400}
|
||||
lowHits:
|
||||
- {fileID: 8300000, guid: 144eeba28a466e745b5370d41588ac5f, type: 3}
|
||||
midHits:
|
||||
- {fileID: 8300000, guid: 460898f055ce80b47bb3845c4ec85ac5, type: 3}
|
||||
hardHits:
|
||||
- {fileID: 8300000, guid: 70d6395ae2bb21047ab4b4a467ca03c3, type: 3}
|
||||
- {fileID: 8300000, guid: 616d98382737a964ba3d6bb29124dfe5, type: 3}
|
||||
drop: []
|
||||
dropMinPitch: 1.2
|
||||
dropMaxPitch: 2
|
||||
--- !u!4 &2023302764
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2023302762}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 1068.8334, y: 572.5667, z: -213.1723}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 2039698864}
|
||||
- {fileID: 1249151401}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 10
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2037695553
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -7695,6 +7925,134 @@ CanvasRenderer:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2037751865}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &2039698862
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2039698864}
|
||||
- component: {fileID: 2039698863}
|
||||
m_Layer: 0
|
||||
m_Name: SFX
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!82 &2039698863
|
||||
AudioSource:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2039698862}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 4
|
||||
OutputAudioMixerGroup: {fileID: 0}
|
||||
m_audioClip: {fileID: 0}
|
||||
m_PlayOnAwake: 1
|
||||
m_Volume: 1
|
||||
m_Pitch: 1
|
||||
Loop: 0
|
||||
Mute: 0
|
||||
Spatialize: 0
|
||||
SpatializePostEffects: 0
|
||||
Priority: 128
|
||||
DopplerLevel: 1
|
||||
MinDistance: 1
|
||||
MaxDistance: 500
|
||||
Pan2D: 0
|
||||
rolloffMode: 0
|
||||
BypassEffects: 0
|
||||
BypassListenerEffects: 0
|
||||
BypassReverbZones: 0
|
||||
rolloffCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
panLevelCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
spreadCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
reverbZoneMixCustomCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
--- !u!4 &2039698864
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2039698862}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2023302764}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2068539593
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
158
Assets/Scripts/AdsManager.cs
Normal file
158
Assets/Scripts/AdsManager.cs
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using GoogleMobileAds.Api;
|
||||
using UnityEngine;
|
||||
|
||||
public class AdsManager : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
|
||||
public static AdsManager instance;
|
||||
void Awake(){
|
||||
if(instance!= null){Destroy(gameObject);}
|
||||
instance = this;
|
||||
}
|
||||
|
||||
const string intAdId = "ca-app-pub-3940256099942544/1033173712";
|
||||
const string rewardedAdId = "ca-app-pub-3940256099942544/5224354917";
|
||||
void Start()
|
||||
{
|
||||
DontDestroyOnLoad(gameObject);
|
||||
// Initialize the Google Mobile Ads SDK.
|
||||
MobileAds.Initialize(initStatus => { Debug.Log("admob Init status : " + initStatus.ToString());});
|
||||
|
||||
StartCoroutine(ReloadAds(true));
|
||||
}
|
||||
|
||||
private InterstitialAd interstitialAd;
|
||||
|
||||
/// <summary>
|
||||
/// Loads the interstitial ad.
|
||||
/// </summary>
|
||||
public void LoadInterstitialAd()
|
||||
{
|
||||
// Clean up the old ad before loading a new one.
|
||||
if (interstitialAd != null)
|
||||
{
|
||||
interstitialAd.Destroy();
|
||||
interstitialAd = null;
|
||||
}
|
||||
|
||||
Debug.Log("Loading the interstitial ad.");
|
||||
|
||||
// create our request used to load the ad.
|
||||
var adRequest = new AdRequest.Builder()
|
||||
.AddKeyword("unity-admob-sample")
|
||||
.Build();
|
||||
|
||||
// send the request to load the ad.
|
||||
InterstitialAd.Load(intAdId, adRequest,
|
||||
(InterstitialAd ad, LoadAdError error) =>
|
||||
{
|
||||
// if error is not null, the load request failed.
|
||||
if (error != null || ad == null)
|
||||
{
|
||||
Debug.LogError("interstitial ad failed to load an ad " +
|
||||
"with error : " + error);
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("Interstitial ad loaded with response : "
|
||||
+ ad.GetResponseInfo());
|
||||
|
||||
interstitialAd = ad;
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void ShowIntAd()
|
||||
{
|
||||
if (interstitialAd != null && interstitialAd.CanShowAd())
|
||||
{
|
||||
Debug.Log("Showing interstitial ad.");
|
||||
interstitialAd.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Interstitial ad is not ready yet.");
|
||||
}
|
||||
StartCoroutine(ReloadAds(false));
|
||||
|
||||
}
|
||||
|
||||
|
||||
private RewardedAd rewardedAd;
|
||||
|
||||
/// <summary>
|
||||
/// Loads the rewarded ad.
|
||||
/// </summary>
|
||||
public void LoadRewardedAd()
|
||||
{
|
||||
// Clean up the old ad before loading a new one.
|
||||
if (rewardedAd != null)
|
||||
{
|
||||
rewardedAd.Destroy();
|
||||
rewardedAd = null;
|
||||
}
|
||||
|
||||
Debug.Log("Loading the rewarded ad.");
|
||||
|
||||
// create our request used to load the ad.
|
||||
var adRequest = new AdRequest.Builder().Build();
|
||||
|
||||
// send the request to load the ad.
|
||||
RewardedAd.Load(rewardedAdId, adRequest,
|
||||
(RewardedAd ad, LoadAdError error) =>
|
||||
{
|
||||
// if error is not null, the load request failed.
|
||||
if (error != null || ad == null)
|
||||
{
|
||||
Debug.LogError("Rewarded ad failed to load an ad " +
|
||||
"with error : " + error);
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("Rewarded ad loaded with response : "
|
||||
+ ad.GetResponseInfo());
|
||||
|
||||
rewardedAd = ad;
|
||||
|
||||
rewardedAd.OnAdPaid += OnRewardSuccess;
|
||||
});
|
||||
}
|
||||
|
||||
private void OnRewardSuccess(AdValue obj)
|
||||
{
|
||||
GameManager.AdWatched();
|
||||
}
|
||||
|
||||
public void ShowRewardedAd()
|
||||
{
|
||||
const string rewardMsg =
|
||||
"Rewarded ad rewarded the user. Type: {0}, amount: {1}.";
|
||||
|
||||
if (rewardedAd != null && rewardedAd.CanShowAd())
|
||||
{
|
||||
rewardedAd.Show((Reward reward) =>
|
||||
{
|
||||
// TODO: Reward the user.
|
||||
Debug.Log(String.Format(rewardMsg, reward.Type, reward.Amount));
|
||||
});
|
||||
}
|
||||
|
||||
StartCoroutine(ReloadAds(true));
|
||||
}
|
||||
|
||||
|
||||
IEnumerator ReloadAds(bool rewarded){
|
||||
yield return new WaitForSeconds(2);
|
||||
LoadInterstitialAd();
|
||||
if(rewarded){
|
||||
LoadRewardedAd();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
11
Assets/Scripts/AdsManager.cs.meta
Normal file
11
Assets/Scripts/AdsManager.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e46b7fd82b2948048adc56ec0c56c4f3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -5,8 +5,15 @@ using UnityEngine;
|
|||
public class AudioManager : MonoBehaviour
|
||||
{
|
||||
public static AudioManager instance { get; private set;}
|
||||
public static bool isMute {get; private set;}
|
||||
void Awake(){
|
||||
if(instance != null){Destroy(gameObject);return;}
|
||||
instance =this;
|
||||
|
||||
if(PlayerPrefs.HasKey("mute")){
|
||||
isMute = PlayerPrefs.GetInt("mute") == 1;
|
||||
}
|
||||
Refresh();
|
||||
}
|
||||
[SerializeField]private AudioSource sfxSource;
|
||||
[SerializeField]private AudioSource dropSfxSource;
|
||||
|
|
@ -30,6 +37,21 @@ public class AudioManager : MonoBehaviour
|
|||
instance.dropSfx(magnitude);
|
||||
}
|
||||
|
||||
public static bool ToggleMute(){
|
||||
isMute = !isMute;
|
||||
Refresh();
|
||||
PlayerPrefs.SetInt("mute", isMute ? 1 : 0);
|
||||
PlayerPrefs.Save();
|
||||
return isMute;
|
||||
}
|
||||
|
||||
public static void Refresh(){
|
||||
if(instance!=null){
|
||||
instance.sfxSource.volume = isMute ? 0 : 1;
|
||||
instance.dropSfxSource.volume = isMute ? 0 : 1;
|
||||
}
|
||||
}
|
||||
|
||||
void hitSfx(float magnitude){
|
||||
AudioClip selectedClip;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,21 +2,31 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Google;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
|
||||
public static class DataManager{
|
||||
public const string API_ENDPOINT = "http://vps.playpoolstudios.com/faucet/golf/api/";
|
||||
|
||||
private const string key = "#2CuV1Bit^S!sW1ZcgRv8BhrO";
|
||||
public static UserData userData{get; private set;}
|
||||
public static bool isLogged{ get{return userData != null;}}
|
||||
|
||||
public static void Signout(){
|
||||
GoogleSignIn.DefaultInstance.SignOut();
|
||||
PlayerPrefs.DeleteAll();
|
||||
PlayerPrefs.Save();
|
||||
|
||||
userData = null;
|
||||
}
|
||||
|
||||
|
||||
public static async void Login(string username,string password){
|
||||
public static async Task<int> Login(string username,string password){
|
||||
WWWForm form = new WWWForm();
|
||||
form.AddField("username", username);
|
||||
form.AddField("password", password);
|
||||
form.AddField("key", "#2CuV1Bit^S!sW1ZcgRv8BhrO");
|
||||
form.AddField("key", key);
|
||||
|
||||
|
||||
|
||||
|
|
@ -35,28 +45,34 @@ public static class DataManager{
|
|||
userData = JsonConvert.DeserializeObject<UserData>(request.downloadHandler.text);
|
||||
Debug.Log("Success parsing userdata");
|
||||
|
||||
PlayerPrefs.SetString("username", username);
|
||||
PlayerPrefs.SetString("password", password);
|
||||
PlayerPrefs.Save();
|
||||
|
||||
}catch(Exception e){
|
||||
Debug.Log("Error parsing userdata");
|
||||
}
|
||||
}else{
|
||||
if(request.downloadHandler.text == "0"){
|
||||
userData = new UserData(){username = username};
|
||||
Debug.Log("Created local account");
|
||||
}else{
|
||||
MessageBox.ShowMessage("Error logging in, Server said\n" +request.downloadHandler.text);
|
||||
return;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
LoadingScreen.LoadLevel("MainMenu");
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static async void GoogleLogin(string username){
|
||||
WWWForm form = new WWWForm();
|
||||
form.AddField("username", username);
|
||||
form.AddField("key", "#2CuV1Bit^S!sW1ZcgRv8BhrO");
|
||||
form.AddField("key", key);
|
||||
|
||||
using (UnityWebRequest request = UnityWebRequest.Post(API_ENDPOINT + "google_login.php", form))
|
||||
{
|
||||
|
|
@ -66,12 +82,22 @@ public static class DataManager{
|
|||
await Task.Yield();
|
||||
}
|
||||
Debug.Log("glogin response: " +request.downloadHandler.text);
|
||||
MessageBox.ShowMessage(request.downloadHandler.text);
|
||||
|
||||
if(request.downloadHandler.text.Contains("{")){
|
||||
try{
|
||||
userData = JsonConvert.DeserializeObject<UserData>(request.downloadHandler.text);
|
||||
if(userData == null){
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
if(userData.username.Length < 3){
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
Debug.Log("Success parsing userdata");
|
||||
|
||||
|
||||
PlayerPrefs.SetString("username", username);
|
||||
PlayerPrefs.SetString("password", username);
|
||||
PlayerPrefs.Save();
|
||||
}catch(Exception e){
|
||||
Debug.Log("Error parsing userdata");
|
||||
}
|
||||
|
|
@ -88,10 +114,65 @@ public static class DataManager{
|
|||
|
||||
LoadingScreen.LoadLevel("MainMenu");
|
||||
}
|
||||
|
||||
public static async void AddScores(int amount){
|
||||
WWWForm form = new WWWForm();
|
||||
|
||||
Debug.Log(userData.ToString());
|
||||
|
||||
form.AddField("username", userData.username);
|
||||
form.AddField("password", userData.password);
|
||||
form.AddField("amount", amount);
|
||||
form.AddField("key", key);
|
||||
|
||||
using (UnityWebRequest request = UnityWebRequest.Post(API_ENDPOINT + "add_scores.php", form))
|
||||
{
|
||||
var operation = request.SendWebRequest();
|
||||
while (!operation.isDone)
|
||||
{
|
||||
await Task.Yield();
|
||||
}
|
||||
Debug.Log("add scores response: " +request.downloadHandler.text);
|
||||
|
||||
if(request.downloadHandler.text.Contains("{")){
|
||||
try{
|
||||
userData = JsonConvert.DeserializeObject<UserData>(request.downloadHandler.text);
|
||||
if(userData == null){
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
if(userData.username.Length < 3){
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
Debug.Log("Success parsing userdata");
|
||||
|
||||
|
||||
}catch(Exception e){
|
||||
Debug.Log("Error parsing userdata");
|
||||
}
|
||||
}else{
|
||||
|
||||
MessageBox.ShowMessage("Error Updating scores, Server said\n" +request.downloadHandler.text);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
LoadingScreen.LoadLevel("MainMenu");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class UserData{
|
||||
public int id;
|
||||
public string username;
|
||||
public string password;
|
||||
public int score;
|
||||
public int TopScore;
|
||||
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonConvert.SerializeObject(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,11 +40,16 @@ public class GameManager : MonoBehaviour
|
|||
public int Score{get {return m_curScore;} set{ m_curScore = value; UpdateUI(); }}
|
||||
public Text StrokesTxt;
|
||||
public Text ScoreTxt;
|
||||
public Text gameOverBestScoreTxt, gameOverTotalScoreTxt;
|
||||
public GameObject GameOverUI;
|
||||
public GameObject PauseMenuUI;
|
||||
public Animator HoleInOne;
|
||||
public int curHoleIndex;
|
||||
private static int adCounter = 0;
|
||||
void Start()
|
||||
{
|
||||
strokesTxtDefaultSize = StrokesTxt.transform.localScale;
|
||||
scoreTxtDefaultSize = ScoreTxt.transform.localScale;
|
||||
camTargetPos = ball.transform.position;
|
||||
CurStrokes =1;
|
||||
lastPosition = ball.transform.position;
|
||||
|
|
@ -118,9 +123,25 @@ public class GameManager : MonoBehaviour
|
|||
|
||||
//No hole found
|
||||
if(CurStrokes <=0){
|
||||
GameOverUI.SetActive(true);
|
||||
GameOver();
|
||||
}
|
||||
}
|
||||
|
||||
public void GameOver(){
|
||||
if(GameOverUI.active){return;}
|
||||
|
||||
gameOverBestScoreTxt.text = DataManager.userData.TopScore.ToString();
|
||||
gameOverTotalScoreTxt.text = DataManager.userData.score.ToString();
|
||||
|
||||
GameOverUI.SetActive(true);
|
||||
adCounter++;
|
||||
|
||||
if(adCounter > 1){
|
||||
adCounter=0;
|
||||
AdsManager.instance.ShowIntAd();
|
||||
}
|
||||
}
|
||||
|
||||
public static async void Hole(Vector2 position){
|
||||
while(instance.ball.simulated){
|
||||
await Task.Delay(100);
|
||||
|
|
@ -196,17 +217,18 @@ public class GameManager : MonoBehaviour
|
|||
|
||||
int _tempScore;
|
||||
int _tempStrokes;
|
||||
|
||||
Vector3 scoreTxtDefaultSize, strokesTxtDefaultSize;
|
||||
public void UpdateUI(){
|
||||
if(Score != _tempScore){
|
||||
LeanTween.scale(ScoreTxt.gameObject, ScoreTxt.transform.localScale * 1.5f , 0.5f).setEasePunch();
|
||||
_tempScore = Score;
|
||||
|
||||
ScoreTxt.transform.localScale = scoreTxtDefaultSize;
|
||||
LeanTween.scale(ScoreTxt.gameObject, scoreTxtDefaultSize * 2f , 0.5f).setEasePunch();
|
||||
}
|
||||
|
||||
|
||||
if(CurStrokes != _tempStrokes){
|
||||
_tempStrokes = CurStrokes;
|
||||
LeanTween.scale(StrokesTxt.gameObject, StrokesTxt.transform.localScale * 1.5f, 0.5f).setEasePunch();
|
||||
LeanTween.scale(StrokesTxt.gameObject, strokesTxtDefaultSize * 1.5f, 0.5f).setEasePunch();
|
||||
}
|
||||
ScoreTxt.text = Score.ToString();
|
||||
StrokesTxt.text = CurStrokes.ToString();
|
||||
|
|
@ -217,12 +239,38 @@ public class GameManager : MonoBehaviour
|
|||
Gizmos.DrawWireSphere(ball.transform.position, holeCheckRadius);
|
||||
}
|
||||
|
||||
public void WatchAd(){
|
||||
AdsManager.instance.ShowRewardedAd();
|
||||
|
||||
}
|
||||
|
||||
public static void AdWatched(){
|
||||
try{
|
||||
instance.GameOverUI.SetActive(false);
|
||||
instance.CurStrokes= (int)((float)instance.MaxStrokes/2f);
|
||||
}catch{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void Restrt(){
|
||||
LoadingScreen.LoadLevel(SceneManager.GetActiveScene().name);
|
||||
DataManager.AddScores(Score);
|
||||
}
|
||||
|
||||
public void MainMenu(){
|
||||
LoadingScreen.LoadLevel("MainMenu");
|
||||
DataManager.AddScores(Score);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void PauseMenu(bool value){
|
||||
if(value){
|
||||
LeanTween.scale(PauseMenuUI, Vector3.one, 0.15f).setEaseInCirc();
|
||||
}else{
|
||||
LeanTween.scale(PauseMenuUI, Vector3.zero, 0.15f).setEaseOutCirc();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,14 +27,13 @@ public class LevelGenerator : MonoBehaviour
|
|||
|
||||
holes = new List<GameObject>();
|
||||
|
||||
GenerateBlock(lastOffset);
|
||||
GenerateBlock(lastOffset);
|
||||
|
||||
|
||||
GenerateBlock();
|
||||
GenerateBlock();
|
||||
}
|
||||
|
||||
float lastOffset=0;
|
||||
void GenerateBlock(float offset){
|
||||
void GenerateBlock(){
|
||||
float offset = lastOffset;
|
||||
SpriteShapeController spriteShapeController = Instantiate(spriteShapeControllerPrefab, new Vector3(offset,0),Quaternion.identity).GetComponent<SpriteShapeController>();
|
||||
spriteShapeController.spline.Clear();
|
||||
points = new Vector3[LevelCount+1];
|
||||
|
|
@ -100,6 +99,10 @@ public class LevelGenerator : MonoBehaviour
|
|||
|
||||
void Update()
|
||||
{
|
||||
|
||||
if(GameManager.instance == null){return;}
|
||||
|
||||
if(GameManager.instance.ball.position.x > lastOffset - 100){
|
||||
GenerateBlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ public class LoadingScreen : MonoBehaviour
|
|||
if(instance != null){Destroy(gameObject);return;}
|
||||
instance =this;
|
||||
canvasGroup = GetComponent<CanvasGroup>();
|
||||
|
||||
Application.targetFrameRate = 60;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -58,7 +60,11 @@ public class LoadingScreen : MonoBehaviour
|
|||
yield return null;
|
||||
}
|
||||
Debug.Log("Loaded scene " + levelName);
|
||||
yield return new WaitForSecondsRealtime(2f);
|
||||
// yield return new WaitForSecondsRealtime(2f);
|
||||
while(loadingProgress.fillAmount < 1){
|
||||
SetProgress( loadingProgress.fillAmount+0.01f);
|
||||
yield return new WaitForSeconds(0.1f);
|
||||
}
|
||||
|
||||
canvasGroup.blocksRaycasts = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,24 @@ public class Login : MonoBehaviour
|
|||
RequestIdToken = true,
|
||||
RequestEmail=true,
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
async void AutoLogin(){
|
||||
Debug.Log("Start auto-login");
|
||||
if(PlayerPrefs.HasKey("username")){
|
||||
Debug.Log("Has saved credentials, Trying to login with them");
|
||||
int loginResult = await DataManager.Login(PlayerPrefs.GetString("username"), PlayerPrefs.GetString("password"));
|
||||
if(loginResult == 0){
|
||||
LoadingScreen.LoadLevel("MainMenu");
|
||||
}else{
|
||||
Debug.Log("Failed auto-login");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
void Start(){
|
||||
AutoLogin();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Google;
|
||||
using UnityEngine;
|
||||
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
public class MainMenu : MonoBehaviour
|
||||
{
|
||||
|
||||
|
|
@ -11,28 +13,70 @@ public class MainMenu : MonoBehaviour
|
|||
public LeanTweenType transitionEffect;
|
||||
|
||||
private Vector2 defaultCenter;
|
||||
public Button copyBtn, muteBtn;
|
||||
public Button signoutBtn;
|
||||
public Sprite muteIcon, unmuteIcon;
|
||||
|
||||
|
||||
public Text txtUserId;
|
||||
|
||||
void Awake(){
|
||||
if(!DataManager.isLogged){
|
||||
SceneManager.LoadScene(0);
|
||||
return;
|
||||
}
|
||||
defaultCenter = MainMenuPanel.transform.position;
|
||||
SettingsPanel.transform.position = MainMenuPanel.transform.position - new Vector3(3000,0);
|
||||
SettingsPanel.SetActive(true);
|
||||
|
||||
muteBtn.onClick.AddListener(ToggleMute);
|
||||
copyBtn.onClick.AddListener(CopyId);
|
||||
signoutBtn.onClick.AddListener(SignOut);
|
||||
}
|
||||
public void Leave(){
|
||||
Application.Quit();
|
||||
}
|
||||
|
||||
void Start(){
|
||||
Refresh();
|
||||
// MessageBox.ShowMessage("Welcome to Infinite Golf 2D.\nThis is a slow paced 2d endless golf game, All the levels are proceduraly generated and you will be rewarded for putting the ball in every and each hole.\n\nGood Luck","Welcome");
|
||||
}
|
||||
|
||||
|
||||
void Refresh(){
|
||||
txtUserId.text = DataManager.userData.id.ToString();
|
||||
if(AudioManager.isMute){
|
||||
muteBtn.transform.GetChild(0).GetComponent<Image>().sprite = muteIcon;
|
||||
}else{
|
||||
muteBtn.transform.GetChild(0).GetComponent<Image>().sprite = unmuteIcon;
|
||||
}
|
||||
}
|
||||
|
||||
public void SettingsPage(){
|
||||
LeanTween.moveX(MainMenuPanel, 3000, transitionTime).setEase(transitionEffect);
|
||||
LeanTween.moveX(MainMenuPanel, 10000, transitionTime).setEase(transitionEffect);
|
||||
LeanTween.moveX(SettingsPanel, defaultCenter.x, transitionTime).setEase(transitionEffect);
|
||||
}
|
||||
|
||||
public void MainPage(){
|
||||
LeanTween.moveX(MainMenuPanel, defaultCenter.x, transitionTime).setEase(transitionEffect);
|
||||
LeanTween.moveX(SettingsPanel, -3000, transitionTime).setEase(transitionEffect);
|
||||
LeanTween.moveX(SettingsPanel, -10000, transitionTime).setEase(transitionEffect);
|
||||
}
|
||||
|
||||
public void CopyId(){
|
||||
GUIUtility.systemCopyBuffer = DataManager.userData.id.ToString();
|
||||
copyBtn.transform.Find("lbl").GetComponent<Text>().text = "Copied";
|
||||
}
|
||||
|
||||
public void ToggleMute(){
|
||||
AudioManager.ToggleMute();
|
||||
Refresh();
|
||||
}
|
||||
|
||||
|
||||
void SignOut(){
|
||||
|
||||
|
||||
DataManager.Signout();
|
||||
SceneManager.LoadScene(0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
Assets/Sprites/UI/logout_icon.png
Normal file
BIN
Assets/Sprites/UI/logout_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
135
Assets/Sprites/UI/logout_icon.png.meta
Normal file
135
Assets/Sprites/UI/logout_icon.png.meta
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
fileFormatVersion: 2
|
||||
guid: faa879e13c1dc14479b9e29747331c77
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Sprites/golfinity2d.png
Normal file
BIN
Assets/Sprites/golfinity2d.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
135
Assets/Sprites/golfinity2d.png.meta
Normal file
135
Assets/Sprites/golfinity2d.png.meta
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3a7268d833f473442bbd6e3c4d2d0c47
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<projectSetting name="GooglePlayServices.AndroidPackageInstallationEnabled" value="True" />
|
||||
<projectSetting name="GooglePlayServices.AutoResolutionDisabledWarning" value="True" />
|
||||
<projectSetting name="GooglePlayServices.AutoResolveOnBuild" value="True" />
|
||||
<projectSetting name="GooglePlayServices.AutoResolverEnabled" value="True" />
|
||||
<projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
|
||||
<projectSetting name="GooglePlayServices.ExplodeAars" value="True" />
|
||||
<projectSetting name="GooglePlayServices.LocalMavenRepoDir" value="Assets/GeneratedLocalRepo" />
|
||||
<projectSetting name="GooglePlayServices.PatchAndroidManifest" value="True" />
|
||||
|
|
@ -17,5 +17,5 @@
|
|||
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
|
||||
<projectSetting name="GooglePlayServices.UseGradleDaemon" value="False" />
|
||||
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
|
||||
<projectSetting name="GooglePlayServices.VerboseLogging" value="False" />
|
||||
<projectSetting name="GooglePlayServices.VerboseLogging" value="True" />
|
||||
</projectSettings>
|
||||
|
|
@ -12,8 +12,8 @@ PlayerSettings:
|
|||
targetDevice: 2
|
||||
useOnDemandResources: 0
|
||||
accelerometerFrequency: 60
|
||||
companyName: DefaultCompany
|
||||
productName: Golf
|
||||
companyName: Xperience
|
||||
productName: Infinite Golf 2D
|
||||
defaultCursor: {fileID: 0}
|
||||
cursorHotspot: {x: 0, y: 0}
|
||||
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
|
||||
|
|
@ -270,7 +270,14 @@ PlayerSettings:
|
|||
AndroidMinifyDebug: 0
|
||||
AndroidValidateAppBundleSize: 1
|
||||
AndroidAppBundleSizeToValidate: 150
|
||||
m_BuildTargetIcons: []
|
||||
m_BuildTargetIcons:
|
||||
- m_BuildTarget:
|
||||
m_Icons:
|
||||
- serializedVersion: 2
|
||||
m_Icon: {fileID: 2800000, guid: 3a7268d833f473442bbd6e3c4d2d0c47, type: 3}
|
||||
m_Width: 128
|
||||
m_Height: 128
|
||||
m_Kind: 0
|
||||
m_BuildTargetPlatformIcons:
|
||||
- m_BuildTarget: Android
|
||||
m_Icons:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user