├── ProjectSettings ├── ProjectVersion.txt ├── NetworkManager.asset ├── TimeManager.asset ├── AudioManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── DynamicsManager.asset ├── Physics2DSettings.asset ├── TagManager.asset ├── GraphicsSettings.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── QualitySettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── Assets ├── SpaceAds │ ├── Rendering │ │ ├── Sprites │ │ │ ├── UFO.png │ │ │ ├── Coins.png │ │ │ ├── Level1.png │ │ │ ├── Level2.png │ │ │ ├── Blackout.png │ │ │ ├── Complete.png │ │ │ ├── Continue.png │ │ │ ├── GameOver.png │ │ │ ├── PanelBg.png │ │ │ ├── Planet1.png │ │ │ ├── Planet2.png │ │ │ ├── Planet3.png │ │ │ ├── ArrowButton.png │ │ │ ├── Background.jpg │ │ │ ├── Planet1_Big.png │ │ │ ├── StartButton.png │ │ │ ├── WatchReplay.png │ │ │ ├── Planet3_Moon1.png │ │ │ ├── Planet3_Moon2.png │ │ │ ├── SpaceAdsLogo.png │ │ │ ├── UnityAdsLogo.png │ │ │ ├── GetCoinsButton.png │ │ │ ├── Planet1_Clouds.png │ │ │ ├── Planet2_Clouds.png │ │ │ ├── Planet1_Clouds_Big.png │ │ │ ├── Blackout.png.meta │ │ │ ├── PanelBg.png.meta │ │ │ ├── WatchReplay.png.meta │ │ │ ├── UFO.png.meta │ │ │ ├── Coins.png.meta │ │ │ ├── Level1.png.meta │ │ │ ├── Level2.png.meta │ │ │ ├── Planet1.png.meta │ │ │ ├── Planet2.png.meta │ │ │ ├── Planet3.png.meta │ │ │ ├── Background.jpg.meta │ │ │ ├── Complete.png.meta │ │ │ ├── Continue.png.meta │ │ │ ├── GameOver.png.meta │ │ │ ├── ArrowButton.png.meta │ │ │ ├── Planet1_Big.png.meta │ │ │ ├── StartButton.png.meta │ │ │ ├── GetCoinsButton.png.meta │ │ │ ├── Planet1_Clouds.png.meta │ │ │ ├── Planet1_Clouds_Big.png.meta │ │ │ ├── Planet2_Clouds.png.meta │ │ │ ├── Planet3_Moon1.png.meta │ │ │ ├── Planet3_Moon2.png.meta │ │ │ ├── SpaceAdsLogo.png.meta │ │ │ └── UnityAdsLogo.png.meta │ │ └── Sprites.meta │ ├── StartMenu.unity.meta │ ├── Scenes │ │ └── GameplayDemo.unity.meta │ ├── Prefabs │ │ ├── CoinCounter.prefab.meta │ │ └── CoinCounter.prefab │ ├── Animations │ │ ├── GameplayLevel2.anim.meta │ │ ├── StartMenu.controller.meta │ │ ├── StartMenuEaseIn.anim.meta │ │ ├── GameplayDemo.controller.meta │ │ ├── GameplayDemoEaseIn.anim.meta │ │ ├── GameplayLevel1Reset.anim.meta │ │ ├── GameplayLevel1Start.anim.meta │ │ ├── GameplayLevel1to2.anim.meta │ │ ├── GameplayLevel2Reset.anim.meta │ │ ├── GameplayLevel2Start.anim.meta │ │ ├── GameplayLevel2to1.anim.meta │ │ ├── RewardNotice.controller.meta │ │ ├── RewardNoticeHidden.anim.meta │ │ ├── RewardNoticeVisible.anim.meta │ │ ├── GameplayLevel1Reset.anim │ │ ├── GameplayLevel2Reset.anim │ │ ├── StartMenu.controller │ │ ├── RewardNoticeHidden.anim │ │ ├── RewardNotice.controller │ │ ├── GameplayDemo.controller │ │ ├── RewardNoticeVisible.anim │ │ ├── GameplayDemoEaseIn.anim │ │ ├── StartMenuEaseIn.anim │ │ ├── GameplayLevel2to1.anim │ │ ├── GameplayLevel1to2.anim │ │ └── GameplayLevel2.anim │ ├── Animations.meta │ ├── Prefabs.meta │ ├── Rendering.meta │ ├── Scenes.meta │ ├── Scripts.meta │ └── Scripts │ │ ├── GetCoinsButton.cs.meta │ │ ├── CoinCounter.cs.meta │ │ ├── Constants.cs.meta │ │ ├── GameplayDemo.cs.meta │ │ ├── Inventory.cs.meta │ │ ├── LevelLoader.cs.meta │ │ ├── RewardNotice.cs.meta │ │ ├── SpaceAdsDemo.cs.meta │ │ ├── RotationUtility.cs.meta │ │ ├── UnityAdsHelper.cs.meta │ │ ├── WatchReplayButton.cs.meta │ │ ├── Constants.cs │ │ ├── RewardNotice.cs │ │ ├── CoinCounter.cs │ │ ├── RotationUtility.cs │ │ ├── Inventory.cs │ │ ├── WatchReplayButton.cs │ │ ├── SpaceAdsDemo.cs │ │ ├── LevelLoader.cs │ │ ├── GetCoinsButton.cs │ │ ├── GameplayDemo.cs │ │ └── UnityAdsHelper.cs ├── Editor.meta ├── Plugins.meta ├── SpaceAds.meta ├── Plugins │ ├── iOS.meta │ └── Android.meta ├── Standard Assets.meta ├── Standard Assets │ └── Editor.meta └── Editor Default Resources.meta ├── .gitignore └── README.md /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.0.0p3 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/UFO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/UFO.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Coins.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Coins.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Level1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Level1.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Level2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Level2.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Blackout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Blackout.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Complete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Complete.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Continue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Continue.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/GameOver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/GameOver.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/PanelBg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/PanelBg.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet1.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet2.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet3.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/ArrowButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/ArrowButton.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Background.jpg -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet1_Big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet1_Big.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/StartButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/StartButton.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/WatchReplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/WatchReplay.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet3_Moon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet3_Moon1.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet3_Moon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet3_Moon2.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/SpaceAdsLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/SpaceAdsLogo.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/UnityAdsLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/UnityAdsLogo.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/GetCoinsButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/GetCoinsButton.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet1_Clouds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet1_Clouds.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet2_Clouds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet2_Clouds.png -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites/Planet1_Clouds_Big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Applifier/unity-ads-demo/HEAD/Assets/SpaceAds/Rendering/Sprites/Planet1_Clouds_Big.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SpaceAds/StartMenu.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4c329b4220174fb9a77d6bb9887a5a1 3 | timeCreated: 1424979495 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scenes/GameplayDemo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b3a11b4f33bf4776a66d42d2407864d 3 | timeCreated: 1425156067 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 507e3f8dcb3c04cd7a7258c6a0f61024 3 | folderAsset: yes 4 | timeCreated: 1427933745 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e4448be9223a414f9815d2f058fa1a1 3 | folderAsset: yes 4 | timeCreated: 1427933728 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b584987ed6d2244b9a071400d1172969 3 | folderAsset: yes 4 | timeCreated: 1424899120 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Prefabs/CoinCounter.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4e82202a21a24f279c375babc93e76d 3 | timeCreated: 1425238359 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec578eee1bd424bf2946690c79d430a4 3 | folderAsset: yes 4 | timeCreated: 1427933728 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel2.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8af58682dda84867840ddc35fb57425 3 | timeCreated: 1425292950 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/StartMenu.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2eb36a836c11c49a7ab36be5494adc7d 3 | timeCreated: 1425278129 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/StartMenuEaseIn.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28cf9b7f79486463eaa2cb4f734e4317 3 | timeCreated: 1425278221 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dae25589dec9a48749eb63505947baf9 3 | folderAsset: yes 4 | timeCreated: 1427933728 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fb804550d2384bff851ab58dadfeda8 3 | folderAsset: yes 4 | timeCreated: 1424997924 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayDemo.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 433a0b2a683564b719abc60228355e98 3 | timeCreated: 1425273936 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayDemoEaseIn.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72f7ea022f5394ace8a8fb0560558d88 3 | timeCreated: 1425274444 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel1Reset.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4d0c7ec3511c4bdd8aea3105cde5834 3 | timeCreated: 1425285198 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel1Start.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d25aba8fc32949269439b3cade0c2b8 3 | timeCreated: 1425285312 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel1to2.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0fdb8507abb1443eb9c76e04241b1ae1 3 | timeCreated: 1425285087 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel2Reset.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa246a8957eac43ffb170480d9581cca 3 | timeCreated: 1425285215 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel2Start.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: beda48abe326b4bd3bbd1faba1bb4285 3 | timeCreated: 1425285331 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/GameplayLevel2to1.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1c70d137ccf34cb0919405a99785153 3 | timeCreated: 1425285098 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/RewardNotice.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 600b8ef83e800453c918d3ebd31839b0 3 | timeCreated: 1425398746 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/RewardNoticeHidden.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60ee2ee60027f4464b3fe49082e5e21d 3 | timeCreated: 1425398801 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Animations/RewardNoticeVisible.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec2b418d1e9514d28967fb55d177ff87 3 | timeCreated: 1425398879 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bd4e8f7a1d7349b293dbdb460dd040f 3 | folderAsset: yes 4 | timeCreated: 1425238355 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9502dcd4855704f4e94519be978c3ad6 3 | folderAsset: yes 4 | timeCreated: 1424978200 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a891bac3d6ec94b9e98275cfd57720b2 3 | folderAsset: yes 4 | timeCreated: 1424978157 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6688391109ec47bc8f768e6d43f17ec 3 | folderAsset: yes 4 | timeCreated: 1424899120 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Standard Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6edf5e22ed3a4841a73982fe2547b50 3 | folderAsset: yes 4 | timeCreated: 1427933728 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Standard Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67d3485f111424cfc9d58849088bb755 3 | folderAsset: yes 4 | timeCreated: 1427933728 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor Default Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5148b3bfe7c6a4a4d9fd54b18c169ece 3 | folderAsset: yes 4 | timeCreated: 1427933745 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Rendering/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c2f5ed4423f44b85a6bc6d896635dd6 3 | folderAsset: yes 4 | timeCreated: 1424978588 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/GetCoinsButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2009d32efe9ac4c8da10f418622dcbc7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /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/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/SpaceAds/StartMenu.unity 10 | - enabled: 1 11 | path: Assets/SpaceAds/Scenes/GameplayDemo.unity 12 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/CoinCounter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00d8844f4163b4932bc9f9480f9148e7 3 | timeCreated: 1425237331 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/Constants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2afe0e39b83148faa4a6d6865e9130a 3 | timeCreated: 1425153717 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/GameplayDemo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0728c2e5fc364a9e90b4ec056732b0e 3 | timeCreated: 1425231515 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/Inventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edb49773be19b4fcc924f9b0d0413010 3 | timeCreated: 1424980408 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/LevelLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47b33065673534a93824101dbbf18fe0 3 | timeCreated: 1425229359 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/RewardNotice.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d818474899b7c47f792bdd3e50ac97dc 3 | timeCreated: 1425399435 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/SpaceAdsDemo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4f5084a74ca14cacb5ee2676f0fcbd1 3 | timeCreated: 1425016292 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/RotationUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33f6c754c3c694d69b01c36159076331 3 | timeCreated: 1425144721 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/UnityAdsHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c755cc8ed62eb4de88491d20ef71570e 3 | timeCreated: 1424980026 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/WatchReplayButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d3ec25fdd3e24a289d644a87df348f0 3 | timeCreated: 1425401147 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/Constants.cs: -------------------------------------------------------------------------------- 1 | public class Constants 2 | { 3 | public const string KEY_COINCOUNT = "CoinCount"; 4 | 5 | public const string KEY_REWARD_COOLDOWN_TIME = "RewardCooldownTime"; 6 | 7 | public const string KEYFORMAT_LEVEL_UNLOCKED = "Level{0:00}_Unlocked"; 8 | public const string KEYFORMAT_LEVEL_HIGHSCORE = "Level{0:00}_HighScore"; 9 | } 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: 0 12 | m_SpritePackerMode: 0 13 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/RewardNotice.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class RewardNotice : MonoBehaviour 6 | { 7 | public Text text; 8 | public Animator animator; 9 | 10 | void Awake () 11 | { 12 | SpaceAdsDemo.OnCoinsAddedAction += SetAmountAndShow; 13 | } 14 | 15 | void OnDestroy () 16 | { 17 | SpaceAdsDemo.OnCoinsAddedAction -= SetAmountAndShow; 18 | } 19 | 20 | public void SetAmountAndShow (int amount) 21 | { 22 | string notice = text.text; 23 | text.text = string.Format(notice,amount); 24 | 25 | animator.Play("RewardNoticeVisible"); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/CoinCounter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class CoinCounter : MonoBehaviour 6 | { 7 | public Text counterText; 8 | 9 | void Awake() 10 | { 11 | SpaceAdsDemo.OnCoinCountUpdatedAction += Refresh; 12 | } 13 | 14 | void OnDestroy () 15 | { 16 | SpaceAdsDemo.OnCoinCountUpdatedAction -= Refresh; 17 | } 18 | 19 | void Start () 20 | { 21 | Refresh(); 22 | } 23 | 24 | private void Refresh () 25 | { 26 | if (!object.ReferenceEquals(counterText,null)) 27 | { 28 | counterText.text = Inventory.GetCoinCount().ToString(); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /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/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_VelocityThreshold: 1 11 | m_MaxLinearCorrection: .200000003 12 | m_MaxAngularCorrection: 8 13 | m_MaxTranslationSpeed: 100 14 | m_MaxRotationSpeed: 360 15 | m_BaumgarteScale: .200000003 16 | m_BaumgarteTimeOfImpactScale: .75 17 | m_TimeToSleep: .5 18 | m_LinearSleepTolerance: .00999999978 19 | m_AngularSleepTolerance: 2 20 | m_RaycastsHitTriggers: 1 21 | m_DeleteStopsCallbacks: 1 22 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 23 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/RotationUtility.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class RotationUtility : MonoBehaviour 5 | { 6 | public enum AxisOfRotation { X, Y, Z } 7 | public AxisOfRotation axisOfRotation; 8 | public float degreesPerSecond; 9 | 10 | void Update () 11 | { 12 | if (degreesPerSecond != 0) UpdateRotation(degreesPerSecond); 13 | } 14 | 15 | private void UpdateRotation (float degreesPerSecond) 16 | { 17 | Vector3 rotation = transform.localRotation.eulerAngles; 18 | Vector3 direction = Vector3.zero; 19 | 20 | switch (axisOfRotation) 21 | { 22 | case AxisOfRotation.X: 23 | direction = Vector3.right; 24 | break; 25 | case AxisOfRotation.Y: 26 | direction = Vector3.up; 27 | break; 28 | case AxisOfRotation.Z: 29 | direction = Vector3.forward; 30 | break; 31 | } 32 | 33 | rotation += direction * degreesPerSecond * Time.deltaTime; 34 | 35 | transform.localRotation = Quaternion.Euler(rotation); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /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: UI 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 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/Inventory.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class Inventory : MonoBehaviour 5 | { 6 | public static int initialCoinCount = 0; 7 | 8 | public static void AddCoins (int amount) 9 | { 10 | int totalAmount = GetCoinCount() + amount; 11 | SetCoinCount(totalAmount); 12 | 13 | SpaceAdsDemo.OnCoinsAdded(amount); 14 | 15 | Debug.Log(string.Format("Added {0} coins to the inventory. Total is now {1} coins.",amount,totalAmount)); 16 | } 17 | 18 | public static int GetCoinCount () 19 | { 20 | if (PlayerPrefs.HasKey(Constants.KEY_COINCOUNT)) 21 | { 22 | return PlayerPrefs.GetInt(Constants.KEY_COINCOUNT); 23 | } 24 | else return initialCoinCount; 25 | } 26 | 27 | public static void SetCoinCount (int amount) 28 | { 29 | PlayerPrefs.SetInt(Constants.KEY_COINCOUNT,amount); 30 | 31 | SpaceAdsDemo.OnCoinCountUpdated(); 32 | } 33 | 34 | public static void ResetCoinCount () 35 | { 36 | SetCoinCount(initialCoinCount); 37 | 38 | Debug.Log(string.Format("Coin count reset to {0}.",initialCoinCount)); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/SpaceAds/Scripts/WatchReplayButton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class WatchReplayButton : MonoBehaviour 6 | { 7 | public bool interactable; 8 | 9 | private Button _button; 10 | 11 | void Start () 12 | { 13 | _button = GetComponent