├── .gitattributes ├── .gitignore ├── Assembly-CSharp-firstpass-vs.csproj.DotSettings ├── AssetStore ├── icon.png ├── large.png ├── large.xcf ├── screens │ ├── signin.png │ └── trophies.png └── small.png ├── Assets ├── Plugins.meta └── Plugins │ ├── Editor.meta │ ├── Editor │ ├── GameJolt.meta │ └── GameJolt │ │ ├── SettingsEditor.cs │ │ ├── SettingsEditor.cs.meta │ │ ├── Tools.cs │ │ └── Tools.cs.meta │ ├── GameJolt.meta │ └── GameJolt │ ├── Animations.meta │ ├── Animations │ ├── GameJoltController.controller │ ├── GameJoltController.controller.meta │ ├── LeaderboardsWindow.anim │ ├── LeaderboardsWindow.anim.meta │ ├── LeaderboardsWindowAppears.anim │ ├── LeaderboardsWindowAppears.anim.meta │ ├── LeaderboardsWindowDisappears.anim │ ├── LeaderboardsWindowDisappears.anim.meta │ ├── LeaderboardsWindowProcessing.anim │ ├── LeaderboardsWindowProcessing.anim.meta │ ├── Loading.anim │ ├── Loading.anim.meta │ ├── ModalAppears.anim │ ├── ModalAppears.anim.meta │ ├── Notification.anim │ ├── Notification.anim.meta │ ├── NotificationAppears.anim │ ├── NotificationAppears.anim.meta │ ├── NotificationDisappears.anim │ ├── NotificationDisappears.anim.meta │ ├── SignInWindow.anim │ ├── SignInWindow.anim.meta │ ├── SignInWindowAppears.anim │ ├── SignInWindowAppears.anim.meta │ ├── SignInWindowDisappears.anim │ ├── SignInWindowDisappears.anim.meta │ ├── SignInWindowProcessing.anim │ ├── SignInWindowProcessing.anim.meta │ ├── TrophiesWindow.anim │ ├── TrophiesWindow.anim.meta │ ├── TrophiesWindowAppears.anim │ ├── TrophiesWindowAppears.anim.meta │ ├── TrophiesWindowDisappears.anim │ └── TrophiesWindowDisappears.anim.meta │ ├── Demo.meta │ ├── Demo │ ├── Console.meta │ ├── Console │ │ ├── Console.unity │ │ ├── Console.unity.meta │ │ ├── ConsoleTest.cs │ │ ├── ConsoleTest.cs.meta │ │ ├── Prefabs.meta │ │ └── Prefabs │ │ │ ├── Line.prefab │ │ │ └── Line.prefab.meta │ ├── Load.meta │ ├── Load │ │ ├── LoadTest.cs │ │ ├── LoadTest.cs.meta │ │ ├── One.unity │ │ ├── One.unity.meta │ │ ├── Two.unity │ │ └── Two.unity.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── RotatingCube.meta │ │ └── RotatingCube │ │ │ ├── Cube.prefab │ │ │ ├── Cube.prefab.meta │ │ │ ├── CubeAnimation.anim │ │ │ ├── CubeAnimation.anim.meta │ │ │ ├── CubeAnimator.controller │ │ │ └── CubeAnimator.controller.meta │ ├── UI.meta │ └── UI │ │ ├── RestrictedButton.cs │ │ ├── RestrictedButton.cs.meta │ │ ├── UI.unity │ │ ├── UI.unity.meta │ │ ├── UITest.cs │ │ └── UITest.cs.meta │ ├── Images.meta │ ├── Images │ ├── GJAPIDummy.png │ ├── GJAPIDummy.png.meta │ ├── GJAPIInputField.png │ ├── GJAPIInputField.png.meta │ ├── GJAPILoginIcon.png │ ├── GJAPILoginIcon.png.meta │ ├── GJAPILogo.png │ ├── GJAPILogo.png.meta │ ├── GJAPITokenIcon.png │ ├── GJAPITokenIcon.png.meta │ ├── GJAPIUserIcon.png │ └── GJAPIUserIcon.png.meta │ ├── Prefabs.meta │ ├── Prefabs │ ├── GameJoltAPI.prefab │ ├── GameJoltAPI.prefab.meta │ ├── ScoreItem.prefab │ ├── ScoreItem.prefab.meta │ ├── TableButton.prefab │ ├── TableButton.prefab.meta │ ├── TrophyItem.prefab │ └── TrophyItem.prefab.meta │ ├── Resources.meta │ ├── Resources │ ├── Images.meta │ └── Images │ │ ├── GJAPIDefaultAvatar.jpg │ │ ├── GJAPIDefaultAvatar.jpg.meta │ │ ├── GJAPIDefaultNotification.jpg │ │ ├── GJAPIDefaultNotification.jpg.meta │ │ ├── GJAPIDefaultTrophy.jpg │ │ └── GJAPIDefaultTrophy.jpg.meta │ ├── Scripts.meta │ ├── Scripts │ ├── API.meta │ ├── API │ │ ├── Constants.cs │ │ ├── Constants.cs.meta │ │ ├── Core.meta │ │ ├── Core │ │ │ ├── MonoSingleton.cs │ │ │ ├── MonoSingleton.cs.meta │ │ │ ├── Request.cs │ │ │ ├── Request.cs.meta │ │ │ ├── Response.cs │ │ │ └── Response.cs.meta │ │ ├── DataStore.cs │ │ ├── DataStore.cs.meta │ │ ├── Manager.cs │ │ ├── Manager.cs.meta │ │ ├── Misc.cs │ │ ├── Misc.cs.meta │ │ ├── Objects.meta │ │ ├── Objects │ │ │ ├── Base.cs │ │ │ ├── Base.cs.meta │ │ │ ├── Score.cs │ │ │ ├── Score.cs.meta │ │ │ ├── Table.cs │ │ │ ├── Table.cs.meta │ │ │ ├── Trophy.cs │ │ │ ├── Trophy.cs.meta │ │ │ ├── User.cs │ │ │ └── User.cs.meta │ │ ├── Scores.cs │ │ ├── Scores.cs.meta │ │ ├── Sessions.cs │ │ ├── Sessions.cs.meta │ │ ├── Settings.cs │ │ ├── Settings.cs.meta │ │ ├── Trophies.cs │ │ ├── Trophies.cs.meta │ │ ├── Users.cs │ │ └── Users.cs.meta │ ├── External.meta │ ├── External │ │ ├── SimpleJSON.cs │ │ ├── SimpleJSON.cs.meta │ │ ├── XTEA.cs │ │ └── XTEA.cs.meta │ ├── UI.meta │ └── UI │ │ ├── Behaviours.meta │ │ ├── Behaviours │ │ ├── DismissibleWindow.cs │ │ ├── DismissibleWindow.cs.meta │ │ ├── KeyboardNavigableForm.cs │ │ ├── KeyboardNavigableForm.cs.meta │ │ ├── NotificationCentre.cs │ │ └── NotificationCentre.cs.meta │ │ ├── Controllers.meta │ │ ├── Controllers │ │ ├── BaseWindow.cs │ │ ├── BaseWindow.cs.meta │ │ ├── LeaderboardsWindow.cs │ │ ├── LeaderboardsWindow.cs.meta │ │ ├── NotificationItem.cs │ │ ├── NotificationItem.cs.meta │ │ ├── ScoreItem.cs │ │ ├── ScoreItem.cs.meta │ │ ├── SignInWindow.cs │ │ ├── SignInWindow.cs.meta │ │ ├── TableButton.cs │ │ ├── TableButton.cs.meta │ │ ├── TrophiesWindow.cs │ │ ├── TrophiesWindow.cs.meta │ │ ├── TrophyItem.cs │ │ └── TrophyItem.cs.meta │ │ ├── Manager.cs │ │ ├── Manager.cs.meta │ │ ├── Objects.meta │ │ └── Objects │ │ ├── Notification.cs │ │ └── Notification.cs.meta │ ├── readme.txt │ └── readme.txt.meta ├── CHANGELOG.md ├── Documentation ├── Doxyfile ├── Output │ └── html │ │ ├── annotated.html │ │ ├── arrowdown.png │ │ ├── arrowright.png │ │ ├── bc_s.png │ │ ├── bdwn.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_constants-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_constants.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_mono_singleton-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_mono_singleton.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_mono_singleton.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_request-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_request.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_response-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_core_1_1_response.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_data_store-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_data_store.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_manager-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_manager.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_manager.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_misc-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_misc.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_base-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_base.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_base.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_score-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_score.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_score.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_table-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_table.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_table.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_trophy-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_trophy.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_trophy.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_user-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_user.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_objects_1_1_user.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_scores-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_scores.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_sessions-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_sessions.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_settings-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_settings.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_settings.png │ │ ├── class_game_jolt_1_1_a_p_i_1_1_trophies-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_trophies.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_users-members.html │ │ ├── class_game_jolt_1_1_a_p_i_1_1_users.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_dismissible_window-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_dismissible_window.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_dismissible_window.png │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_keyboard_navigable_form-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_keyboard_navigable_form.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_keyboard_navigable_form.png │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_notification_centre-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_notification_centre.html │ │ ├── class_game_jolt_1_1_u_i_1_1_behaviours_1_1_notification_centre.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_base_window-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_base_window.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_base_window.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_leaderboards_window-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_leaderboards_window.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_leaderboards_window.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_notification_item-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_notification_item.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_notification_item.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_score_item-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_score_item.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_score_item.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_sign_in_window-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_sign_in_window.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_sign_in_window.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_table_button-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_table_button.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_table_button.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophies_window-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophies_window.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophies_window.png │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophy_item-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophy_item.html │ │ ├── class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophy_item.png │ │ ├── class_game_jolt_1_1_u_i_1_1_manager-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_manager.html │ │ ├── class_game_jolt_1_1_u_i_1_1_manager.png │ │ ├── class_game_jolt_1_1_u_i_1_1_objects_1_1_notification-members.html │ │ ├── class_game_jolt_1_1_u_i_1_1_objects_1_1_notification.html │ │ ├── closed.png │ │ ├── custom.css │ │ ├── dir_030a908d0b05c9b12966e769cc6802b7.html │ │ ├── dir_0b4eaef40a1fe20bedafe9e8e719ce66.html │ │ ├── dir_0cd74e691a2e791625b62fcac57a82cf.html │ │ ├── dir_0e424c5ca17b63935bea643c48698145.html │ │ ├── dir_156fe2c57e6e30a77483093d19328575.html │ │ ├── dir_192ca38f0175fa1a60a36deb5c501c40.html │ │ ├── dir_1f60d357b35fdfadb6818e9844ecedee.html │ │ ├── dir_2531af573ed64a685a349c5937d2827f.html │ │ ├── dir_25347b4adf69bbcff043aebe3c89721a.html │ │ ├── dir_47fc72583b95e893c1b69dddfca5c502.html │ │ ├── dir_583bdb35ab3ddc26956aa0af977eaa06.html │ │ ├── dir_628e589f57e02f11b51a61ad6a60367a.html │ │ ├── dir_6efcf6584681993e5b0b07d83f3a60f8.html │ │ ├── dir_74513755f0769637a97ce495687a76ea.html │ │ ├── dir_758e3a4c79805ca7e2bedb881f40c45f.html │ │ ├── dir_8bd5d0efc20abb53097ed02277035fe7.html │ │ ├── dir_99ef224956ce202912398edc296d2518.html │ │ ├── dir_9d3365f1da231edf34201723332fc782.html │ │ ├── dir_b4a3dedc6ebf780451ff20b938024bee.html │ │ ├── dir_b6ef262451aa0763b9ed3d27d47b2ee3.html │ │ ├── doc.png │ │ ├── downloads.html │ │ ├── doxygen.css │ │ ├── doxygen.png │ │ ├── dynsections.js │ │ ├── faq.html │ │ ├── folderclosed.png │ │ ├── folderopen.png │ │ ├── icomoon.eot │ │ ├── icomoon.svg │ │ ├── icomoon.ttf │ │ ├── icomoon.woff │ │ ├── index.html │ │ ├── jquery.js │ │ ├── md___users_loic__projects_gjapi__documentation__pages_downloads.html │ │ ├── md___users_loic__projects_gjapi__documentation__pages_main.html │ │ ├── md___users_loic__projects_gjapi__documentation__pages_tutorial.html │ │ ├── menu.js │ │ ├── menudata.js │ │ ├── namespace_game_jolt.html │ │ ├── namespace_game_jolt_1_1_a_p_i.html │ │ ├── namespace_game_jolt_1_1_a_p_i_1_1_core.html │ │ ├── namespace_game_jolt_1_1_a_p_i_1_1_objects.html │ │ ├── namespace_game_jolt_1_1_u_i.html │ │ ├── namespace_game_jolt_1_1_u_i_1_1_behaviours.html │ │ ├── namespace_game_jolt_1_1_u_i_1_1_controllers.html │ │ ├── namespace_game_jolt_1_1_u_i_1_1_objects.html │ │ ├── nav_f.png │ │ ├── nav_g.png │ │ ├── nav_h.png │ │ ├── open.png │ │ ├── splitbar.png │ │ ├── sync_off.png │ │ ├── sync_on.png │ │ ├── tab_a.png │ │ ├── tab_b.png │ │ ├── tab_h.png │ │ ├── tab_s.png │ │ ├── tabs.css │ │ └── tutorial.html ├── Pages │ ├── downloads.md │ ├── faq.md │ ├── main.md │ └── tutorial.md └── Templates │ ├── css │ └── custom.css │ ├── fonts │ ├── icomoon.eot │ ├── icomoon.svg │ ├── icomoon.ttf │ └── icomoon.woff │ └── layouts │ ├── DoxygenLayout.xml │ ├── footer.html │ └── header.html ├── LICENSE.txt ├── Makefile ├── ProjectSettings ├── AudioManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset └── TimeManager.asset └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uilds/ 5 | [Mm]isc/ 6 | 7 | # Autogenerated VS/MD solution and project files 8 | *.csproj 9 | *.unityproj 10 | *.sln 11 | *.suo 12 | *.tmp 13 | *.user 14 | *.userprefs 15 | *.pidb 16 | *.booproj 17 | 18 | # Unity3D generated meta files 19 | *.pidb.meta 20 | 21 | # Unity3D Generated File On Crash Reports 22 | sysinfo.txt 23 | 24 | # GJAPI Settings 25 | [Aa]ssets/Plugins/GameJolt/Resources/GJAPISettings.* 26 | 27 | # Asset Store Tools 28 | [Aa]ssets/AssetStoreTools* 29 | 30 | # OS 31 | .DS_Store 32 | -------------------------------------------------------------------------------- /Assembly-CSharp-firstpass-vs.csproj.DotSettings: -------------------------------------------------------------------------------- 1 | 2 | True 3 | True -------------------------------------------------------------------------------- /AssetStore/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/icon.png -------------------------------------------------------------------------------- /AssetStore/large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/large.png -------------------------------------------------------------------------------- /AssetStore/large.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/large.xcf -------------------------------------------------------------------------------- /AssetStore/screens/signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/screens/signin.png -------------------------------------------------------------------------------- /AssetStore/screens/trophies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/screens/trophies.png -------------------------------------------------------------------------------- /AssetStore/small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/AssetStore/small.png -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88451dbc06cb0704b9bd1f9c42bf50e9 3 | folderAsset: yes 4 | timeCreated: 1428098980 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1067cac67c4a3ba4db258f8f1b1973a1 3 | folderAsset: yes 4 | timeCreated: 1428099224 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/GameJolt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edf03feba6208c54dab3f8389e29a9ca 3 | folderAsset: yes 4 | timeCreated: 1428277938 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/GameJolt/SettingsEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using GameJolt.API; 3 | using UnityEditor; 4 | 5 | namespace GameJolt.Editor { 6 | [CustomEditor(typeof(Settings))] 7 | public class SettingsEditor : UnityEditor.Editor { 8 | public override void OnInspectorGUI() { 9 | var settings = target as Settings; 10 | if(settings == null) return; 11 | if(string.IsNullOrEmpty(settings.encryptionKey)) 12 | settings.encryptionKey = GetRandomPassword(); 13 | base.OnInspectorGUI(); 14 | } 15 | 16 | private static string GetRandomPassword() { 17 | const int pwLength = 16; 18 | const string chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-*/=?!§$%&"; 19 | var pw = new char[pwLength]; 20 | var rnd = new Random(); 21 | for(int i = 0; i < pwLength; i++) 22 | pw[i] = chars[rnd.Next(chars.Length)]; 23 | return new string(pw); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/GameJolt/SettingsEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d643ebd0583fe994a8c4fd8a34020d83 3 | timeCreated: 1508942409 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Editor/GameJolt/Tools.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.EventSystems; 3 | using UnityEditor; 4 | using GameJolt.API; 5 | 6 | namespace GameJolt.Editor 7 | { 8 | public class Tools : MonoBehaviour { 9 | 10 | [MenuItem("Edit/Project Settings/Game Jolt API")] 11 | public static void Settings() 12 | { 13 | var asset = AssetDatabase.LoadAssetAtPath(Constants.SETTINGS_ASSET_FULL_PATH, typeof(Settings)) as Settings; 14 | if (asset == null) 15 | { 16 | asset = ScriptableObject.CreateInstance(); 17 | AssetDatabase.CreateAsset(asset, Constants.SETTINGS_ASSET_FULL_PATH); 18 | AssetDatabase.SaveAssets(); 19 | } 20 | 21 | EditorUtility.FocusProjectWindow(); 22 | Selection.activeObject = asset; 23 | } 24 | 25 | [MenuItem("GameObject/Game Jolt API Manager")] 26 | public static void Manager() 27 | { 28 | var manager = FindObjectOfType(); 29 | if (manager != null) 30 | { 31 | Selection.activeObject = manager; 32 | } 33 | else 34 | { 35 | var prefab = AssetDatabase.LoadAssetAtPath(Constants.MANAGER_ASSET_FULL_PATH, typeof(GameObject)) as GameObject; 36 | if (prefab == null) 37 | { 38 | Debug.LogError("Unable to locate Game Jolt API prefab."); 39 | } 40 | else 41 | { 42 | var clone = PrefabUtility.InstantiatePrefab(prefab) as GameObject; 43 | Selection.activeObject = clone; 44 | 45 | if (FindObjectOfType() == null) 46 | { 47 | new GameObject( 48 | "EventSystem", 49 | typeof(EventSystem), 50 | typeof(StandaloneInputModule), 51 | typeof(StandaloneInputModule) 52 | ); 53 | } 54 | } 55 | } 56 | } 57 | } 58 | } -------------------------------------------------------------------------------- /Assets/Plugins/Editor/GameJolt/Tools.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c276adf5d723c444fb10be1306ffbb62 3 | timeCreated: 1428101463 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b696b31cf14e0542ba0f0d864c955dd 3 | folderAsset: yes 4 | timeCreated: 1428096971 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 413de3fbde342ab449a0a55bfd3ead5f 3 | folderAsset: yes 4 | timeCreated: 1430181387 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/GameJoltController.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90deceee486bc63489ac84ed03c2e230 3 | timeCreated: 1430107417 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/LeaderboardsWindow.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05ff3a398773cc64a8d1455c12e15a3e 3 | timeCreated: 1433026792 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/LeaderboardsWindowAppears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7244e7977d400049b758e25a66c152f 3 | timeCreated: 1433026778 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/LeaderboardsWindowDisappears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607a137d8ba8f6a4d88f0faf59c03038 3 | timeCreated: 1433026806 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/LeaderboardsWindowProcessing.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: LeaderboardsWindowProcessing 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | m_PreInfinity: 2 27 | m_PostInfinity: 2 28 | attribute: m_IsActive 29 | path: Modal 30 | classID: 1 31 | script: {fileID: 0} 32 | - curve: 33 | serializedVersion: 2 34 | m_Curve: 35 | - time: 0 36 | value: 1 37 | inSlope: Infinity 38 | outSlope: Infinity 39 | tangentMode: 31 40 | m_PreInfinity: 2 41 | m_PostInfinity: 2 42 | attribute: m_IsActive 43 | path: LeaderboardPanel 44 | classID: 1 45 | script: {fileID: 0} 46 | m_PPtrCurves: [] 47 | m_SampleRate: 60 48 | m_WrapMode: 0 49 | m_Bounds: 50 | m_Center: {x: 0, y: 0, z: 0} 51 | m_Extent: {x: 0, y: 0, z: 0} 52 | m_ClipBindingConstant: 53 | genericBindings: 54 | - path: 1916311769 55 | attribute: 2086281974 56 | script: {fileID: 0} 57 | classID: 1 58 | customType: 0 59 | isPPtrCurve: 0 60 | - path: 3660318455 61 | attribute: 2086281974 62 | script: {fileID: 0} 63 | classID: 1 64 | customType: 0 65 | isPPtrCurve: 0 66 | pptrCurveMapping: [] 67 | m_AnimationClipSettings: 68 | serializedVersion: 2 69 | m_StartTime: 0 70 | m_StopTime: 0 71 | m_OrientationOffsetY: 0 72 | m_Level: 0 73 | m_CycleOffset: 0 74 | m_LoopTime: 0 75 | m_LoopBlend: 0 76 | m_LoopBlendOrientation: 0 77 | m_LoopBlendPositionY: 0 78 | m_LoopBlendPositionXZ: 0 79 | m_KeepOriginalOrientation: 0 80 | m_KeepOriginalPositionY: 1 81 | m_KeepOriginalPositionXZ: 0 82 | m_HeightFromFeet: 0 83 | m_Mirror: 0 84 | m_EditorCurves: 85 | - curve: 86 | serializedVersion: 2 87 | m_Curve: 88 | - time: 0 89 | value: 1 90 | inSlope: Infinity 91 | outSlope: Infinity 92 | tangentMode: 31 93 | m_PreInfinity: 2 94 | m_PostInfinity: 2 95 | attribute: m_IsActive 96 | path: Modal 97 | classID: 1 98 | script: {fileID: 0} 99 | - curve: 100 | serializedVersion: 2 101 | m_Curve: 102 | - time: 0 103 | value: 1 104 | inSlope: Infinity 105 | outSlope: Infinity 106 | tangentMode: 31 107 | m_PreInfinity: 2 108 | m_PostInfinity: 2 109 | attribute: m_IsActive 110 | path: LeaderboardPanel 111 | classID: 1 112 | script: {fileID: 0} 113 | m_EulerEditorCurves: [] 114 | m_HasGenericRootTransform: 0 115 | m_HasMotionFloatCurves: 0 116 | m_GenerateMotionCurves: 0 117 | m_Events: [] 118 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/LeaderboardsWindowProcessing.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3ec411947f349140b5dd299da729f9e 3 | timeCreated: 1433030566 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/Loading.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2811fcc5e667f714e9b4c5aee85e9330 3 | timeCreated: 1432347336 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/ModalAppears.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: ModalAppears 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | m_PreInfinity: 2 27 | m_PostInfinity: 2 28 | attribute: m_IsActive 29 | path: Modal 30 | classID: 1 31 | script: {fileID: 0} 32 | - curve: 33 | serializedVersion: 2 34 | m_Curve: 35 | - time: 0 36 | value: 0 37 | inSlope: 6 38 | outSlope: 6 39 | tangentMode: 10 40 | - time: .166666672 41 | value: 1 42 | inSlope: 6 43 | outSlope: 6 44 | tangentMode: 10 45 | m_PreInfinity: 2 46 | m_PostInfinity: 2 47 | attribute: m_Alpha 48 | path: Modal 49 | classID: 225 50 | script: {fileID: 0} 51 | m_PPtrCurves: [] 52 | m_SampleRate: 60 53 | m_WrapMode: 0 54 | m_Bounds: 55 | m_Center: {x: 0, y: 0, z: 0} 56 | m_Extent: {x: 0, y: 0, z: 0} 57 | m_ClipBindingConstant: 58 | genericBindings: 59 | - path: 1916311769 60 | attribute: 2086281974 61 | script: {fileID: 0} 62 | classID: 1 63 | customType: 0 64 | isPPtrCurve: 0 65 | - path: 1916311769 66 | attribute: 1574349066 67 | script: {fileID: 0} 68 | classID: 225 69 | customType: 0 70 | isPPtrCurve: 0 71 | pptrCurveMapping: [] 72 | m_AnimationClipSettings: 73 | serializedVersion: 2 74 | m_StartTime: 0 75 | m_StopTime: .166666672 76 | m_OrientationOffsetY: 0 77 | m_Level: 0 78 | m_CycleOffset: 0 79 | m_LoopTime: 0 80 | m_LoopBlend: 0 81 | m_LoopBlendOrientation: 0 82 | m_LoopBlendPositionY: 0 83 | m_LoopBlendPositionXZ: 0 84 | m_KeepOriginalOrientation: 0 85 | m_KeepOriginalPositionY: 1 86 | m_KeepOriginalPositionXZ: 0 87 | m_HeightFromFeet: 0 88 | m_Mirror: 0 89 | m_EditorCurves: 90 | - curve: 91 | serializedVersion: 2 92 | m_Curve: 93 | - time: 0 94 | value: 1 95 | inSlope: Infinity 96 | outSlope: Infinity 97 | tangentMode: 31 98 | m_PreInfinity: 2 99 | m_PostInfinity: 2 100 | attribute: m_IsActive 101 | path: Modal 102 | classID: 1 103 | script: {fileID: 0} 104 | - curve: 105 | serializedVersion: 2 106 | m_Curve: 107 | - time: 0 108 | value: 0 109 | inSlope: 6 110 | outSlope: 6 111 | tangentMode: 10 112 | - time: .166666672 113 | value: 1 114 | inSlope: 6 115 | outSlope: 6 116 | tangentMode: 10 117 | m_PreInfinity: 2 118 | m_PostInfinity: 2 119 | attribute: m_Alpha 120 | path: Modal 121 | classID: 225 122 | script: {fileID: 0} 123 | m_EulerEditorCurves: [] 124 | m_HasGenericRootTransform: 0 125 | m_HasMotionFloatCurves: 0 126 | m_GenerateMotionCurves: 0 127 | m_Events: [] 128 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/ModalAppears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35f4c5b16c9644f4aad180dd557a27a6 3 | timeCreated: 1430107417 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/Notification.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Notification 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | m_PreInfinity: 2 27 | m_PostInfinity: 2 28 | attribute: m_IsActive 29 | path: NotificationPanel 30 | classID: 1 31 | script: {fileID: 0} 32 | m_PPtrCurves: [] 33 | m_SampleRate: 60 34 | m_WrapMode: 0 35 | m_Bounds: 36 | m_Center: {x: 0, y: 0, z: 0} 37 | m_Extent: {x: 0, y: 0, z: 0} 38 | m_ClipBindingConstant: 39 | genericBindings: 40 | - path: 2832659920 41 | attribute: 2086281974 42 | script: {fileID: 0} 43 | classID: 1 44 | customType: 0 45 | isPPtrCurve: 0 46 | pptrCurveMapping: [] 47 | m_AnimationClipSettings: 48 | serializedVersion: 2 49 | m_StartTime: 0 50 | m_StopTime: 0 51 | m_OrientationOffsetY: 0 52 | m_Level: 0 53 | m_CycleOffset: 0 54 | m_LoopTime: 0 55 | m_LoopBlend: 0 56 | m_LoopBlendOrientation: 0 57 | m_LoopBlendPositionY: 0 58 | m_LoopBlendPositionXZ: 0 59 | m_KeepOriginalOrientation: 0 60 | m_KeepOriginalPositionY: 1 61 | m_KeepOriginalPositionXZ: 0 62 | m_HeightFromFeet: 0 63 | m_Mirror: 0 64 | m_EditorCurves: 65 | - curve: 66 | serializedVersion: 2 67 | m_Curve: 68 | - time: 0 69 | value: 1 70 | inSlope: Infinity 71 | outSlope: Infinity 72 | tangentMode: 31 73 | m_PreInfinity: 2 74 | m_PostInfinity: 2 75 | attribute: m_IsActive 76 | path: NotificationPanel 77 | classID: 1 78 | script: {fileID: 0} 79 | m_EulerEditorCurves: [] 80 | m_HasGenericRootTransform: 0 81 | m_HasMotionFloatCurves: 0 82 | m_GenerateMotionCurves: 0 83 | m_Events: [] 84 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/Notification.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7ef25cb12a104c44a100677330e9664 3 | timeCreated: 1433363764 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/NotificationAppears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6aba10c1ca3db140b24a34afe81e639 3 | timeCreated: 1433363673 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/NotificationDisappears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 421c66238f848904683b57a19a7bb222 3 | timeCreated: 1433363696 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/SignInWindow.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: SignInWindow 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | m_PreInfinity: 2 27 | m_PostInfinity: 2 28 | attribute: m_IsActive 29 | path: SignInPanel 30 | classID: 1 31 | script: {fileID: 0} 32 | - curve: 33 | serializedVersion: 2 34 | m_Curve: 35 | - time: 0 36 | value: 1 37 | inSlope: Infinity 38 | outSlope: Infinity 39 | tangentMode: 31 40 | m_PreInfinity: 2 41 | m_PostInfinity: 2 42 | attribute: m_IsActive 43 | path: Modal 44 | classID: 1 45 | script: {fileID: 0} 46 | m_PPtrCurves: [] 47 | m_SampleRate: 60 48 | m_WrapMode: 0 49 | m_Bounds: 50 | m_Center: {x: 0, y: 0, z: 0} 51 | m_Extent: {x: 0, y: 0, z: 0} 52 | m_ClipBindingConstant: 53 | genericBindings: 54 | - path: 476655105 55 | attribute: 2086281974 56 | script: {fileID: 0} 57 | classID: 1 58 | customType: 0 59 | isPPtrCurve: 0 60 | - path: 1916311769 61 | attribute: 2086281974 62 | script: {fileID: 0} 63 | classID: 1 64 | customType: 0 65 | isPPtrCurve: 0 66 | pptrCurveMapping: [] 67 | m_AnimationClipSettings: 68 | serializedVersion: 2 69 | m_StartTime: 0 70 | m_StopTime: 0 71 | m_OrientationOffsetY: 0 72 | m_Level: 0 73 | m_CycleOffset: 0 74 | m_LoopTime: 0 75 | m_LoopBlend: 0 76 | m_LoopBlendOrientation: 0 77 | m_LoopBlendPositionY: 0 78 | m_LoopBlendPositionXZ: 0 79 | m_KeepOriginalOrientation: 0 80 | m_KeepOriginalPositionY: 1 81 | m_KeepOriginalPositionXZ: 0 82 | m_HeightFromFeet: 0 83 | m_Mirror: 0 84 | m_EditorCurves: 85 | - curve: 86 | serializedVersion: 2 87 | m_Curve: 88 | - time: 0 89 | value: 1 90 | inSlope: Infinity 91 | outSlope: Infinity 92 | tangentMode: 31 93 | m_PreInfinity: 2 94 | m_PostInfinity: 2 95 | attribute: m_IsActive 96 | path: SignInPanel 97 | classID: 1 98 | script: {fileID: 0} 99 | - curve: 100 | serializedVersion: 2 101 | m_Curve: 102 | - time: 0 103 | value: 1 104 | inSlope: Infinity 105 | outSlope: Infinity 106 | tangentMode: 31 107 | m_PreInfinity: 2 108 | m_PostInfinity: 2 109 | attribute: m_IsActive 110 | path: Modal 111 | classID: 1 112 | script: {fileID: 0} 113 | m_EulerEditorCurves: [] 114 | m_HasGenericRootTransform: 0 115 | m_HasMotionFloatCurves: 0 116 | m_GenerateMotionCurves: 0 117 | m_Events: [] 118 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/SignInWindow.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6dcd2ab4971509848ba39cb803a41095 3 | timeCreated: 1430108169 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/SignInWindowAppears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19125fbdb6036ca47a4c93acc20b429f 3 | timeCreated: 1430107594 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/SignInWindowDisappears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1885cc77e9203a4daa357caa7d9dcba 3 | timeCreated: 1430958417 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/SignInWindowProcessing.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 025f80cae6c91de4893f19c969fa6b1e 3 | timeCreated: 1430718095 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/TrophiesWindow.anim: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!74 &7400000 4 | AnimationClip: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: TrophiesWindow 9 | serializedVersion: 6 10 | m_Legacy: 0 11 | m_Compressed: 0 12 | m_UseHighQualityCurve: 1 13 | m_RotationCurves: [] 14 | m_CompressedRotationCurves: [] 15 | m_PositionCurves: [] 16 | m_ScaleCurves: [] 17 | m_FloatCurves: 18 | - curve: 19 | serializedVersion: 2 20 | m_Curve: 21 | - time: 0 22 | value: 1 23 | inSlope: Infinity 24 | outSlope: Infinity 25 | tangentMode: 31 26 | m_PreInfinity: 2 27 | m_PostInfinity: 2 28 | attribute: m_IsActive 29 | path: Modal 30 | classID: 1 31 | script: {fileID: 0} 32 | - curve: 33 | serializedVersion: 2 34 | m_Curve: 35 | - time: 0 36 | value: 1 37 | inSlope: Infinity 38 | outSlope: Infinity 39 | tangentMode: 31 40 | m_PreInfinity: 2 41 | m_PostInfinity: 2 42 | attribute: m_IsActive 43 | path: TrophiesPanel 44 | classID: 1 45 | script: {fileID: 0} 46 | m_PPtrCurves: [] 47 | m_SampleRate: 60 48 | m_WrapMode: 0 49 | m_Bounds: 50 | m_Center: {x: 0, y: 0, z: 0} 51 | m_Extent: {x: 0, y: 0, z: 0} 52 | m_ClipBindingConstant: 53 | genericBindings: 54 | - path: 1916311769 55 | attribute: 2086281974 56 | script: {fileID: 0} 57 | classID: 1 58 | customType: 0 59 | isPPtrCurve: 0 60 | - path: 3795479679 61 | attribute: 2086281974 62 | script: {fileID: 0} 63 | classID: 1 64 | customType: 0 65 | isPPtrCurve: 0 66 | pptrCurveMapping: [] 67 | m_AnimationClipSettings: 68 | serializedVersion: 2 69 | m_StartTime: 0 70 | m_StopTime: 0 71 | m_OrientationOffsetY: 0 72 | m_Level: 0 73 | m_CycleOffset: 0 74 | m_LoopTime: 0 75 | m_LoopBlend: 0 76 | m_LoopBlendOrientation: 0 77 | m_LoopBlendPositionY: 0 78 | m_LoopBlendPositionXZ: 0 79 | m_KeepOriginalOrientation: 0 80 | m_KeepOriginalPositionY: 1 81 | m_KeepOriginalPositionXZ: 0 82 | m_HeightFromFeet: 0 83 | m_Mirror: 0 84 | m_EditorCurves: 85 | - curve: 86 | serializedVersion: 2 87 | m_Curve: 88 | - time: 0 89 | value: 1 90 | inSlope: Infinity 91 | outSlope: Infinity 92 | tangentMode: 31 93 | m_PreInfinity: 2 94 | m_PostInfinity: 2 95 | attribute: m_IsActive 96 | path: Modal 97 | classID: 1 98 | script: {fileID: 0} 99 | - curve: 100 | serializedVersion: 2 101 | m_Curve: 102 | - time: 0 103 | value: 1 104 | inSlope: Infinity 105 | outSlope: Infinity 106 | tangentMode: 31 107 | m_PreInfinity: 2 108 | m_PostInfinity: 2 109 | attribute: m_IsActive 110 | path: TrophiesPanel 111 | classID: 1 112 | script: {fileID: 0} 113 | m_EulerEditorCurves: [] 114 | m_HasGenericRootTransform: 0 115 | m_HasMotionFloatCurves: 0 116 | m_GenerateMotionCurves: 0 117 | m_Events: [] 118 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/TrophiesWindow.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0a563e72a7ac6246b4eb96eed7a7d9d 3 | timeCreated: 1432349637 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/TrophiesWindowAppears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dda0680958b92a44a061ef287be49d6 3 | timeCreated: 1432349409 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Animations/TrophiesWindowDisappears.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 126116fe1ed20164697e3ccab61982f4 3 | timeCreated: 1432357835 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b91b6ee24b8365c46bc58bc634563d1b 3 | folderAsset: yes 4 | timeCreated: 1430181387 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c343964593fa4149a66bfb7780c21c7 3 | folderAsset: yes 4 | timeCreated: 1428294322 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console/Console.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a33dd15a501c284b9834169e2d64da4 3 | timeCreated: 1428189985 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console/ConsoleTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4549baf5abb527a44beff34449a89657 3 | timeCreated: 1428287863 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf95fac022102824581fcf22f8f9d495 3 | folderAsset: yes 4 | timeCreated: 1428294340 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console/Prefabs/Line.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &109592 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 224: {fileID: 22497400} 11 | - 222: {fileID: 22288002} 12 | - 114: {fileID: 11400036} 13 | m_Layer: 5 14 | m_Name: Line 15 | m_TagString: Untagged 16 | m_Icon: {fileID: 0} 17 | m_NavMeshLayer: 0 18 | m_StaticEditorFlags: 0 19 | m_IsActive: 1 20 | --- !u!114 &11400036 21 | MonoBehaviour: 22 | m_ObjectHideFlags: 1 23 | m_PrefabParentObject: {fileID: 0} 24 | m_PrefabInternal: {fileID: 100100000} 25 | m_GameObject: {fileID: 109592} 26 | m_Enabled: 1 27 | m_EditorHideFlags: 0 28 | m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 29 | m_Name: 30 | m_EditorClassIdentifier: 31 | m_Material: {fileID: 0} 32 | m_Color: {r: .196078435, g: .196078435, b: .196078435, a: 1} 33 | m_FontData: 34 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 35 | m_FontSize: 14 36 | m_FontStyle: 0 37 | m_BestFit: 0 38 | m_MinSize: 10 39 | m_MaxSize: 40 40 | m_Alignment: 0 41 | m_RichText: 1 42 | m_HorizontalOverflow: 0 43 | m_VerticalOverflow: 0 44 | m_LineSpacing: 1 45 | m_Text: 46 | --- !u!222 &22288002 47 | CanvasRenderer: 48 | m_ObjectHideFlags: 1 49 | m_PrefabParentObject: {fileID: 0} 50 | m_PrefabInternal: {fileID: 100100000} 51 | m_GameObject: {fileID: 109592} 52 | --- !u!224 &22497400 53 | RectTransform: 54 | m_ObjectHideFlags: 1 55 | m_PrefabParentObject: {fileID: 0} 56 | m_PrefabInternal: {fileID: 100100000} 57 | m_GameObject: {fileID: 109592} 58 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 59 | m_LocalPosition: {x: 0, y: 0, z: 0} 60 | m_LocalScale: {x: 1, y: 1, z: 1} 61 | m_Children: [] 62 | m_Father: {fileID: 0} 63 | m_RootOrder: 0 64 | m_AnchorMin: {x: 0, y: 0} 65 | m_AnchorMax: {x: 0, y: 0} 66 | m_AnchoredPosition: {x: 0, y: 0} 67 | m_SizeDelta: {x: 0, y: 0} 68 | m_Pivot: {x: .5, y: .5} 69 | --- !u!1001 &100100000 70 | Prefab: 71 | m_ObjectHideFlags: 1 72 | serializedVersion: 2 73 | m_Modification: 74 | m_TransformParent: {fileID: 0} 75 | m_Modifications: [] 76 | m_RemovedComponents: [] 77 | m_ParentPrefab: {fileID: 0} 78 | m_RootGameObject: {fileID: 109592} 79 | m_IsPrefabParent: 1 80 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Console/Prefabs/Line.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e6c55c6b22700145a3ad929a57a91e3 3 | timeCreated: 1428288509 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Load.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0017f2933a76d4cd5bd33ec7e9864c49 3 | folderAsset: yes 4 | timeCreated: 1489805159 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Load/LoadTest.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class LoadTest : MonoBehaviour 6 | { 7 | public void SignInButtonClicked() 8 | { 9 | GameJolt.UI.Manager.Instance.ShowSignIn((bool success) => { 10 | if (success) 11 | { 12 | GameJolt.UI.Manager.Instance.QueueNotification("Welcome"); 13 | } 14 | else 15 | { 16 | GameJolt.UI.Manager.Instance.QueueNotification("Closed the window :("); 17 | } 18 | }); 19 | } 20 | 21 | public void SignOutButtonClicked() { 22 | if(GameJolt.API.Manager.Instance.CurrentUser == null) { 23 | GameJolt.UI.Manager.Instance.QueueNotification("You're not signed in"); 24 | } else { 25 | GameJolt.API.Manager.Instance.CurrentUser.SignOut(); 26 | GameJolt.UI.Manager.Instance.QueueNotification("Signed out :("); 27 | } 28 | } 29 | 30 | public void IsSignedInButtonClicked() { 31 | if (GameJolt.API.Manager.Instance.CurrentUser != null) { 32 | GameJolt.UI.Manager.Instance.QueueNotification( 33 | "Signed in as " + GameJolt.API.Manager.Instance.CurrentUser.Name); 34 | } 35 | else { 36 | GameJolt.UI.Manager.Instance.QueueNotification("Not Signed In :("); 37 | } 38 | } 39 | 40 | public void LoadSceneButtonClicked(string sceneName) { 41 | Debug.Log("Loading Scene " + sceneName); 42 | #if UNITY_5_0 || UNITY_5_1 || UNITY_5_2 43 | Application.LoadLevel(sceneName); 44 | #else 45 | UnityEngine.SceneManagement.SceneManager.LoadScene(sceneName); 46 | #endif 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Load/LoadTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71c415a2c312f48438ce3e9421c722f3 3 | timeCreated: 1489805666 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Load/One.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5a88fd1228154bfdb03ffa440fb61e7 3 | timeCreated: 1489805438 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Load/Two.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df5af32711f3e413086aec0f5a84a9cc 3 | timeCreated: 1489806115 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5893b3a125d849088e1930515099021 3 | folderAsset: yes 4 | timeCreated: 1489805226 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74b84f88263494088b643722e32abe6d 3 | folderAsset: yes 4 | timeCreated: 1489805283 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube/Cube.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &199916 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 4: {fileID: 490642} 11 | - 33: {fileID: 3397092} 12 | - 65: {fileID: 6579620} 13 | - 23: {fileID: 2312888} 14 | - 95: {fileID: 9543994} 15 | m_Layer: 0 16 | m_Name: Cube 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!4 &490642 23 | Transform: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 199916} 28 | m_LocalRotation: {x: 0, y: 0, z: .382683456, w: .923879504} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 3, y: 3, z: 3} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | --- !u!23 &2312888 35 | MeshRenderer: 36 | m_ObjectHideFlags: 1 37 | m_PrefabParentObject: {fileID: 0} 38 | m_PrefabInternal: {fileID: 100100000} 39 | m_GameObject: {fileID: 199916} 40 | m_Enabled: 1 41 | m_CastShadows: 1 42 | m_ReceiveShadows: 1 43 | m_Materials: 44 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 45 | m_SubsetIndices: 46 | m_StaticBatchRoot: {fileID: 0} 47 | m_UseLightProbes: 1 48 | m_ReflectionProbeUsage: 1 49 | m_ProbeAnchor: {fileID: 0} 50 | m_ScaleInLightmap: 1 51 | m_PreserveUVs: 1 52 | m_ImportantGI: 0 53 | m_AutoUVMaxDistance: .5 54 | m_AutoUVMaxAngle: 89 55 | m_LightmapParameters: {fileID: 0} 56 | m_SortingLayerID: 0 57 | m_SortingOrder: 0 58 | --- !u!33 &3397092 59 | MeshFilter: 60 | m_ObjectHideFlags: 1 61 | m_PrefabParentObject: {fileID: 0} 62 | m_PrefabInternal: {fileID: 100100000} 63 | m_GameObject: {fileID: 199916} 64 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 65 | --- !u!65 &6579620 66 | BoxCollider: 67 | m_ObjectHideFlags: 1 68 | m_PrefabParentObject: {fileID: 0} 69 | m_PrefabInternal: {fileID: 100100000} 70 | m_GameObject: {fileID: 199916} 71 | m_Material: {fileID: 0} 72 | m_IsTrigger: 0 73 | m_Enabled: 1 74 | serializedVersion: 2 75 | m_Size: {x: 1, y: 1, z: 1} 76 | m_Center: {x: 0, y: 0, z: 0} 77 | --- !u!95 &9543994 78 | Animator: 79 | serializedVersion: 3 80 | m_ObjectHideFlags: 1 81 | m_PrefabParentObject: {fileID: 0} 82 | m_PrefabInternal: {fileID: 100100000} 83 | m_GameObject: {fileID: 199916} 84 | m_Enabled: 1 85 | m_Avatar: {fileID: 0} 86 | m_Controller: {fileID: 9100000, guid: 8f9be732d6e984c33a4e580508158bab, type: 2} 87 | m_CullingMode: 0 88 | m_UpdateMode: 0 89 | m_ApplyRootMotion: 0 90 | m_LinearVelocityBlending: 0 91 | m_WarningMessage: 92 | m_HasTransformHierarchy: 1 93 | m_AllowConstantClipSamplingOptimization: 1 94 | --- !u!1001 &100100000 95 | Prefab: 96 | m_ObjectHideFlags: 1 97 | serializedVersion: 2 98 | m_Modification: 99 | m_TransformParent: {fileID: 0} 100 | m_Modifications: [] 101 | m_RemovedComponents: [] 102 | m_ParentPrefab: {fileID: 0} 103 | m_RootGameObject: {fileID: 199916} 104 | m_IsPrefabParent: 1 105 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube/Cube.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a2994124f93a42fb99a7b8658864d48 3 | timeCreated: 1489805315 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube/CubeAnimation.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a35be78ce2604a13ab3e565247e69aa 3 | timeCreated: 1436597886 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube/CubeAnimator.controller: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!91 &9100000 4 | AnimatorController: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: CubeAnimator 9 | serializedVersion: 5 10 | m_AnimatorParameters: [] 11 | m_AnimatorLayers: 12 | - serializedVersion: 5 13 | m_Name: Base Layer 14 | m_StateMachine: {fileID: 110780084} 15 | m_Mask: {fileID: 0} 16 | m_Motions: [] 17 | m_Behaviours: [] 18 | m_BlendingMode: 0 19 | m_SyncedLayerIndex: -1 20 | m_DefaultWeight: 0 21 | m_IKPass: 0 22 | m_SyncedLayerAffectsTiming: 0 23 | m_Controller: {fileID: 9100000} 24 | m_MultiThreadedStateMachine: 1 25 | --- !u!1102 &110266184 26 | AnimatorState: 27 | serializedVersion: 5 28 | m_ObjectHideFlags: 1 29 | m_PrefabParentObject: {fileID: 0} 30 | m_PrefabInternal: {fileID: 0} 31 | m_Name: RotateCube 32 | m_Speed: 1 33 | m_CycleOffset: 0 34 | m_Transitions: [] 35 | m_StateMachineBehaviours: [] 36 | m_Position: {x: 50, y: 50, z: 0} 37 | m_IKOnFeet: 0 38 | m_WriteDefaultValues: 1 39 | m_Mirror: 0 40 | m_Motion: {fileID: 7400000, guid: 6a35be78ce2604a13ab3e565247e69aa, type: 2} 41 | m_Tag: 42 | --- !u!1107 &110780084 43 | AnimatorStateMachine: 44 | serializedVersion: 5 45 | m_ObjectHideFlags: 1 46 | m_PrefabParentObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 0} 48 | m_Name: Base Layer 49 | m_ChildStates: 50 | - serializedVersion: 1 51 | m_State: {fileID: 110266184} 52 | m_Position: {x: 200, y: 0, z: 0} 53 | m_ChildStateMachines: [] 54 | m_AnyStateTransitions: [] 55 | m_EntryTransitions: [] 56 | m_StateMachineTransitions: 57 | data: 58 | first: {fileID: 110780084} 59 | second: [] 60 | m_StateMachineBehaviours: [] 61 | m_AnyStatePosition: {x: 50, y: 20, z: 0} 62 | m_EntryPosition: {x: 50, y: 120, z: 0} 63 | m_ExitPosition: {x: 800, y: 120, z: 0} 64 | m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} 65 | m_DefaultState: {fileID: 110266184} 66 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/Prefabs/RotatingCube/CubeAnimator.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f9be732d6e984c33a4e580508158bab 3 | timeCreated: 1436597886 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3d089fa079e04549947b3aaceedd799 3 | folderAsset: yes 4 | timeCreated: 1431205318 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI/RestrictedButton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class RestrictedButton : MonoBehaviour 5 | { 6 | void Start() 7 | { 8 | var button = GetComponent(); 9 | 10 | #if UNITY_EDITOR 11 | if (GameJolt.API.Manager.Instance.DebugAutoConnect) 12 | { 13 | button.interactable = true; 14 | } 15 | else 16 | { 17 | button.interactable = false; 18 | } 19 | #else 20 | button.interactable = true; 21 | #endif 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI/RestrictedButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc8be6d8c4e067747b2b0f4fae0ebabd 3 | timeCreated: 1432351912 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI/UI.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be2b50d199de26844b5bd80293ee2143 3 | timeCreated: 1430096465 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI/UITest.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | public class UITest : MonoBehaviour 6 | { 7 | public Button showTrophiesButton; 8 | 9 | int notificationQueued = 0; 10 | 11 | public void SignInButtonClicked() 12 | { 13 | GameJolt.UI.Manager.Instance.ShowSignIn((bool signInSuccess) => { 14 | if (signInSuccess) 15 | { 16 | showTrophiesButton.interactable = true; 17 | Debug.Log("Logged In"); 18 | } 19 | else 20 | { 21 | Debug.Log("Dismissed or Failed"); 22 | } 23 | }, (bool userFetchSuccess) => { 24 | Debug.Log(string.Format("User's Information Fetch {0}.", userFetchSuccess ? "Successful" : "Failed")); 25 | }); 26 | } 27 | 28 | public void SignOutButtonClicked() 29 | { 30 | if (GameJolt.API.Manager.Instance.CurrentUser != null) 31 | { 32 | showTrophiesButton.interactable = false; 33 | GameJolt.API.Manager.Instance.CurrentUser.SignOut(); 34 | } 35 | } 36 | 37 | public void QueueNotification() 38 | { 39 | GameJolt.UI.Manager.Instance.QueueNotification( 40 | string.Format("Notification #{0}", ++notificationQueued)); 41 | } 42 | 43 | public void Pause() 44 | { 45 | Time.timeScale = 0f; 46 | } 47 | 48 | public void Resume() 49 | { 50 | Time.timeScale = 1f; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Demo/UI/UITest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 744bd44e753dde54d86496a63a3dadde 3 | timeCreated: 1430959119 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33c50583d3c2f0f42a1ca2c381d23acc 3 | folderAsset: yes 4 | timeCreated: 1430181387 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIDummy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPIDummy.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIDummy.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8db814d69cd89f42a01ff9dd59507c0 3 | timeCreated: 1433363226 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIInputField.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPIInputField.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIInputField.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a751d532fcd39749b87679dc5bd255c 3 | timeCreated: 1430102276 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 32 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 4, y: 4, z: 4, w: 4} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPILoginIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPILoginIcon.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPILoginIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b335e4e79e0de4e41b0b454ae97d9542 3 | timeCreated: 1430101468 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -2 30 | maxTextureSize: 64 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPILogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPILogo.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPILogo.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bf2f3a40a5ad74ab289d43b698526c 3 | timeCreated: 1430100965 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -2 30 | maxTextureSize: 512 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPITokenIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPITokenIcon.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPITokenIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cd453e64f69ef44fbb6455e4b47f675 3 | timeCreated: 1430101687 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -2 30 | maxTextureSize: 64 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIUserIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Images/GJAPIUserIcon.png -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Images/GJAPIUserIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1542abfdeebfef40921372a26cd5053 3 | timeCreated: 1430101628 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -2 30 | maxTextureSize: 64 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 100 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f45261ad2e969884581f5a15fe6e4b69 3 | folderAsset: yes 4 | timeCreated: 1431210329 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Prefabs/GameJoltAPI.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a2e587034d846647b593aa159d7ed8d 3 | timeCreated: 1431210338 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Prefabs/ScoreItem.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ea8f958f1717d94aaeea61adc37626f 3 | timeCreated: 1433031512 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Prefabs/TableButton.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e52985d8cf62ae4daad0318fe9f396d 3 | timeCreated: 1433026392 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Prefabs/TrophyItem.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1002e393f8eddc479a1c827340a5748 3 | timeCreated: 1432352611 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6f2b98728ce503479f90f7078a52358 3 | folderAsset: yes 4 | timeCreated: 1428101302 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a00403fda2623b40a9622dd338d8b5a 3 | folderAsset: yes 4 | timeCreated: 1428907998 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultAvatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultAvatar.jpg -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultAvatar.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 421ff404ed2890444a8a6e3815974032 3 | timeCreated: 1428905333 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 64 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 60 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultNotification.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultNotification.jpg -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultNotification.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff6ac854f4f074478f9a15e36c258ef 3 | timeCreated: 1433566407 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 64 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 60 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultTrophy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultTrophy.jpg -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Resources/Images/GJAPIDefaultTrophy.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 812dd8a149f2bb64dacad4642f7cea11 3 | timeCreated: 1428905333 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -2 30 | maxTextureSize: 128 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | spriteMode: 1 41 | spriteExtrude: 1 42 | spriteMeshType: 1 43 | alignment: 0 44 | spritePivot: {x: .5, y: .5} 45 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 46 | spritePixelsToUnits: 75 47 | alphaIsTransparency: 1 48 | textureType: 8 49 | buildTargetSettings: [] 50 | spriteSheet: 51 | sprites: [] 52 | spritePackingTag: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e826bd02f982444e954472015109cbe 3 | folderAsset: yes 4 | timeCreated: 1430115898 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 820e07c3e09bc49adb0fc8518d5a9473 3 | folderAsset: yes 4 | timeCreated: 1434347078 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Constants.cs: -------------------------------------------------------------------------------- 1 | namespace GameJolt.API 2 | { 3 | public static class Constants 4 | { 5 | public const string VERSION = "2.3.0"; 6 | 7 | public const string SETTINGS_ASSET_NAME = "GJAPISettings"; 8 | public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset"; 9 | public const string SETTINGS_ASSET_PATH = "Assets/Plugins/GameJolt/Resources/"; 10 | public const string SETTINGS_ASSET_FULL_PATH = SETTINGS_ASSET_PATH + SETTINGS_ASSET_FULL_NAME; 11 | 12 | public const string MANAGER_ASSET_NAME = "GameJoltAPI"; 13 | public const string MANAGER_ASSET_FULL_NAME = MANAGER_ASSET_NAME + ".prefab"; 14 | public const string MANAGER_ASSET_PATH = "Assets/Plugins/GameJolt/Prefabs/"; 15 | public const string MANAGER_ASSET_FULL_PATH = MANAGER_ASSET_PATH + MANAGER_ASSET_FULL_NAME; 16 | 17 | public const string API_PROTOCOL = "https://"; 18 | public const string API_ROOT = "gamejolt.com/api/game/"; 19 | public const string API_VERSION = "1_1"; // `1_1` actually targets the API version `1.2`.. 20 | public const string API_BASE_URL = API_PROTOCOL + API_ROOT + "v" + API_VERSION; 21 | 22 | public const string API_USERS_AUTH = "/users/auth"; 23 | public const string API_USERS_FETCH = "/users"; 24 | 25 | public const string API_SESSIONS_OPEN = "/sessions/open"; 26 | public const string API_SESSIONS_PING = "/sessions/ping"; 27 | public const string API_SESSIONS_CLOSE = "/sessions/close"; 28 | 29 | public const string API_SCORES_ADD = "/scores/add"; 30 | public const string API_SCORES_FETCH = "/scores"; 31 | public const string API_SCORES_RANK = "/scores/get-rank"; 32 | public const string API_SCORES_TABLES_FETCH = "/scores/tables"; 33 | 34 | public const string API_TROPHIES_ADD = "/trophies/add-achieved"; 35 | public const string API_TROPHIES_FETCH = "/trophies"; 36 | 37 | public const string API_DATASTORE_SET = "/data-store/set"; 38 | public const string API_DATASTORE_UPDATE = "/data-store/update"; 39 | public const string API_DATASTORE_FETCH = "/data-store"; 40 | public const string API_DATASTORE_REMOVE = "/data-store/remove"; 41 | public const string API_DATASTORE_KEYS_FETCH = "/data-store/get-keys"; 42 | 43 | public const string API_TIME_GET = "/get-time"; 44 | 45 | public const string IMAGE_RESOURCE_REL_PATH = "Images/"; 46 | 47 | public const string DEFAULT_AVATAR_ASSET_NAME = "GJAPIDefaultAvatar"; 48 | public const string DEFAULT_AVATAR_ASSET_PATH = IMAGE_RESOURCE_REL_PATH + DEFAULT_AVATAR_ASSET_NAME; 49 | public const string DEFAULT_NOTIFICATION_ASSET_NAME = "GJAPIDefaultNotification"; 50 | public const string DEFAULT_NOTIFICATION_ASSET_PATH = IMAGE_RESOURCE_REL_PATH + DEFAULT_NOTIFICATION_ASSET_NAME; 51 | public const string DEFAULT_TROPHY_ASSET_NAME = "GJAPIDefaultTrophy"; 52 | public const string DEFAULT_TROPHY_ASSET_PATH = IMAGE_RESOURCE_REL_PATH + DEFAULT_TROPHY_ASSET_NAME; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Constants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3262b8b5330e7b54ba17715c94e1731f 3 | timeCreated: 1428102985 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c2d8bb6581c94d4d9a221e64b68ff7a 3 | folderAsset: yes 4 | timeCreated: 1428108294 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core/MonoSingleton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameJolt.API.Core 4 | { 5 | /// 6 | /// Singleton utility for managers. 7 | /// 8 | public class MonoSingleton : MonoBehaviour where T : MonoBehaviour 9 | { 10 | protected static T instance; 11 | public static T Instance 12 | { 13 | get 14 | { 15 | if (instance == null) 16 | { 17 | instance = FindObjectOfType(); 18 | 19 | if (instance == null) 20 | { 21 | Debug.LogError("An instance of " + typeof(T) + " is needed in the scene, but there is none."); 22 | } 23 | } 24 | 25 | return instance; 26 | } 27 | } 28 | 29 | void Awake() 30 | { 31 | if (Persist()) 32 | { 33 | Init(); 34 | } 35 | } 36 | 37 | bool Persist() 38 | { 39 | if (instance == null) 40 | { 41 | instance = this as T; 42 | } 43 | else if (instance != this) 44 | { 45 | Destroy(gameObject); 46 | return false; 47 | } 48 | 49 | // Only set DontDestroyOnLoad to top level objects. 50 | if (gameObject.transform.parent == null) { 51 | DontDestroyOnLoad (gameObject); 52 | } 53 | 54 | return true; 55 | } 56 | 57 | protected virtual void Init() {} 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core/MonoSingleton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa1823af4a2b44348b9b18fb82205870 3 | timeCreated: 1431207933 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core/Request.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cb11ce51d2f2dd4a81d62f415a93db7 3 | timeCreated: 1428096987 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core/Response.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using GameJolt.External.SimpleJSON; 3 | 4 | namespace GameJolt.API.Core 5 | { 6 | /// 7 | /// API Response Formats. 8 | /// 9 | public enum ResponseFormat { Dump, Json, Raw, Texture } 10 | 11 | /// 12 | /// Response object to parse API responses. 13 | /// 14 | public class Response 15 | { 16 | /// 17 | /// The Response Format. 18 | /// 19 | public readonly ResponseFormat format; 20 | 21 | /// 22 | /// Whether the response is successful. 23 | /// 24 | public readonly bool success; 25 | 26 | /// 27 | /// The response bytes. 28 | /// 29 | /// 30 | /// 31 | /// Only populated when the is `Raw`. 32 | /// 33 | /// 34 | public readonly byte[] bytes; 35 | 36 | /// 37 | /// The response dump. 38 | /// 39 | /// 40 | /// 41 | /// Only populated when the is `Dump`. 42 | /// 43 | /// 44 | public readonly string dump; 45 | 46 | /// 47 | /// The response JSON. 48 | /// 49 | /// 50 | /// Only populated when the is `Json`. 51 | /// 52 | /// 53 | public readonly JSONNode json; 54 | 55 | /// 56 | /// The response texture. 57 | /// 58 | /// 59 | /// 60 | /// Only populated when the is `Texture`. 61 | /// 62 | /// 63 | public readonly Texture2D texture; 64 | 65 | /// 66 | /// Initializes a new instance of the class. 67 | /// 68 | /// Error message. 69 | public Response(string errorMessage) { 70 | success = false; 71 | Debug.LogWarning(errorMessage); 72 | } 73 | 74 | /// 75 | /// Initializes a new instance of the class. 76 | /// 77 | /// The API Fesponse. 78 | /// The format of the response. 79 | public Response(WWW www, ResponseFormat format = ResponseFormat.Json) 80 | { 81 | if (!string.IsNullOrEmpty(www.error)) 82 | { 83 | success = false; 84 | Debug.LogWarning(www.error); 85 | return; 86 | } 87 | 88 | this.format = format; 89 | 90 | switch (format) 91 | { 92 | case ResponseFormat.Dump: 93 | success = www.text.StartsWith("SUCCESS"); 94 | var returnIndex = www.text.IndexOf ('\n'); 95 | if (returnIndex != -1) 96 | { 97 | dump = www.text.Substring(returnIndex + 1); 98 | } 99 | 100 | if (!success) 101 | { 102 | Debug.LogWarning(dump); 103 | dump = null; 104 | } 105 | break; 106 | 107 | case ResponseFormat.Json: 108 | json = JSON.Parse(www.text)["response"]; 109 | success = json["success"].AsBool; 110 | if (!success) 111 | { 112 | Debug.LogWarning(json["message"]); 113 | json = null; 114 | } 115 | break; 116 | 117 | case ResponseFormat.Raw: 118 | success = true; 119 | bytes = www.bytes; 120 | break; 121 | 122 | case ResponseFormat.Texture: 123 | success = true; 124 | texture = www.texture; 125 | break; 126 | 127 | default: 128 | success = false; 129 | Debug.LogWarning("Unknown format. Cannot process response."); 130 | break; 131 | } 132 | } 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Core/Response.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa0f1f8fcabdc0949b68425fc223b02d 3 | timeCreated: 1428117627 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/DataStore.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cff00f49e6ef05c48bcc18ce34fd2f0f 3 | timeCreated: 1428211030 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Manager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4afd56a8661bffe4d82b24c8f9941637 3 | timeCreated: 1428102239 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Misc.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | 4 | namespace GameJolt.API 5 | { 6 | /// 7 | /// Misc API methods. 8 | /// 9 | public static class Misc 10 | { 11 | /// 12 | /// Downloads an image. 13 | /// 14 | /// The image URL. 15 | /// A callback function accepting a single parameter, a UnityEngine.Sprite. 16 | public static void DownloadImage(string url, Action callback) 17 | { 18 | Manager.Instance.StartCoroutine(Manager.Instance.GetRequest(url, Core.ResponseFormat.Texture, response => { 19 | Sprite sprite; 20 | if (response.success) 21 | { 22 | sprite = Sprite.Create( 23 | response.texture, 24 | new Rect(0, 0, response.texture.width, response.texture.height), 25 | new Vector2(.5f, .5f), 26 | response.texture.width); 27 | } 28 | else 29 | { 30 | sprite = null; 31 | } 32 | 33 | if (callback != null ) 34 | { 35 | callback(sprite); 36 | } 37 | })); 38 | } 39 | 40 | /// 41 | /// Get the server time. 42 | /// 43 | /// A callback function accepting a single parameter, a System.DateTime. 44 | public static void GetTime(Action callback) 45 | { 46 | Core.Request.Get(Constants.API_TIME_GET, null, response => { 47 | if (callback != null) 48 | { 49 | double timestamp = response.json["timestamp"].AsDouble; 50 | DateTime serverTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified); 51 | serverTime = serverTime.AddSeconds(timestamp); 52 | callback(serverTime); 53 | } 54 | }, false); 55 | } 56 | } 57 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Misc.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3e3170a2feb7804f82d369531295f85 3 | timeCreated: 1428808886 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 014eaf1b7c4887b4b8a92976a37f37cb 3 | folderAsset: yes 4 | timeCreated: 1428196344 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Base.cs: -------------------------------------------------------------------------------- 1 | using GameJolt.External.SimpleJSON; 2 | 3 | namespace GameJolt.API.Objects 4 | { 5 | /// 6 | /// Base class for all Objects. 7 | /// 8 | public abstract class Base 9 | { 10 | #region Update Attributes 11 | /// 12 | /// Bulks update the object attributes. 13 | /// 14 | /// JSON data from the API calls. 15 | public void BulkUpdate(JSONClass data) 16 | { 17 | PopulateFromJSON(data); 18 | } 19 | 20 | /// 21 | /// Map JSON data to the object's attributes. 22 | /// 23 | /// JSON data from the API calls. 24 | protected abstract void PopulateFromJSON(JSONClass data); 25 | #endregion Update Attributes 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Base.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af93704c213d82a49a6088ccbf134dfb 3 | timeCreated: 1428196303 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Score.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e124522e56977604891b57497ec06a60 3 | timeCreated: 1428199118 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Table.cs: -------------------------------------------------------------------------------- 1 | using GameJolt.External.SimpleJSON; 2 | 3 | namespace GameJolt.API.Objects 4 | { 5 | /// 6 | /// Table object. 7 | /// 8 | public sealed class Table : Base 9 | { 10 | #region Fields & Properties 11 | /// 12 | /// Gets or sets the ID. 13 | /// 14 | /// The ID. 15 | /// 16 | /// 17 | /// Settings this will only affect your game and won't be saved to GameJolt. 18 | /// 19 | /// 20 | public int ID { get; set; } 21 | 22 | /// 23 | /// Gets or sets the name. 24 | /// 25 | /// The name. 26 | /// 27 | /// 28 | /// Settings this will only affect your game and won't be saved to GameJolt. 29 | /// 30 | /// 31 | public string Name { get; set; } 32 | 33 | /// 34 | /// Gets or sets the description. 35 | /// 36 | /// The description. 37 | /// 38 | /// 39 | /// Settings this will only affect your game and won't be saved to GameJolt. 40 | /// 41 | /// 42 | public string Description { get; set; } 43 | 44 | /// 45 | /// Gets a value indicating whether this is the primary table. 46 | /// 47 | /// true if primary; otherwise, false. 48 | /// 49 | /// 50 | /// Settings this will only affect your game and won't be saved to GameJolt. 51 | /// 52 | /// 53 | public bool Primary { get; private set; } 54 | #endregion Fields & Properties 55 | 56 | #region Constructors 57 | /// 58 | /// Initializes a new instance of the class. 59 | /// 60 | /// The ID. 61 | /// The name. 62 | /// The description. 63 | public Table(int id, string name, string description = "") 64 | { 65 | ID = id; 66 | Name = name; 67 | Description = description; 68 | Primary = false; 69 | } 70 | 71 | /// 72 | /// Initializes a new instance of the class. 73 | /// 74 | /// API JSON data. 75 | public Table(JSONClass data) 76 | { 77 | PopulateFromJSON(data); 78 | } 79 | #endregion Constructors 80 | 81 | #region Update Attributes 82 | /// 83 | /// Map JSON data to the object's attributes. 84 | /// 85 | /// JSON data from the API calls. 86 | protected override void PopulateFromJSON(JSONClass data) 87 | { 88 | ID = data["id"].AsInt; 89 | Name = data["name"].Value; 90 | Description = data["description"].Value; 91 | Primary = data["primary"].Value == "1"; 92 | } 93 | #endregion Update Attributes 94 | 95 | /// 96 | /// Returns a that represents the current . 97 | /// 98 | /// A that represents the current . 99 | public override string ToString() 100 | { 101 | return string.Format("GameJolt.API.Objects.Table: {0} - {1}", Name, ID); 102 | } 103 | } 104 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Table.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8adfbc78d00af7544b52ee96e05f9b06 3 | timeCreated: 1428196632 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/Trophy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db367073a04f2e74cb05b2a6b51e7763 3 | timeCreated: 1428204937 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Objects/User.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20ecbf11731471a428ac109dc1224278 3 | timeCreated: 1428108575 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Scores.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48ffedf099a11324792576d003ace738 3 | timeCreated: 1428197422 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Sessions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace GameJolt.API 5 | { 6 | /// 7 | /// Session statuses. 8 | /// 9 | public enum SessionStatus { Active, Idle } 10 | 11 | /// 12 | /// Sessions API methods 13 | /// 14 | public static class Sessions 15 | { 16 | /// 17 | /// Open a session (on the GameJolt). 18 | /// 19 | /// A callback function accepting a single parameter, a boolean indicating success. 20 | public static void Open(Action callback = null) 21 | { 22 | Core.Request.Get(Constants.API_SESSIONS_OPEN, null, response => { 23 | if (callback != null) 24 | { 25 | callback(response.success); 26 | } 27 | }); 28 | } 29 | 30 | /// 31 | /// Ping (i.e. keep alive) a session (on the GameJolt). 32 | /// 33 | /// The to set the session to. 34 | /// A callback function accepting a single parameter, a boolean indicating success. 35 | public static void Ping(SessionStatus status = SessionStatus.Active, Action callback = null) 36 | { 37 | var parameters = new Dictionary {{"status", status.ToString().ToLower()}}; 38 | 39 | Core.Request.Get(Constants.API_SESSIONS_PING, parameters, response => { 40 | if (callback != null) 41 | { 42 | callback(response.success); 43 | } 44 | }); 45 | } 46 | 47 | /// 48 | /// Close a session (on the GameJolt). 49 | /// 50 | /// A callback function accepting a single parameter, a boolean indicating success.. 51 | public static void Close(Action callback = null) 52 | { 53 | Core.Request.Get(Constants.API_SESSIONS_CLOSE, null, response => { 54 | if (callback != null) 55 | { 56 | callback(response.success); 57 | } 58 | }); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Sessions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac649ed694941164595bd10fed4d9a52 3 | timeCreated: 1428191339 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Settings.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameJolt.API 4 | { 5 | /// 6 | /// API Settings Config Object. 7 | /// 8 | [System.Serializable] 9 | public class Settings : ScriptableObject { 10 | [Header("Game")] 11 | [Tooltip("The game ID. It can be found on the Game Jolt website under Dashboard > YOUR-GAME > Game API > API Settings.")] 12 | public int gameID; 13 | [Tooltip("The game Private Key. It can be found on the Game Jolt website under Dashboard > YOUR-GAME > Game API > API Settings.")] 14 | public string privateKey; 15 | 16 | [Header("Settings")] 17 | [Tooltip("The time in seconds before an API call should timeout and return failure.")] 18 | public float timeout = 10f; 19 | [Tooltip("Automatically create and ping sessions once a user has been authentified.")] 20 | public bool autoPing = true; 21 | [Tooltip("Cache High Score Tables and Trophies information for faster display.")] 22 | public bool useCaching = true; 23 | [Tooltip("The key used to encrypt the user credentials.")] 24 | public string encryptionKey = ""; 25 | 26 | [Header("Debug")] 27 | [Tooltip("AutoConnect in the Editor as if the game was hosted on GameJolt.")] 28 | public bool autoConnect; 29 | [Tooltip("The username to use for AutoConnect.")] 30 | public string user; 31 | [Tooltip("The token to use for AutoConnect.")] 32 | public string token; 33 | } 34 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Settings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9badd6626894dc459f92a91d0bd95fa 3 | timeCreated: 1428101186 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Trophies.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34a04ffa187847145a5b9ad1f3a1a5c6 3 | timeCreated: 1428205515 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Users.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using GameJolt.API.Objects; 5 | 6 | namespace GameJolt.API 7 | { 8 | /// 9 | /// Users API methods 10 | /// 11 | public static class Users 12 | { 13 | #region Get 14 | /// 15 | /// Get the by name. 16 | /// 17 | /// The `Name`. 18 | /// A callback function accepting a single parameter, a . 19 | public static void Get(string name, Action callback) 20 | { 21 | var user = new User(name, string.Empty); 22 | Get(user, callback); 23 | } 24 | 25 | /// 26 | /// Get the by ID. 27 | /// 28 | /// The `ID`. 29 | /// A callback function accepting a single parameter, a . 30 | public static void Get(int id, Action callback) 31 | { 32 | var user = new User(id); 33 | Get(user, callback); 34 | } 35 | 36 | /// 37 | /// Get the information. 38 | /// 39 | /// A with either `Name` or `ID` set. 40 | /// A callback function accepting a single parameter, a . 41 | public static void Get(User user, Action callback) 42 | { 43 | var parameters = new Dictionary(); 44 | if(!string.IsNullOrEmpty(user.Name)) 45 | { 46 | parameters.Add("username", user.Name.ToLower()); 47 | } 48 | else if (user.ID != 0) 49 | { 50 | parameters.Add("user_id", user.ID.ToString()); 51 | } 52 | 53 | Core.Request.Get(Constants.API_USERS_FETCH, parameters, response => { 54 | if(response.success) 55 | { 56 | user.BulkUpdate(response.json["users"][0].AsObject); 57 | } 58 | else 59 | { 60 | user = null; 61 | } 62 | 63 | if (callback != null) 64 | { 65 | callback(user); 66 | } 67 | }, false); 68 | } 69 | 70 | /// 71 | /// Get the s by ID. 72 | /// 73 | /// An array of s IDs 74 | /// A callback function accepting a single parameter, an array of s. 75 | public static void Get(int[] ids, Action callback) 76 | { 77 | var parameters = new Dictionary {{"user_id", string.Join(",", ids.Select(id => id.ToString()).ToArray())}}; 78 | 79 | Core.Request.Get(Constants.API_USERS_FETCH, parameters, response => { 80 | User[] users; 81 | if(response.success) 82 | { 83 | int count = response.json["users"].AsArray.Count; 84 | users = new User[count]; 85 | 86 | for (int i = 0; i < count; ++i) 87 | { 88 | users[i] = new User(response.json["users"][i].AsObject); 89 | } 90 | } 91 | else 92 | { 93 | users = null; 94 | } 95 | 96 | if (callback != null) 97 | { 98 | callback(users); 99 | } 100 | }, false); 101 | } 102 | #endregion Get 103 | } 104 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/API/Users.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7cee701974d30148a24f805f6a56705 3 | timeCreated: 1428109516 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/External.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c78771db253c9eb44acf72f405bd5e69 3 | folderAsset: yes 4 | timeCreated: 1428118512 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/External/SimpleJSON.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ef328494fca85148bb746014c16c292 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/External/XTEA.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54a090e6fbc79f74bb9fb199b754165a 3 | timeCreated: 1508611780 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bc0bbc9ab6819d42bb9d23e6ae691de 3 | folderAsset: yes 4 | timeCreated: 1430606122 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56060334149c08c40b64079f54f23d81 3 | folderAsset: yes 4 | timeCreated: 1430609249 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/DismissibleWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameJolt.UI.Behaviours 4 | { 5 | public class DismissibleWindow : StateMachineBehaviour 6 | { 7 | public bool returnValue; 8 | 9 | public override void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) 10 | { 11 | if (Input.GetKeyDown(KeyCode.Escape)) 12 | { 13 | var baseWindow = animator.GetComponentInChildren(); 14 | // Because a window might be inactive (e.g. during transitions), it might be null. 15 | // It would be possible to manually loop through children and do GetComponent instead, 16 | // but dimissing an inactive/transisionning window might have some side effects, 17 | // so it's better off not dismissing it (it will be a bit weird to the user though). 18 | if (baseWindow != null) { 19 | baseWindow.Dismiss(returnValue); 20 | } 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/DismissibleWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad8d8ad42dedba74ca6bcb036b913ae9 3 | timeCreated: 1430609255 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/KeyboardNavigableForm.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.EventSystems; 3 | using UnityEngine.UI; 4 | 5 | namespace GameJolt.UI.Behaviours 6 | { 7 | public class KeyboardNavigableForm : StateMachineBehaviour 8 | { 9 | public string firstFieldPath; 10 | public string submitButtonPath; 11 | 12 | protected InputField firstField; 13 | protected Button submitButton; 14 | 15 | public override void OnStateEnter(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) 16 | { 17 | if (firstField == null) 18 | { 19 | var firstFieldTransform = animator.transform.Find(firstFieldPath); 20 | if (firstFieldTransform != null) 21 | { 22 | firstField = firstFieldTransform.GetComponent(); 23 | } 24 | } 25 | 26 | if (submitButton == null) 27 | { 28 | var submitButtonTransform = animator.transform.Find(submitButtonPath); 29 | if (submitButtonTransform != null) 30 | { 31 | submitButton = submitButtonTransform.GetComponent(); 32 | } 33 | } 34 | 35 | if (firstField != null) 36 | { 37 | firstField.Select(); 38 | } 39 | } 40 | 41 | public override void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) 42 | { 43 | if (Input.GetKeyDown(KeyCode.Tab)) 44 | { 45 | if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)) 46 | { 47 | NavigateUp(); 48 | } 49 | else 50 | { 51 | NavigateDown(); 52 | } 53 | } 54 | 55 | if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter)) 56 | { 57 | Submmit(); 58 | } 59 | } 60 | 61 | protected virtual void NavigateUp() 62 | { 63 | if (EventSystem.current.currentSelectedGameObject == null) 64 | { 65 | return; 66 | } 67 | 68 | var next = EventSystem.current.currentSelectedGameObject.GetComponent().FindSelectableOnUp(); 69 | if (next != null) 70 | { 71 | next.Select(); 72 | } 73 | } 74 | 75 | protected virtual void NavigateDown() 76 | { 77 | if (EventSystem.current.currentSelectedGameObject == null) 78 | { 79 | return; 80 | } 81 | 82 | var next = EventSystem.current.currentSelectedGameObject.GetComponent().FindSelectableOnDown(); 83 | if (next != null) 84 | { 85 | next.Select(); 86 | } 87 | } 88 | 89 | protected virtual void Submmit() 90 | { 91 | if (submitButton != null) 92 | { 93 | var pointer = new PointerEventData(EventSystem.current); 94 | ExecuteEvents.Execute(submitButton.gameObject, pointer, ExecuteEvents.submitHandler); 95 | } 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/KeyboardNavigableForm.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99075a5c98f57084c97e00404e8b0d45 3 | timeCreated: 1430610480 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/NotificationCentre.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections.Generic; 3 | 4 | namespace GameJolt.UI.Behaviours 5 | { 6 | public class NotificationCentre : StateMachineBehaviour 7 | { 8 | public string notificationPanelPath; 9 | 10 | Controllers.NotificationItem notificationItem; 11 | Queue notificationsQueue; 12 | 13 | public override void OnStateEnter(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) 14 | { 15 | if (notificationItem == null) 16 | { 17 | var panelTransform = animator.transform.Find(notificationPanelPath); 18 | if (panelTransform != null) 19 | { 20 | notificationItem = panelTransform.GetComponent(); 21 | } 22 | } 23 | 24 | if (notificationsQueue == null) 25 | { 26 | notificationsQueue = new Queue(); 27 | } 28 | } 29 | 30 | public override void OnStateUpdate(Animator animator, AnimatorStateInfo animatorStateInfo, int layerIndex) 31 | { 32 | if (notificationsQueue.Count > 0) 33 | { 34 | var notification = notificationsQueue.Dequeue(); 35 | notificationItem.Init(notification); 36 | animator.SetTrigger("Notification"); 37 | } 38 | } 39 | 40 | public void QueueNotification(Objects.Notification notification) 41 | { 42 | notificationsQueue.Enqueue(notification); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Behaviours/NotificationCentre.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f49b53b118d0c9b4397679b9c5ed01d0 3 | timeCreated: 1433563485 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c813c3a5809b5f64d88e1cca20c2e9a4 3 | folderAsset: yes 4 | timeCreated: 1430621648 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/BaseWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public abstract class BaseWindow : MonoBehaviour 7 | { 8 | protected Animator animator; 9 | 10 | public void Init(Animator animator) 11 | { 12 | this.animator = animator; 13 | } 14 | 15 | public abstract void Show(Action callback); 16 | 17 | public abstract void Dismiss(bool success); 18 | 19 | protected void Populate(RectTransform container, GameObject prefab, int count) 20 | { 21 | if (container.childCount < count) 22 | { 23 | int nbToCreate = count - container.childCount; 24 | for (int i = 0; i < nbToCreate; ++i) 25 | { 26 | var tr = Instantiate(prefab).transform; 27 | tr.SetParent(container); 28 | tr.SetAsLastSibling(); 29 | } 30 | } 31 | else if (container.childCount > count) 32 | { 33 | int nbToDelete = container.childCount - count; 34 | for (int i = 0; i < nbToDelete; ++i) 35 | { 36 | DestroyImmediate(container.GetChild(0).gameObject); 37 | } 38 | } 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/BaseWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 553b82339aa780941964a15078fdb1c8 3 | timeCreated: 1430621863 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/LeaderboardsWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System; 4 | 5 | namespace GameJolt.UI.Controllers 6 | { 7 | public class LeaderboardsWindow: BaseWindow 8 | { 9 | public RectTransform tabsContainer; 10 | public GameObject tableButton; 11 | 12 | public ScrollRect scoresScrollRect; 13 | public GameObject scoreItem; 14 | 15 | Action callback; 16 | 17 | int[] tableIDs; 18 | int currentTab; 19 | 20 | public override void Show(Action callback) 21 | { 22 | animator.SetTrigger("Leaderboards"); 23 | animator.SetTrigger("ShowLoadingIndicator"); 24 | this.callback = callback; 25 | 26 | API.Scores.GetTables(tables => { 27 | if (tables != null) 28 | { 29 | // Create the right number of children. 30 | Populate(tabsContainer, tableButton, tables.Length); 31 | 32 | // Update children's text. 33 | tableIDs = new int[tables.Length]; 34 | for (int i = 0; i < tables.Length; ++i) 35 | { 36 | tabsContainer.GetChild(i).GetComponent().Init(tables[i], i, this, tables[i].Primary); 37 | 38 | // Keep IDs information and current tab for use when switching tabs. 39 | tableIDs[i] = tables[i].ID; 40 | if (tables[i].Primary) 41 | { 42 | currentTab = i; 43 | } 44 | } 45 | 46 | SetScores(); 47 | } 48 | else 49 | { 50 | // TODO: Show error notification 51 | animator.SetTrigger("HideLoadingIndicator"); 52 | Dismiss(false); 53 | } 54 | }); 55 | } 56 | 57 | public override void Dismiss(bool success) 58 | { 59 | animator.SetTrigger("Dismiss"); 60 | if (callback != null) 61 | { 62 | callback(success); 63 | callback = null; 64 | } 65 | } 66 | 67 | public void ShowTab(int index) 68 | { 69 | // There is no need to set the new tab button active, it has been done internally when the button has been clicked. 70 | tabsContainer.GetChild(currentTab).GetComponent().SetActive(false); 71 | currentTab = index; 72 | 73 | animator.SetTrigger("Lock"); 74 | animator.SetTrigger("ShowLoadingIndicator"); 75 | 76 | // Request new scores. 77 | SetScores(tableIDs[currentTab]); 78 | } 79 | 80 | void SetScores(int tableID = 0) 81 | { 82 | API.Scores.Get(scores => { 83 | if (scores != null) 84 | { 85 | scoresScrollRect.verticalNormalizedPosition = 0; 86 | 87 | // Create the right number of children. 88 | Populate(scoresScrollRect.content, scoreItem, scores.Length); 89 | 90 | // Update children's text. 91 | for (int i = 0; i < scores.Length; ++i) 92 | { 93 | scoresScrollRect.content.GetChild(i).GetComponent().Init(scores[i]); 94 | } 95 | 96 | animator.SetTrigger("HideLoadingIndicator"); 97 | animator.SetTrigger("Unlock"); 98 | } 99 | else 100 | { 101 | // TODO: Show error notification 102 | animator.SetTrigger("HideLoadingIndicator"); 103 | Dismiss(false); 104 | } 105 | }, tableID, 50); 106 | } 107 | } 108 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/LeaderboardsWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cf7601e9cc9ac14a8dc9cd4d8e15d38 3 | timeCreated: 1433026460 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/NotificationItem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class NotificationItem : MonoBehaviour 7 | { 8 | public Image image; 9 | public Text text; 10 | 11 | public void Init(Objects.Notification notification) 12 | { 13 | text.text = notification.Text; 14 | 15 | if (notification.Image != null) 16 | { 17 | image.sprite = notification.Image; 18 | image.enabled = true; 19 | } 20 | else 21 | { 22 | image.enabled = false; 23 | } 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/NotificationItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbe9f8c0980cd1348831ee5f313e1c95 3 | timeCreated: 1433560006 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/ScoreItem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class ScoreItem : MonoBehaviour 7 | { 8 | public Text username; 9 | public Text value; 10 | 11 | public Color defaultColour = Color.white; 12 | public Color highlightColour = Color.green; 13 | 14 | public void Init(API.Objects.Score score) 15 | { 16 | username.text = score.PlayerName; 17 | value.text = score.Text; 18 | 19 | bool isUserScore = score.UserID != 0 && API.Manager.Instance.CurrentUser != null && API.Manager.Instance.CurrentUser.ID == score.UserID; 20 | username.color = isUserScore ? highlightColour : defaultColour; 21 | value.color = isUserScore ? highlightColour : defaultColour; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/ScoreItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc42eac5b105ea541a2db36720325c68 3 | timeCreated: 1433031589 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/SignInWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine.UI; 2 | using System; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class SignInWindow: BaseWindow 7 | { 8 | public InputField usernameField; 9 | public InputField tokenField; 10 | public Text errorMessage; 11 | public Toggle rememberMeToggle; 12 | 13 | Action signedInCallback; 14 | Action userFetchedCallback; 15 | 16 | public override void Show(Action callback) 17 | { 18 | Show(callback, null); 19 | } 20 | 21 | public void Show(Action signedInCallback, Action userFetchedCallback) { 22 | errorMessage.enabled = false; 23 | animator.SetTrigger("SignIn"); 24 | this.signedInCallback = signedInCallback; 25 | this.userFetchedCallback = userFetchedCallback; 26 | string username, token; 27 | rememberMeToggle.isOn = API.Manager.Instance.GetStoredUserCredentials(out username, out token); 28 | usernameField.text = username; 29 | tokenField.text = token; 30 | } 31 | 32 | public override void Dismiss(bool success) 33 | { 34 | animator.SetTrigger("Dismiss"); 35 | if (signedInCallback != null) 36 | { 37 | signedInCallback(success); 38 | signedInCallback = null; 39 | } 40 | } 41 | 42 | public void Submit() 43 | { 44 | errorMessage.enabled = false; 45 | 46 | if (usernameField.text.Trim() == string.Empty || tokenField.text.Trim() == string.Empty) 47 | { 48 | errorMessage.text = "Empty username and/or token."; 49 | errorMessage.enabled = true; 50 | } 51 | else 52 | { 53 | animator.SetTrigger("Lock"); 54 | animator.SetTrigger("ShowLoadingIndicator"); 55 | 56 | var user = new API.Objects.User(usernameField.text.Trim(), tokenField.text.Trim()); 57 | user.SignIn(signInSuccess => { 58 | if(signInSuccess) { 59 | Dismiss(true); 60 | } else { 61 | // Technically this could be because of another user being already signed in. 62 | errorMessage.text = "Wrong username and/or token."; 63 | errorMessage.enabled = true; 64 | } 65 | 66 | animator.SetTrigger("HideLoadingIndicator"); 67 | animator.SetTrigger("Unlock"); 68 | }, userFetchedSuccess => { 69 | if(userFetchedCallback != null) { 70 | // This will potentially be called after a user dismissed the window.. 71 | userFetchedCallback(userFetchedSuccess); 72 | userFetchedCallback = null; 73 | } 74 | }, rememberMeToggle.isOn); 75 | } 76 | } 77 | } 78 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/SignInWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71e781d9447692a479e8c89de70aced1 3 | timeCreated: 1430621655 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TableButton.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class TableButton : MonoBehaviour 7 | { 8 | public Text title; 9 | public Image backgroundImage; 10 | public Color defaultBackgroundColour = Color.grey; 11 | public Color activeBackgroundColour = Color.green; 12 | 13 | Button button; 14 | int tabIndex; 15 | LeaderboardsWindow windowController; 16 | bool active; 17 | 18 | public void Awake() 19 | { 20 | button = GetComponent(); 21 | } 22 | 23 | public void Init(API.Objects.Table table, int index, LeaderboardsWindow controller, bool active = false) 24 | { 25 | title.text = table.Name; 26 | tabIndex = index; 27 | windowController = controller; 28 | SetActive(active); 29 | 30 | 31 | button.onClick.RemoveAllListeners(); 32 | button.onClick.AddListener(Clicked); 33 | } 34 | 35 | public void SetActive(bool active) 36 | { 37 | this.active = active; 38 | backgroundImage.color = active ? activeBackgroundColour : defaultBackgroundColour; 39 | } 40 | 41 | public void Clicked() 42 | { 43 | if (!active) 44 | { 45 | SetActive(!active); 46 | windowController.ShowTab(tabIndex); 47 | } 48 | } 49 | } 50 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TableButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f3c727d328277b4a8ba787b00c0f796 3 | timeCreated: 1433028303 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TrophiesWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class TrophiesWindow: BaseWindow 7 | { 8 | public RectTransform container; 9 | public GameObject trophyItem; 10 | 11 | Action callback; 12 | 13 | public override void Show(Action callback) 14 | { 15 | animator.SetTrigger("Trophies"); 16 | animator.SetTrigger("ShowLoadingIndicator"); 17 | this.callback = callback; 18 | 19 | API.Trophies.Get(trophies => { 20 | if (trophies != null) 21 | { 22 | // Create children if there are none. 23 | if (container.childCount == 0) 24 | { 25 | Transform tr; 26 | for (int i = 0; i < trophies.Length; ++i) 27 | { 28 | tr = Instantiate(trophyItem).transform; 29 | tr.SetParent(container); 30 | tr.SetAsLastSibling(); 31 | } 32 | } 33 | 34 | // Update children's text. 35 | for (int i = 0; i < trophies.Length; ++i) 36 | { 37 | container.GetChild(i).GetComponent().Init(trophies[i]); 38 | } 39 | 40 | animator.SetTrigger("HideLoadingIndicator"); 41 | animator.SetTrigger("Unlock"); 42 | } 43 | else 44 | { 45 | // TODO: Show error notification 46 | animator.SetTrigger("HideLoadingIndicator"); 47 | Dismiss(false); 48 | } 49 | }); 50 | } 51 | 52 | public override void Dismiss(bool success) 53 | { 54 | animator.SetTrigger("Dismiss"); 55 | if (callback != null) 56 | { 57 | callback(success); 58 | callback = null; 59 | } 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TrophiesWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5ca77b89c6419b488fa7a1b94c0a301 3 | timeCreated: 1432344152 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TrophyItem.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace GameJolt.UI.Controllers 5 | { 6 | public class TrophyItem : MonoBehaviour 7 | { 8 | public CanvasGroup group; 9 | public Image image; 10 | public Text title; 11 | public Text description; 12 | 13 | public void Init(API.Objects.Trophy trophy) 14 | { 15 | group.alpha = trophy.Unlocked ? 1f : .6f; 16 | title.text = trophy.Title; 17 | description.text = trophy.Description; 18 | 19 | if (trophy.Image != null) 20 | { 21 | image.sprite = trophy.Image; 22 | } 23 | else 24 | { 25 | trophy.DownloadImage((success) => { 26 | if (success) 27 | { 28 | image.sprite = trophy.Image; 29 | } 30 | }); 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Controllers/TrophyItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebd4d72112892bf4aa1512dabb3e30fa 3 | timeCreated: 1432350783 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Manager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2549765799de33e4c92ba783cf32d16b 3 | timeCreated: 1430606169 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Objects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c84d91780028ee7448ea8b87142a2992 3 | folderAsset: yes 4 | timeCreated: 1433561287 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Objects/Notification.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameJolt.UI.Objects 4 | { 5 | /// 6 | /// A UI Notification. 7 | /// 8 | public class Notification 9 | { 10 | #region Fields & Properties 11 | /// 12 | /// Gets or sets the text. 13 | /// 14 | /// The text. 15 | public string Text { get; set; } 16 | 17 | /// 18 | /// Gets or sets the image. 19 | /// 20 | /// The image. 21 | public Sprite Image { get; set; } 22 | #endregion Fields & Properties 23 | 24 | #region Constructors 25 | /// 26 | /// Initializes a new instance of the class. 27 | /// 28 | /// The notification text. 29 | public Notification(string text) 30 | { 31 | Text = text; 32 | 33 | var tex = Resources.Load(API.Constants.DEFAULT_NOTIFICATION_ASSET_PATH); 34 | Image = Sprite.Create(tex, new Rect(0, 0, tex.width, tex.height), new Vector2(.5f, .5f), tex.width); 35 | } 36 | 37 | /// 38 | /// Initializes a new instance of the class. 39 | /// 40 | /// The notification text. 41 | /// The notification image. 42 | public Notification(string text, Sprite image) 43 | { 44 | Text = text; 45 | Image = image; 46 | } 47 | #endregion Constructors 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/Scripts/UI/Objects/Notification.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f3fbe01d4b9b4c4e90d5678b0c8843d 3 | timeCreated: 1433561294 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/readme.txt: -------------------------------------------------------------------------------- 1 | Asset Setup 2 | 1. Select "Edit > Project Settings > Game Jolt API" (this will create your GameJolt API settings object) 3 | 2. Edit the settings in your inspector window, you MUST enter your "Game ID" and "Private Key" (these can be obtained from your game's Game Jolt site under: Settings -> Game API -> API Settings). 4 | 3. Try out an example scene in order to see if everything works correctly. 5 | 6 | For more detailed instructions, have a look at the documentation: http://loicteixeira.github.io/gj-unity-api/tutorial.html 7 | 8 | 9 | Other settings 10 | Timeout: The time in seconds before an API call should timeout and return failure. 11 | Auto Ping: Automatically create and ping sessions once a user has been authentified. 12 | Use Caching: Cache High Score Tables and Trophies information for faster display. 13 | Encryption Key: The key used to encrypt the user credentials, if the user checks the "Remember Me" option. (The initial password is randomly generated) 14 | 15 | 16 | Editor only settings 17 | Auto Connect: AutoConnect in the Editor as if the game was hosted on GameJolt. 18 | User: The username to use for AutoConnect. 19 | Token: The token to use for AutoConnect. -------------------------------------------------------------------------------- /Assets/Plugins/GameJolt/readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c16c5947dbfafc947af2a8409e317988 3 | timeCreated: 1509553880 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Documentation/Output/html/arrowdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/arrowdown.png -------------------------------------------------------------------------------- /Documentation/Output/html/arrowright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/arrowright.png -------------------------------------------------------------------------------- /Documentation/Output/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/bc_s.png -------------------------------------------------------------------------------- /Documentation/Output/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/bdwn.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_core_1_1_mono_singleton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_core_1_1_mono_singleton.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_manager.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_base.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_score.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_score.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_table.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_trophy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_trophy.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_objects_1_1_user.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_a_p_i_1_1_settings.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_dismissible_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_dismissible_window.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_keyboard_navigable_form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_keyboard_navigable_form.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_notification_centre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_behaviours_1_1_notification_centre.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_base_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_base_window.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_leaderboards_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_leaderboards_window.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_notification_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_notification_item.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_score_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_score_item.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_sign_in_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_sign_in_window.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_table_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_table_button.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophies_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophies_window.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophy_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_controllers_1_1_trophy_item.png -------------------------------------------------------------------------------- /Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/class_game_jolt_1_1_u_i_1_1_manager.png -------------------------------------------------------------------------------- /Documentation/Output/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/closed.png -------------------------------------------------------------------------------- /Documentation/Output/html/dir_030a908d0b05c9b12966e769cc6802b7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/UI Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsUI 43 | 44 | 45 | 46 | 47 | UI Directory Reference 48 | 49 | 50 | 51 | 52 | Directories 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | Generated by doxygen 1.8.13 61 | 62 | 63 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_0b4eaef40a1fe20bedafe9e8e719ce66.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | Plugins 43 | 44 | 45 | 46 | 47 | Plugins Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_0cd74e691a2e791625b62fcac57a82cf.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/API/Core Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsAPICore 43 | 44 | 45 | 46 | 47 | Core Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_0e424c5ca17b63935bea643c48698145.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/UI/Objects Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsUIObjects 43 | 44 | 45 | 46 | 47 | Objects Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_156fe2c57e6e30a77483093d19328575.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/API/Objects Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsAPIObjects 43 | 44 | 45 | 46 | 47 | Objects Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_192ca38f0175fa1a60a36deb5c501c40.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Home 35 | Getting Started 36 | Documentation 37 | Downloads 38 | Issues Tracker 39 | Source (GitHub) 40 | 41 | 42 | 43 | 44 | Plugins 45 | 46 | 47 | 48 | 49 | Plugins Directory Reference 50 | 51 | 52 | 53 | 54 | Directories 55 | directory GameJolt 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | Generated by doxygen 1.8.10 65 | 66 | 67 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_1f60d357b35fdfadb6818e9844ecedee.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/UI/Controllers Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsUIControllers 43 | 44 | 45 | 46 | 47 | Controllers Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_2531af573ed64a685a349c5937d2827f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScripts 43 | 44 | 45 | 46 | 47 | Scripts Directory Reference 48 | 49 | 50 | 51 | 52 | Directories 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | Generated by doxygen 1.8.13 61 | 62 | 63 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_47fc72583b95e893c1b69dddfca5c502.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/API Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsAPI 43 | 44 | 45 | 46 | 47 | API Directory Reference 48 | 49 | 50 | 51 | 52 | Directories 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | Generated by doxygen 1.8.13 61 | 62 | 63 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_628e589f57e02f11b51a61ad6a60367a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt/Scripts/UI/Behaviours Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJoltScriptsUIBehaviours 43 | 44 | 45 | 46 | 47 | Behaviours Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/dir_b4a3dedc6ebf780451ff20b938024bee.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Plugins/GameJolt Directory Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | PluginsGameJolt 43 | 44 | 45 | 46 | 47 | GameJolt Directory Reference 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Generated by doxygen 1.8.13 57 | 58 | 59 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /Documentation/Output/html/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/doc.png -------------------------------------------------------------------------------- /Documentation/Output/html/downloads.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: Downloads 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | 43 | Downloads 44 | 45 | 46 | Download the latest version from GameJolt or GitHub. 47 | 48 | 49 | 50 | 51 | 52 | 53 | Generated by doxygen 1.8.13 54 | 55 | 56 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /Documentation/Output/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/doxygen.png -------------------------------------------------------------------------------- /Documentation/Output/html/dynsections.js: -------------------------------------------------------------------------------- 1 | function toggleVisibility(linkObj) 2 | { 3 | var base = $(linkObj).attr('id'); 4 | var summary = $('#'+base+'-summary'); 5 | var content = $('#'+base+'-content'); 6 | var trigger = $('#'+base+'-trigger'); 7 | var src=$(trigger).attr('src'); 8 | if (content.is(':visible')===true) { 9 | content.hide(); 10 | summary.show(); 11 | $(linkObj).addClass('closed').removeClass('opened'); 12 | $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 13 | } else { 14 | content.show(); 15 | summary.hide(); 16 | $(linkObj).removeClass('closed').addClass('opened'); 17 | $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 18 | } 19 | return false; 20 | } 21 | 22 | function updateStripes() 23 | { 24 | $('table.directory tr'). 25 | removeClass('even').filter(':visible:even').addClass('even'); 26 | } 27 | 28 | function toggleLevel(level) 29 | { 30 | $('table.directory tr').each(function() { 31 | var l = this.id.split('_').length-1; 32 | var i = $('#img'+this.id.substring(3)); 33 | var a = $('#arr'+this.id.substring(3)); 34 | if (l 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Documentation/Output/html/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/icomoon.ttf -------------------------------------------------------------------------------- /Documentation/Output/html/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/icomoon.woff -------------------------------------------------------------------------------- /Documentation/Output/html/md___users_loic__projects_gjapi__documentation__pages_downloads.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: downloads 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Home 35 | Getting Started 36 | Documentation 37 | Downloads 38 | Issues Tracker 39 | Source (GitHub) 40 | 41 | 42 | 43 | 44 | 45 | downloads 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Generated by doxygen 1.8.10 55 | 56 | 57 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Documentation/Output/html/md___users_loic__projects_gjapi__documentation__pages_main.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: main 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Home 35 | Getting Started 36 | Documentation 37 | Downloads 38 | Issues Tracker 39 | Source (GitHub) 40 | 41 | 42 | 43 | 44 | 45 | main 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Generated by doxygen 1.8.10 55 | 56 | 57 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Documentation/Output/html/md___users_loic__projects_gjapi__documentation__pages_tutorial.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: tutorial 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Home 35 | Getting Started 36 | Documentation 37 | Downloads 38 | Issues Tracker 39 | Source (GitHub) 40 | 41 | 42 | 43 | 44 | 45 | tutorial 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Generated by doxygen 1.8.10 55 | 56 | 57 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /Documentation/Output/html/menu.js: -------------------------------------------------------------------------------- 1 | function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { 2 | function makeTree(data,relPath) { 3 | var result=''; 4 | if ('children' in data) { 5 | result+=''; 6 | for (var i in data.children) { 7 | result+=''+ 8 | data.children[i].text+''+ 9 | makeTree(data.children[i],relPath)+''; 10 | } 11 | result+=''; 12 | } 13 | return result; 14 | } 15 | 16 | $('#main-nav').append(makeTree(menudata,relPath)); 17 | $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); 18 | if (searchEnabled) { 19 | if (serverSide) { 20 | $('#main-menu').append(''); 21 | } else { 22 | $('#main-menu').append(''); 23 | } 24 | } 25 | $('#main-menu').smartmenus(); 26 | } 27 | -------------------------------------------------------------------------------- /Documentation/Output/html/menudata.js: -------------------------------------------------------------------------------- 1 | var menudata={children:[ 2 | {text:"Home",url:"index.html"}, 3 | {text:"Getting Started",url:"tutorial.html"}, 4 | {text:"FAQ",url:"faq.html"}, 5 | {text:"Documentation",url:"annotated.html"}, 6 | {text:"Downloads",url:"downloads.html"}, 7 | {text:"Issues Tracker",url:"https://github.com/loicteixeira/gj-unity-api/issues"}, 8 | {text:"Source (GitHub)",url:"https://github.com/loicteixeira/gj-unity-api"}]} 9 | -------------------------------------------------------------------------------- /Documentation/Output/html/namespace_game_jolt.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Game Jolt Unity API: GameJolt Namespace Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | Game Jolt Unity API 23 | v2.3.0 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | 43 | Namespaces 44 | 45 | GameJolt Namespace Reference 46 | 47 | 48 | 49 | 50 | Namespaces 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | Generated by doxygen 1.8.13 59 | 60 | 61 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /Documentation/Output/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/nav_f.png -------------------------------------------------------------------------------- /Documentation/Output/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/nav_g.png -------------------------------------------------------------------------------- /Documentation/Output/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/nav_h.png -------------------------------------------------------------------------------- /Documentation/Output/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/open.png -------------------------------------------------------------------------------- /Documentation/Output/html/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/splitbar.png -------------------------------------------------------------------------------- /Documentation/Output/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/sync_off.png -------------------------------------------------------------------------------- /Documentation/Output/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/sync_on.png -------------------------------------------------------------------------------- /Documentation/Output/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/tab_a.png -------------------------------------------------------------------------------- /Documentation/Output/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/tab_b.png -------------------------------------------------------------------------------- /Documentation/Output/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/tab_h.png -------------------------------------------------------------------------------- /Documentation/Output/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Output/html/tab_s.png -------------------------------------------------------------------------------- /Documentation/Pages/downloads.md: -------------------------------------------------------------------------------- 1 | @page downloads Downloads 2 | 3 | Download the latest version from [GameJolt](http://gamejolt.com/games/unity-api/15887) or [GitHub](https://github.com/loicteixeira/gj-unity-api/releases). 4 | -------------------------------------------------------------------------------- /Documentation/Pages/faq.md: -------------------------------------------------------------------------------- 1 | @page faq FAQ 2 | 3 | [1]: @ref tutorial 4 | 5 | # I can't click the UI 6 | You are probably missing the EventSystem in your scene. Manually add one to your scene (`GameObject > UI > EventSystem`) or make sure to use the API v2.0.1 or more so it is automatically added when you add the API to your scene (`GameObject > GameJolt API Manager`). 7 | 8 | # Sign in keeps failing even with the right username and password 9 | You should sign in with your game token, not your password (you password is only used to log into GameJolt). You can find your token on GameJolt by clicking on your user picture then selecting `Game Token`. 10 | 11 | # The trophy notification keeps coming up 12 | You are probably unlocking the trophy in the `Update` loop, therefore triggering it on every frame. See this [issue](https://github.com/loicteixeira/gj-unity-api/issues/68) for more details. 13 | 14 | # AutoConnect doesn't work with WebGL 15 | Make sure you use the API `v2.1.0` or higher and Unity `5.0.1` or higher. There is a bug in previous versions. 16 | 17 | # How can I add a float as a score? 18 | You can't use `floats` directly as scores are saved as integer on the server. However, if you have a fixed number of decimals, you can convert your `float` to `int` before saving it (and use the score display string to still show a `float`). 19 | 20 | For example: 21 | ``` 22 | float score = 54.359f; 23 | int scoreValue = (int)(score * 1000); // Will be `54359`. 24 | string scoreText = String.Format("Race completed in {0}s!", score); // Will be `Race completed in 54.359s!`. 25 | 26 | GameJolt.API.Scores.Add(scoreValue, scoreText); 27 | ``` 28 | 29 | # After singing in a user, some attributes are missing. 30 | The sign-in methods accepts 2 callbacks, the first one returns as soon as the user is logged in, however some attributes (e.g. `user.AvatarURL`) will not be populated yet. The second one returns once all the users attributes have been populated (minus `user.Avatar` for which you have to manually call `user.DownloadAvatar()`). Make sure to subscribe to the second one. See the [tutorial][1] for code examples. 31 | -------------------------------------------------------------------------------- /Documentation/Pages/main.md: -------------------------------------------------------------------------------- 1 | @mainpage 2 | 3 | Game Jolt [Game API](http://gamejolt.com/api/doc/game/) wrapper for [Unity](http://unity3d.com/). 4 | 5 | Follow the project on [Game Jolt](http://gamejolt.com/games/unity-api/15887) to get notified about updates. 6 | # Compatibility 7 | 8 | ## Unity 9 | 10 | - Works for Unity 5.0.1 and above. 11 | - Can be used from either C# and Javascript. 12 | 13 | ## Build Targets 14 | 15 | Target | Build Successful | Runs Properly | Extra 16 | :--- | :---: | :---: | :--- 17 | WebPlayer | OK | OK | Firefox 18 | WebGL (Preview) | OK | OK | Chrome 19 | PC Standalone - x86 | OK | OK | Windows 7 Pro SP1 20 | PC Standalone - x86_64 | OK | OK | Windows 7 Pro SP1 21 | Mac Standalone - x86 | OK | OK | OSX Yosemite 22 | Mac Standalone - x86_64 | OK | OK | OSX Yosemite 23 | Mac Standalone - Universal | OK | OK | OSX Yosemite 24 | Linux Standalone | Not Tested | Not Tested | - 25 | iOS | Not Tested | Not Tested | - 26 | Android | Not Tested | Not Tested | - 27 | BlackBerry | Not Tested | Not Tested | - 28 | Windows Store - SDK 8.0 | OK | Not Tested | Windows 8.1 Entreprise on VM 29 | Windows Store - SDK 8.1 | OK | Not Tested | Windows 8.1 Entreprise on VM 30 | Windows Store - Phone 8.1 | OK | Not Tested | Windows 8.1 Entreprise on VM 31 | Windows Store - Universal 8.1 | OK | Not Tested | Windows 8.1 Entreprise on VM 32 | Windows Phone 8 | OK | Not Tested | Windows 8.1 Entreprise on VM 33 | Samsung TV | Not Tested | Not Tested | - 34 | Xbox 360 | Not Tested | Not Tested | - 35 | Xbox One | Not Tested | Not Tested | - 36 | PS3 | Not Tested | Not Tested | - 37 | PS4 | Not Tested | Not Tested | - 38 | PS Vita | Not Tested | Not Tested | - 39 | 40 | # Contributing 41 | 42 | You can contribute in several ways: 43 | - Share your ideas. Either create a ticket in the [issue tracker](https://github.com/loicteixeira/gj-unity-api/issues) or leave a comment on [Game Jolt](http://gamejolt.com/games/unity-api/15887). 44 | - Help building the compatibility table above if you are able to test on some of those platforms. Either message me on [Twitter](https://twitter.com/loicteixeira) or leave a comment on [Game Jolt](http://gamejolt.com/games/unity-api/15887) 45 | - Report [issues](https://github.com/loicteixeira/gj-unity-api/issues). 46 | - Clone the [repository](https://github.com/loicteixeira/gj-unity-api/issues), fix bugs and create a *Pull Request*. 47 | -------------------------------------------------------------------------------- /Documentation/Templates/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Templates/fonts/icomoon.eot -------------------------------------------------------------------------------- /Documentation/Templates/fonts/icomoon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Documentation/Templates/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Templates/fonts/icomoon.ttf -------------------------------------------------------------------------------- /Documentation/Templates/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loicteixeira/gj-unity-api/edb91e7994dcf662b0b334e8dbefeddb9fd6d88e/Documentation/Templates/fonts/icomoon.woff -------------------------------------------------------------------------------- /Documentation/Templates/layouts/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $navpath 7 | $generatedby 8 | 9 | $doxygenversion 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | $generatedby doxygen $doxygenversion 18 | 19 | 20 | 21 | 22 | 32 | 33 |
Download the latest version from GameJolt or GitHub.