From 882d685f07b04edf2b9653c12b0454afa6be0e42 Mon Sep 17 00:00:00 2001 From: atusi Date: Thu, 17 Nov 2022 23:59:25 +0900 Subject: [PATCH] =?UTF-8?q?ios=E3=83=93=E3=83=AB=E3=83=89=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1.2.169/Google.IOSResolver.dll.meta | 7 +- .../1.2.169/Google.JarResolver.dll.meta | 7 +- .../Google.PackageManagerResolver.dll.meta | 7 +- .../Google.VersionHandlerImpl.dll.meta | 7 +- .../Editor/CHANGELOG.md.meta | 15 +- .../Editor/Google.VersionHandler.dll.meta | 19 +- .../Editor/LICENSE.meta | 17 +- .../Editor/README.md.meta | 15 +- ...-manager_version-1.2.169_manifest.txt.meta | 18 +- popcorn/Assets/FacebookSDK.meta | 8 + popcorn/Assets/FacebookSDK/Examples.meta | 8 + .../Examples/AccessTokenMenu.unity | 212 + .../Examples/AccessTokenMenu.unity.meta | 8 + .../FacebookSDK/Examples/AppEvents.unity | 212 + .../FacebookSDK/Examples/AppEvents.unity.meta | 8 + .../FacebookSDK/Examples/AppLinks.unity | 212 + .../FacebookSDK/Examples/AppLinks.unity.meta | 8 + .../FacebookSDK/Examples/AppRequests.unity | 212 + .../Examples/AppRequests.unity.meta | 8 + .../FacebookSDK/Examples/DialogShare.unity | 212 + .../Examples/DialogShare.unity.meta | 8 + .../FacebookSDK/Examples/GraphRequest.unity | 212 + .../Examples/GraphRequest.unity.meta | 8 + .../Assets/FacebookSDK/Examples/LogView.unity | 212 + .../FacebookSDK/Examples/LogView.unity.meta | 8 + .../FacebookSDK/Examples/MainMenu.unity | 212 + .../FacebookSDK/Examples/MainMenu.unity.meta | 6 + popcorn/Assets/FacebookSDK/Examples/Pay.unity | 212 + .../FacebookSDK/Examples/Pay.unity.meta | 8 + .../Assets/FacebookSDK/Examples/Scripts.meta | 8 + .../Examples/Scripts/ConsoleBase.cs | 263 + .../Examples/Scripts/ConsoleBase.cs.meta | 10 + .../FacebookSDK/Examples/Scripts/LogView.cs | 71 + .../Examples/Scripts/LogView.cs.meta | 12 + .../FacebookSDK/Examples/Scripts/MenuBase.cs | 238 + .../Examples/Scripts/MenuBase.cs.meta | 12 + .../Examples/Scripts/SubMenus.meta | 8 + .../Scripts/SubMenus/AccessTokenMenu.cs | 33 + .../Scripts/SubMenus/AccessTokenMenu.cs.meta | 12 + .../Examples/Scripts/SubMenus/AppEvents.cs | 45 + .../Scripts/SubMenus/AppEvents.cs.meta | 12 + .../Examples/Scripts/SubMenus/AppLinks.cs | 38 + .../Scripts/SubMenus/AppLinks.cs.meta | 12 + .../Examples/Scripts/SubMenus/AppRequests.cs | 143 + .../Scripts/SubMenus/AppRequests.cs.meta | 12 + .../Examples/Scripts/SubMenus/DialogShare.cs | 125 + .../Scripts/SubMenus/DialogShare.cs.meta | 12 + .../Examples/Scripts/SubMenus/GraphRequest.cs | 93 + .../Scripts/SubMenus/GraphRequest.cs.meta | 12 + .../Examples/Scripts/SubMenus/MainMenu.cs | 283 + .../Scripts/SubMenus/MainMenu.cs.meta | 12 + .../Examples/Scripts/SubMenus/Pay.cs | 45 + .../Examples/Scripts/SubMenus/Pay.cs.meta | 12 + .../Scripts/SubMenus/TournamentsMenu.cs | 73 + .../Scripts/SubMenus/TournamentsMenu.cs.meta | 11 + .../Assets/FacebookSDK/Examples/Textures.meta | 8 + .../FacebookSDK/Examples/Textures/White.psd | Bin 0 -> 23542 bytes .../Examples/Textures/White.psd.meta | 55 + .../Examples/TournamentsMenu.unity | 251 + .../Examples/TournamentsMenu.unity.meta | 7 + .../Assets/FacebookSDK/Examples/Windows.meta | 8 + .../FBWindowsA2UNotificationsManager.cs | 34 + .../FBWindowsA2UNotificationsManager.cs.meta | 11 + .../Examples/Windows/FBWindowsADSManager.cs | 128 + .../Windows/FBWindowsADSManager.cs.meta | 11 + .../Windows/FBWindowsExampleTabsManager.cs | 22 + .../FBWindowsExampleTabsManager.cs.meta | 11 + .../Windows/FBWindowsFriendsManager.cs | 105 + .../Windows/FBWindowsFriendsManager.cs.meta | 11 + .../Windows/FBWindowsGraphAPIManager.cs | 43 + .../Windows/FBWindowsGraphAPIManager.cs.meta | 11 + .../Examples/Windows/FBWindowsInitManager.cs | 49 + .../Windows/FBWindowsInitManager.cs.meta | 11 + .../Examples/Windows/FBWindowsLoginManager.cs | 122 + .../Windows/FBWindowsLoginManager.cs.meta | 11 + .../Examples/Windows/FBWindowsLogsManager.cs | 45 + .../Windows/FBWindowsLogsManager.cs.meta | 11 + .../Windows/FBWindowsPurchaseManager.cs | 171 + .../Windows/FBWindowsPurchaseManager.cs.meta | 11 + .../Examples/Windows/FBWindowsShareManager.cs | 66 + .../Windows/FBWindowsShareManager.cs.meta | 11 + .../Windows/FBWindowsTournamentsManager.cs | 138 + .../FBWindowsTournamentsManager.cs.meta | 11 + .../Windows/FBWindowsVirtualGamepadManager.cs | 29 + .../FBWindowsVirtualGamepadManager.cs.meta | 11 + .../Examples/Windows/PurchaseButton.prefab | 266 + .../Windows/PurchaseButton.prefab.meta | 8 + .../Examples/Windows/WindowsExample.unity | 24008 ++++++++++++++++ .../Windows/WindowsExample.unity.meta | 7 + popcorn/Assets/FacebookSDK/Plugins.meta | 8 + .../Assets/FacebookSDK/Plugins/Android.meta | 8 + .../Android/Facebook.Unity.Android.dll | Bin 0 -> 4096 bytes .../Android/Facebook.Unity.Android.dll.meta | 154 + .../FacebookSDK/Plugins/Android/libs.meta | 8 + .../libs/facebook-android-wrapper-13.2.0.aar | Bin 0 -> 75054 bytes .../facebook-android-wrapper-13.2.0.aar.meta | 32 + .../Assets/FacebookSDK/Plugins/Canvas.meta | 8 + .../Plugins/Canvas/CanvasJSSDKBindings.jslib | 276 + .../Canvas/CanvasJSSDKBindings.jslib.meta | 36 + .../Plugins/Canvas/Facebook.Unity.Canvas.dll | Bin 0 -> 5120 bytes .../Canvas/Facebook.Unity.Canvas.dll.meta | 160 + .../Assets/FacebookSDK/Plugins/Editor.meta | 8 + .../Plugins/Editor/Dependencies.xml | 18 + .../Plugins/Editor/Dependencies.xml.meta | 7 + .../Plugins/Editor/Facebook.Unity.Editor.dll | Bin 0 -> 113152 bytes .../Editor/Facebook.Unity.Editor.dll.meta | 32 + .../FacebookSDK/Plugins/Facebook.Unity.dll | Bin 0 -> 157696 bytes .../Plugins/Facebook.Unity.dll.meta | 32 + .../Assets/FacebookSDK/Plugins/Settings.meta | 8 + .../Settings/Facebook.Unity.Settings.dll | Bin 0 -> 8704 bytes .../Settings/Facebook.Unity.Settings.dll.meta | 32 + .../Assets/FacebookSDK/Plugins/Windows.meta | 8 + .../Windows/Facebook.Unity.Windows.dll | Bin 0 -> 23552 bytes .../Windows/Facebook.Unity.Windows.dll.meta | 33 + .../Plugins/Windows/LibFBGManaged.dll | Bin 0 -> 38912 bytes .../Plugins/Windows/LibFBGManaged.dll.meta | 33 + .../FacebookSDK/Plugins/Windows/x64.meta | 8 + .../Plugins/Windows/x64/LibFBGPlatform.dll | Bin 0 -> 1196544 bytes .../Windows/x64/LibFBGPlatform.dll.meta | 92 + .../Plugins/Windows/x64/LibFBGUI.dll | Bin 0 -> 445952 bytes .../Plugins/Windows/x64/LibFBGUI.dll.meta | 92 + .../Plugins/Windows/x64/WebView2Loader.dll | Bin 0 -> 136592 bytes .../Windows/x64/WebView2Loader.dll.meta | 92 + .../Plugins/Windows/x64/cpprest_2_10.dll | Bin 0 -> 966144 bytes .../Plugins/Windows/x64/cpprest_2_10.dll.meta | 92 + .../Plugins/Windows/x64/libcrypto-1_1-x64.dll | Bin 0 -> 3473408 bytes .../Windows/x64/libcrypto-1_1-x64.dll.meta | 92 + .../Plugins/Windows/x64/libcurl.dll | Bin 0 -> 530944 bytes .../Plugins/Windows/x64/libcurl.dll.meta | 92 + .../Plugins/Windows/x64/libssl-1_1-x64.dll | Bin 0 -> 686080 bytes .../Windows/x64/libssl-1_1-x64.dll.meta | 92 + .../Plugins/Windows/x64/tinyxml2.dll | Bin 0 -> 94208 bytes .../Plugins/Windows/x64/tinyxml2.dll.meta | 92 + .../FacebookSDK/Plugins/Windows/x64/zlib1.dll | Bin 0 -> 87040 bytes .../Plugins/Windows/x64/zlib1.dll.meta | 92 + .../FacebookSDK/Plugins/Windows/x86.meta | 8 + .../Plugins/Windows/x86/LibFBGPlatform.dll | Bin 0 -> 1122304 bytes .../Windows/x86/LibFBGPlatform.dll.meta | 92 + .../Plugins/Windows/x86/LibFBGUI.dll | Bin 0 -> 426496 bytes .../Plugins/Windows/x86/LibFBGUI.dll.meta | 92 + .../Plugins/Windows/x86/WebView2Loader.dll | Bin 0 -> 109976 bytes .../Windows/x86/WebView2Loader.dll.meta | 92 + .../Plugins/Windows/x86/cpprest_2_10.dll | Bin 0 -> 811520 bytes .../Plugins/Windows/x86/cpprest_2_10.dll.meta | 92 + .../Plugins/Windows/x86/libcrypto-1_1.dll | Bin 0 -> 2579968 bytes .../Windows/x86/libcrypto-1_1.dll.meta | 92 + .../Plugins/Windows/x86/libcurl.dll | Bin 0 -> 468992 bytes .../Plugins/Windows/x86/libcurl.dll.meta | 92 + .../Plugins/Windows/x86/libssl-1_1.dll | Bin 0 -> 536064 bytes .../Plugins/Windows/x86/libssl-1_1.dll.meta | 92 + .../Plugins/Windows/x86/tinyxml2.dll | Bin 0 -> 74240 bytes .../Plugins/Windows/x86/tinyxml2.dll.meta | 92 + .../FacebookSDK/Plugins/Windows/x86/zlib1.dll | Bin 0 -> 74752 bytes .../Plugins/Windows/x86/zlib1.dll.meta | 92 + popcorn/Assets/FacebookSDK/Plugins/iOS.meta | 8 + .../Plugins/iOS/Facebook.Unity.IOS.dll | Bin 0 -> 9728 bytes .../Plugins/iOS/Facebook.Unity.IOS.dll.meta | 154 + popcorn/Assets/FacebookSDK/SDK.meta | 8 + popcorn/Assets/FacebookSDK/SDK/Editor.meta | 8 + .../Assets/FacebookSDK/SDK/Editor/iOS.meta | 8 + .../SDK/Editor/iOS/FBSDK+Internal.h | 35 + .../SDK/Editor/iOS/FBSDK+Internal.h.meta | 59 + .../SDK/Editor/iOS/FBUnityInterface.h | 44 + .../SDK/Editor/iOS/FBUnityInterface.h.meta | 57 + .../SDK/Editor/iOS/FBUnityInterface.mm | 933 + .../SDK/Editor/iOS/FBUnityInterface.mm.meta | 57 + .../SDK/Editor/iOS/FBUnitySDKDelegate.h | 63 + .../SDK/Editor/iOS/FBUnitySDKDelegate.h.meta | 59 + .../SDK/Editor/iOS/FBUnitySDKDelegate.m | 172 + .../SDK/Editor/iOS/FBUnitySDKDelegate.m.meta | 59 + .../SDK/Editor/iOS/FBUnityUtility.h | 37 + .../SDK/Editor/iOS/FBUnityUtility.h.meta | 59 + .../SDK/Editor/iOS/FBUnityUtility.mm | 228 + .../SDK/Editor/iOS/FBUnityUtility.mm.meta | 59 + .../FacebookSDK/SDK/Editor/iOS/Swift.meta | 8 + .../Swift/FBSDKShareTournamentDialog.swift | 80 + .../FBSDKShareTournamentDialog.swift.meta | 44 + .../Editor/iOS/Swift/FBSDKTournament.swift | 74 + .../iOS/Swift/FBSDKTournament.swift.meta | 44 + .../iOS/Swift/FBSDKTournamentFetcher.swift | 48 + .../Swift/FBSDKTournamentFetcher.swift.meta | 80 + .../iOS/Swift/FBSDKTournamentUpdater.swift | 72 + .../Swift/FBSDKTournamentUpdater.swift.meta | 44 + .../FacebookSDK/SDK/Editor/iOS/fixup.projmods | 24 + .../SDK/Editor/iOS/fixup.projmods.meta | 6 + popcorn/Assets/FacebookSDK/SDK/Resources.meta | 8 + .../SDK/Resources/FacebookSettings.asset | 33 + .../SDK/Resources/FacebookSettings.asset.meta | 8 + popcorn/Assets/FacebookSDK/link.xml | 11 + popcorn/Assets/FacebookSDK/link.xml.meta | 8 + .../Scripts/Events/GA_SpecialEvents.cs | 35 +- .../Plugins/Scripts/Setup/Settings.cs | 2 +- .../Plugins/WebGL/GameAnalytics.jspre | 58 +- .../Plugins/iOS/libGameAnalytics.a | Bin 7585136 -> 7585152 bytes .../Plugins/tvOS/libGameAnalyticsTVOS.a | Bin 5625504 -> 5625536 bytes .../DemoScene/IronSourceDemoScript.cs | 141 +- .../Editor/IAdapterSettings.cs.meta | 2 +- .../Editor/ISAdMobAdapterDependencies.xml | 26 + .../ISAdMobAdapterDependencies.xml.meta | 7 + .../Editor/ISPangleAdapterDependencies.xml | 24 + .../ISPangleAdapterDependencies.xml.meta | 7 + .../Editor/ISUnityAdsAdapterDependencies.xml | 25 + .../ISUnityAdsAdapterDependencies.xml.meta | 7 + .../Editor/IronSourceBuildPostprocessor.cs | 3 - .../IronSourceBuildPostprocessor.cs.meta | 2 +- .../Editor/IronSourceDependenciesManager.cs | 327 +- .../IronSourceDependenciesManager.cs.meta | 2 +- .../IronSourceDependenciesManagerConstants.cs | 53 + ...SourceDependenciesManagerConstants.cs.meta | 11 + .../Editor/IronSourceEditorCoroutines.cs.meta | 2 +- .../Editor/IronSourceManifestProcessor.cs | 173 +- .../IronSourceManifestProcessor.cs.meta | 2 +- .../IronSource/Editor/IronSourceMenu.cs.meta | 2 +- .../Editor/IronSourcePlistProcessor.cs.meta | 2 +- .../Editor/IronSourceSDKDependencies.xml | 67 +- .../Editor/IronSourceSDKDependencies.xml.meta | 2 +- ...ource_IntegrationManager.unitypackage.meta | 7 + .../IronSource.plugin/AndroidManifest.xml | 6 +- .../AndroidManifest.xml.meta | 2 +- .../IronSource.plugin/libs/android-bridge.jar | Bin 19129 -> 33172 bytes .../libs/android-bridge.jar.meta | 2 +- .../IronSource.plugin/project.properties.meta | 2 +- .../iOS/BannerLevelPlayCallbacksWrapper.h | 33 + .../BannerLevelPlayCallbacksWrapper.h.meta | 27 + .../iOS/BannerLevelPlayCallbacksWrapper.m | 49 + .../BannerLevelPlayCallbacksWrapper.m.meta | 37 + .../InterstitialLevelPlayCallbacksWrapper.h | 34 + ...terstitialLevelPlayCallbacksWrapper.h.meta | 27 + .../InterstitialLevelPlayCallbacksWrapper.m | 51 + ...terstitialLevelPlayCallbacksWrapper.m.meta | 37 + .../Plugins/iOS/IronSourceUnityConfig.m.meta | 2 +- .../RewardedVideoLevelPlayCallbacksWrapper.h | 36 + ...ardedVideoLevelPlayCallbacksWrapper.h.meta | 27 + .../RewardedVideoLevelPlayCallbacksWrapper.m | 59 + ...ardedVideoLevelPlayCallbacksWrapper.m.meta | 37 + .../Assets/IronSource/Plugins/iOS/iOSBridge.h | 20 +- .../IronSource/Plugins/iOS/iOSBridge.h.meta | 2 +- .../Assets/IronSource/Plugins/iOS/iOSBridge.m | 313 +- .../IronSource/Plugins/iOS/iOSBridge.m.meta | 2 +- popcorn/Assets/IronSource/Resources.meta | 8 + .../IronSourceMediatedNetworkSettings.asset | 17 + ...onSourceMediatedNetworkSettings.asset.meta | 8 + .../IronSourceMediationSettings.asset | 21 + .../IronSourceMediationSettings.asset.meta | 8 + .../Assets/IronSource/Scripts/AndroidAgent.cs | 30 +- .../IronSource/Scripts/AndroidAgent.cs.meta | 2 +- .../Assets/IronSource/Scripts/IUnityBanner.cs | 17 + .../IronSource/Scripts/IUnityBanner.cs.meta | 11 + .../Scripts/IUnityImpressionData.cs | 7 + .../Scripts/IUnityImpressionData.cs.meta | 11 + .../Scripts/IUnityInitialization.cs | 5 + .../Scripts/IUnityInitialization.cs.meta | 11 + .../IronSource/Scripts/IUnityInterstitial.cs | 36 + .../Scripts/IUnityInterstitial.cs.meta | 11 + .../Scripts/IUnityLevelPlayBanner.cs | 15 + .../Scripts/IUnityLevelPlayBanner.cs.meta | 11 + .../Scripts/IUnityLevelPlayInterstitial.cs | 18 + .../IUnityLevelPlayInterstitial.cs.meta | 11 + .../Scripts/IUnityLevelPlayRewardedVideo.cs | 17 + .../IUnityLevelPlayRewardedVideo.cs.meta | 11 + .../IUnityLevelPlayRewardedVideoManual.cs | 7 + ...IUnityLevelPlayRewardedVideoManual.cs.meta | 11 + .../IronSource/Scripts/IUnityOfferwall.cs | 19 + .../Scripts/IUnityOfferwall.cs.meta | 11 + .../IronSource/Scripts/IUnityRewardedVideo.cs | 38 + .../Scripts/IUnityRewardedVideo.cs.meta | 11 + .../Scripts/IUnityRewardedVideoManual.cs | 9 + .../Scripts/IUnityRewardedVideoManual.cs.meta | 11 + .../IronSource/Scripts/IUnitySegment.cs | 6 + .../IronSource/Scripts/IUnitySegment.cs.meta | 11 + .../Assets/IronSource/Scripts/IronSource.cs | 192 +- .../IronSource/Scripts/IronSource.cs.meta | 2 +- .../IronSource/Scripts/IronSourceAdInfo.cs | 117 + .../Scripts/IronSourceAdInfo.cs.meta | 11 + .../Scripts/IronSourceBannerAndroid.cs | 79 + .../Scripts/IronSourceBannerAndroid.cs.meta | 11 + .../Scripts/IronSourceBannerEvents.cs | 352 + .../Scripts/IronSourceBannerEvents.cs.meta | 11 + .../IronSourceBannerLevelPlayAndroid.cs | 84 + .../IronSourceBannerLevelPlayAndroid.cs.meta | 11 + .../Scripts/IronSourceConfig.cs.meta | 2 +- .../IronSource/Scripts/IronSourceConstants.cs | 29 +- .../Scripts/IronSourceConstants.cs.meta | 2 +- .../Scripts/IronSourceError.cs.meta | 2 +- .../IronSource/Scripts/IronSourceEvents.cs | 3345 ++- .../Scripts/IronSourceEvents.cs.meta | 2 +- .../Scripts/IronSourceEventsDispatcher.cs | 81 + .../IronSourceEventsDispatcher.cs.meta | 11 + .../IronSource/Scripts/IronSourceIAgent.cs | 154 +- .../Scripts/IronSourceIAgent.cs.meta | 2 +- .../Scripts/IronSourceImpressionData.cs.meta | 2 +- .../IronSourceImpressionDataAndroid.cs | 48 + .../IronSourceImpressionDataAndroid.cs.meta | 11 + .../IronSourceInitializationAndroid.cs | 33 + .../IronSourceInitializationAndroid.cs.meta | 11 + .../Scripts/IronSourceInitilizer.cs | 1 + .../Scripts/IronSourceInitilizer.cs.meta | 2 +- .../Scripts/IronSourceInterstitialAndroid.cs | 181 + .../IronSourceInterstitialAndroid.cs.meta | 11 + .../Scripts/IronSourceInterstitialEvents.cs | 394 + .../IronSourceInterstitialEvents.cs.meta | 11 + .../IronSourceInterstitialLevelPlayAndroid.cs | 106 + ...SourceInterstitialLevelPlayAndroid.cs.meta | 11 + .../IronSource/Scripts/IronSourceJSON.cs.meta | 2 +- .../Scripts/IronSourceMediationSettings.cs | 6 +- .../Scripts/IronSourceOfferwallAndroid.cs | 85 + .../IronSourceOfferwallAndroid.cs.meta | 11 + .../Scripts/IronSourcePlacement.cs.meta | 2 +- .../Scripts/IronSourceRewardedVideoAndroid.cs | 190 + .../IronSourceRewardedVideoAndroid.cs.meta | 11 + .../Scripts/IronSourceRewardedVideoEvents.cs | 485 + .../IronSourceRewardedVideoEvents.cs.meta | 11 + ...IronSourceRewardedVideoLevelPlayAndroid.cs | 108 + ...ourceRewardedVideoLevelPlayAndroid.cs.meta | 11 + ...urceRewardedVideoLevelPlayManualAndroid.cs | 43 + ...ewardedVideoLevelPlayManualAndroid.cs.meta | 11 + .../IronSourceRewardedVideoManualAndroid.cs | 43 + ...onSourceRewardedVideoManualAndroid.cs.meta | 11 + .../Scripts/IronSourceSegment.cs.meta | 2 +- .../Scripts/IronSourceSegmentAndroid.cs | 34 + .../Scripts/IronSourceSegmentAndroid.cs.meta | 11 + .../Scripts/IronSourceUtils.cs.meta | 2 +- .../Scripts/UnsupportedPlatformAgent.cs | 27 +- .../Scripts/UnsupportedPlatformAgent.cs.meta | 2 +- popcorn/Assets/IronSource/Scripts/iOSAgent.cs | 389 +- .../IronSource/Scripts/iOSAgent.cs.meta | 2 +- popcorn/Assets/MyGame/Editor/PostProcessor.cs | 19 +- .../Assets/MyGame/Scripts/AnalyticsInit.cs | 22 +- .../Plugins/Android/AndroidManifest.xml | 48 +- .../Resources/GameAnalytics/Settings.asset | 4 +- popcorn/Assets/StreamingAssets.meta | 8 + popcorn/Assets/StreamingAssets/meta-logo.png | Bin 0 -> 18617 bytes .../Assets/StreamingAssets/meta-logo.png.meta | 7 + popcorn/Assets/StreamingAssets/meta.mp4 | Bin 0 -> 346513 bytes popcorn/Assets/StreamingAssets/meta.mp4.meta | 7 + popcorn/Packages/manifest.json | 1 + popcorn/Packages/packages-lock.json | 7 + .../ProjectSettings/BurstAotSettings_iOS.json | 5 +- .../CommonBurstAotSettings.json | 6 + .../UnityConnectSettings.asset | 1 + 340 files changed, 41930 insertions(+), 1927 deletions(-) create mode 100644 popcorn/Assets/FacebookSDK.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppEvents.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppEvents.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppLinks.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppLinks.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppRequests.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/AppRequests.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/DialogShare.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/DialogShare.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/LogView.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/LogView.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/MainMenu.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/MainMenu.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Pay.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/Pay.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Textures.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Textures/White.psd create mode 100644 popcorn/Assets/FacebookSDK/Examples/Textures/White.psd.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsFriendsManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsFriendsManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsGraphAPIManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsGraphAPIManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsInitManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsInitManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsLoginManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsLoginManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsLogsManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsLogsManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsPurchaseManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsPurchaseManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsShareManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsShareManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsTournamentsManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsTournamentsManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsVirtualGamepadManager.cs create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsVirtualGamepadManager.cs.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/PurchaseButton.prefab create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/PurchaseButton.prefab.meta create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/WindowsExample.unity create mode 100644 popcorn/Assets/FacebookSDK/Examples/Windows/WindowsExample.unity.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android/Facebook.Unity.Android.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android/Facebook.Unity.Android.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android/libs.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android/libs/facebook-android-wrapper-13.2.0.aar create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Android/libs/facebook-android-wrapper-13.2.0.aar.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Canvas.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Canvas/CanvasJSSDKBindings.jslib create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Canvas/CanvasJSSDKBindings.jslib.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Canvas/Facebook.Unity.Canvas.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Canvas/Facebook.Unity.Canvas.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Editor.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Editor/Dependencies.xml.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Editor/Facebook.Unity.Editor.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Editor/Facebook.Unity.Editor.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Facebook.Unity.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Facebook.Unity.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Settings.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/Facebook.Unity.Windows.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/Facebook.Unity.Windows.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/LibFBGManaged.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/LibFBGManaged.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/LibFBGPlatform.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/LibFBGPlatform.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/LibFBGUI.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/LibFBGUI.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/WebView2Loader.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/WebView2Loader.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/cpprest_2_10.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/cpprest_2_10.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libcrypto-1_1-x64.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libcrypto-1_1-x64.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libcurl.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libcurl.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libssl-1_1-x64.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/libssl-1_1-x64.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/tinyxml2.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/tinyxml2.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/zlib1.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x64/zlib1.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/LibFBGPlatform.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/LibFBGPlatform.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/LibFBGUI.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/LibFBGUI.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/WebView2Loader.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/WebView2Loader.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/cpprest_2_10.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/cpprest_2_10.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libcrypto-1_1.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libcrypto-1_1.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libcurl.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libcurl.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libssl-1_1.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/libssl-1_1.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/tinyxml2.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/tinyxml2.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/zlib1.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/Windows/x86/zlib1.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/iOS.meta create mode 100644 popcorn/Assets/FacebookSDK/Plugins/iOS/Facebook.Unity.IOS.dll create mode 100644 popcorn/Assets/FacebookSDK/Plugins/iOS/Facebook.Unity.IOS.dll.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBSDK+Internal.h create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBSDK+Internal.h.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.h create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.h.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.mm create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.mm.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnitySDKDelegate.h create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnitySDKDelegate.h.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnitySDKDelegate.m create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnitySDKDelegate.m.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityUtility.h create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityUtility.h.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityUtility.mm create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityUtility.mm.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKShareTournamentDialog.swift create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKShareTournamentDialog.swift.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournament.swift create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournament.swift.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournamentFetcher.swift create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournamentFetcher.swift.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournamentUpdater.swift create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/Swift/FBSDKTournamentUpdater.swift.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/fixup.projmods create mode 100644 popcorn/Assets/FacebookSDK/SDK/Editor/iOS/fixup.projmods.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Resources.meta create mode 100644 popcorn/Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset create mode 100644 popcorn/Assets/FacebookSDK/SDK/Resources/FacebookSettings.asset.meta create mode 100644 popcorn/Assets/FacebookSDK/link.xml create mode 100644 popcorn/Assets/FacebookSDK/link.xml.meta create mode 100644 popcorn/Assets/IronSource/Editor/ISAdMobAdapterDependencies.xml create mode 100644 popcorn/Assets/IronSource/Editor/ISAdMobAdapterDependencies.xml.meta create mode 100644 popcorn/Assets/IronSource/Editor/ISPangleAdapterDependencies.xml create mode 100644 popcorn/Assets/IronSource/Editor/ISPangleAdapterDependencies.xml.meta create mode 100644 popcorn/Assets/IronSource/Editor/ISUnityAdsAdapterDependencies.xml create mode 100644 popcorn/Assets/IronSource/Editor/ISUnityAdsAdapterDependencies.xml.meta create mode 100644 popcorn/Assets/IronSource/Editor/IronSourceDependenciesManagerConstants.cs create mode 100644 popcorn/Assets/IronSource/Editor/IronSourceDependenciesManagerConstants.cs.meta create mode 100644 popcorn/Assets/IronSource/Editor/IronSource_IntegrationManager.unitypackage.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/BannerLevelPlayCallbacksWrapper.h create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/BannerLevelPlayCallbacksWrapper.h.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/BannerLevelPlayCallbacksWrapper.m create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/BannerLevelPlayCallbacksWrapper.m.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/InterstitialLevelPlayCallbacksWrapper.h create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/InterstitialLevelPlayCallbacksWrapper.h.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/InterstitialLevelPlayCallbacksWrapper.m create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/InterstitialLevelPlayCallbacksWrapper.m.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/RewardedVideoLevelPlayCallbacksWrapper.h create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/RewardedVideoLevelPlayCallbacksWrapper.h.meta create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/RewardedVideoLevelPlayCallbacksWrapper.m create mode 100644 popcorn/Assets/IronSource/Plugins/iOS/RewardedVideoLevelPlayCallbacksWrapper.m.meta create mode 100644 popcorn/Assets/IronSource/Resources.meta create mode 100644 popcorn/Assets/IronSource/Resources/IronSourceMediatedNetworkSettings.asset create mode 100644 popcorn/Assets/IronSource/Resources/IronSourceMediatedNetworkSettings.asset.meta create mode 100644 popcorn/Assets/IronSource/Resources/IronSourceMediationSettings.asset create mode 100644 popcorn/Assets/IronSource/Resources/IronSourceMediationSettings.asset.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityBanner.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityBanner.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityImpressionData.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityImpressionData.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityInitialization.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityInitialization.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityInterstitial.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityInterstitial.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayBanner.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayBanner.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayInterstitial.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayInterstitial.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayRewardedVideo.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayRewardedVideo.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayRewardedVideoManual.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityLevelPlayRewardedVideoManual.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityOfferwall.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityOfferwall.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityRewardedVideo.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityRewardedVideo.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityRewardedVideoManual.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnityRewardedVideoManual.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IUnitySegment.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IUnitySegment.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceAdInfo.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceAdInfo.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerEvents.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerEvents.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerLevelPlayAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceBannerLevelPlayAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceEventsDispatcher.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceEventsDispatcher.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceImpressionDataAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceImpressionDataAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInitializationAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInitializationAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialEvents.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialEvents.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialLevelPlayAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceInterstitialLevelPlayAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceOfferwallAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceOfferwallAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoEvents.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoEvents.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoLevelPlayAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoLevelPlayAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoLevelPlayManualAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoLevelPlayManualAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoManualAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceRewardedVideoManualAndroid.cs.meta create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceSegmentAndroid.cs create mode 100644 popcorn/Assets/IronSource/Scripts/IronSourceSegmentAndroid.cs.meta create mode 100644 popcorn/Assets/StreamingAssets.meta create mode 100644 popcorn/Assets/StreamingAssets/meta-logo.png create mode 100644 popcorn/Assets/StreamingAssets/meta-logo.png.meta create mode 100644 popcorn/Assets/StreamingAssets/meta.mp4 create mode 100644 popcorn/Assets/StreamingAssets/meta.mp4.meta create mode 100644 popcorn/ProjectSettings/CommonBurstAotSettings.json diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.IOSResolver.dll.meta b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.IOSResolver.dll.meta index 396b9664..9f9caf39 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.IOSResolver.dll.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.IOSResolver.dll.meta @@ -1,10 +1,5 @@ fileFormatVersion: 2 -guid: e2b1894e7d784825bf9719c33331fae8 -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.169/Google.IOSResolver.dll -- gvhp_targets-editor +guid: 4d01b5da22bf740419f7cf904f863c88 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.JarResolver.dll.meta b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.JarResolver.dll.meta index 05bf9c0f..3d0492a3 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.JarResolver.dll.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.JarResolver.dll.meta @@ -1,10 +1,5 @@ fileFormatVersion: 2 -guid: 2730c87d98d4480884d11cfb29ff72cb -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.169/Google.JarResolver.dll -- gvhp_targets-editor +guid: 3e1d80cf60b5947188119dfcf1e9aae2 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.PackageManagerResolver.dll.meta b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.PackageManagerResolver.dll.meta index 7676ed78..3e140c73 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.PackageManagerResolver.dll.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.PackageManagerResolver.dll.meta @@ -1,10 +1,5 @@ fileFormatVersion: 2 -guid: 3ed19a202c4b4b439183dc00efee3c4a -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.169/Google.PackageManagerResolver.dll -- gvhp_targets-editor +guid: a4b397990769946c3b73ac643e15e189 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.VersionHandlerImpl.dll.meta b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.VersionHandlerImpl.dll.meta index d26a581e..6ee3de14 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.VersionHandlerImpl.dll.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/1.2.169/Google.VersionHandlerImpl.dll.meta @@ -1,10 +1,5 @@ fileFormatVersion: 2 -guid: 14338063180a4626be53643cb2ab5d69 -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/1.2.169/Google.VersionHandlerImpl.dll -- gvhp_targets-editor +guid: a826d5455f4604037864273b93746fce PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta b/popcorn/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta index 77a0dd33..9f286231 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/CHANGELOG.md.meta @@ -1,12 +1,7 @@ fileFormatVersion: 2 -guid: deafbeef1ed04f639e3195087b6d2e9f -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/CHANGELOG.md -timeCreated: 1584567712 -licenseType: Pro +guid: ac2ff8bd2583f4fdbaddf2a9c901c2c3 TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta b/popcorn/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta index 80fa4f72..6392d897 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.meta @@ -1,21 +1,18 @@ fileFormatVersion: 2 -guid: 17e39196248d458daa69b514bc09b6a7 -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/Google.VersionHandler.dll -- gvhp_targets-editor -timeCreated: 1480838400 +guid: ab2b1141e0f774e158bb2c339ddac47c PluginImporter: externalObjects: {} serializedVersion: 2 iconMap: {} executionOrder: {} + defineConstraints: [] isPreloaded: 0 isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 platformData: - first: - Any: + Any: second: enabled: 0 settings: {} @@ -31,6 +28,6 @@ PluginImporter: enabled: 0 settings: CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/LICENSE.meta b/popcorn/Assets/ExternalDependencyManager/Editor/LICENSE.meta index 6207f9d2..533a3260 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/LICENSE.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/LICENSE.meta @@ -1,12 +1,7 @@ fileFormatVersion: 2 -guid: 61e923e8fff245a9bf5cfcf0774e75df -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/LICENSE -timeCreated: 1584567712 -licenseType: Pro -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: +guid: d494e38ef8a3342e8802f7bd4d81a1e2 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/README.md.meta b/popcorn/Assets/ExternalDependencyManager/Editor/README.md.meta index 0a934fb0..eb5ab7ed 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/README.md.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/README.md.meta @@ -1,12 +1,7 @@ fileFormatVersion: 2 -guid: 57b5c3f72b65480eba2cc96380835972 -labels: -- gvh -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/README.md -timeCreated: 1584567712 -licenseType: Pro +guid: 4d14ac73521fe481c977b33f0f1896f2 TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.169_manifest.txt.meta b/popcorn/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.169_manifest.txt.meta index aa22ac82..cb7dd4a4 100644 --- a/popcorn/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.169_manifest.txt.meta +++ b/popcorn/Assets/ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.169_manifest.txt.meta @@ -1,15 +1,7 @@ fileFormatVersion: 2 -guid: f0ebd68c0b4541ada7e16bfce4ef4155 -labels: -- gvh -- gvh_manifest -- gvh_version-1.2.169 -- gvhp_exportpath-ExternalDependencyManager/Editor/external-dependency-manager_version-1.2.169_manifest.txt -- gvhp_manifestname-0External Dependency Manager -- gvhp_manifestname-play-services-resolver -timeCreated: 1474401009 -licenseType: Pro +guid: 68c6b2d7ff17e4d8a8062ad9f14d389b TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK.meta b/popcorn/Assets/FacebookSDK.meta new file mode 100644 index 00000000..d2200942 --- /dev/null +++ b/popcorn/Assets/FacebookSDK.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 70ee7d8db6d4a4a4c8c7271d8aa15ad6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples.meta b/popcorn/Assets/FacebookSDK/Examples.meta new file mode 100644 index 00000000..cdfd01ec --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea811254d1ed24267bf0010ca4f893ea +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity b/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity new file mode 100644 index 00000000..1497596e --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: AccessTokenMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4cc408e158eec46b28b93a44fc8819ff, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity.meta b/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity.meta new file mode 100644 index 00000000..21090fd4 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AccessTokenMenu.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 67cb5b2387b8e4ec9b2fa69ad9510e9b +timeCreated: 1447720184 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity b/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity new file mode 100644 index 00000000..1b11accf --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: AppEvents + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e3c0dd81ff77c4c30834810815c69f6d, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity.meta b/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity.meta new file mode 100644 index 00000000..1f97042f --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppEvents.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 68ab940fa15e34433bff18301686b080 +timeCreated: 1434663633 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity b/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity new file mode 100644 index 00000000..909e8517 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: AppLinks + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9f0b7257fa054227be6e26bf1f6b339, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity.meta b/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity.meta new file mode 100644 index 00000000..327030ab --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppLinks.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4ac12dfde6570493291366d0ab3eb20d +timeCreated: 1434663633 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity b/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity new file mode 100644 index 00000000..be864f04 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: AppRequests + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3b4c675f81a254b87adc8ad01006c580, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity.meta b/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity.meta new file mode 100644 index 00000000..e7f8fcf5 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/AppRequests.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c2250c9c5cf00425384401321f8dffb4 +timeCreated: 1434135388 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity b/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity new file mode 100644 index 00000000..f7242035 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: DialogShare + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e93c4155902d3496399630ee494eab6b, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity.meta b/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity.meta new file mode 100644 index 00000000..1942f703 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/DialogShare.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 190c345841ecc464e9a122f04369757e +timeCreated: 1434132966 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity b/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity new file mode 100644 index 00000000..13a30c92 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: GraphRequest + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 23c3cb06c2209474e9a8441e2712d5d2, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity.meta b/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity.meta new file mode 100644 index 00000000..c5546169 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/GraphRequest.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 444ae7ddf432b457a97bfe42021075e3 +timeCreated: 1434488369 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/LogView.unity b/popcorn/Assets/FacebookSDK/Examples/LogView.unity new file mode 100644 index 00000000..713675ed --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/LogView.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1} + m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1} + m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 0 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666672 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &17281797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 17281802} + - 20: {fileID: 17281801} + - 92: {fileID: 17281800} + - 124: {fileID: 17281799} + - 81: {fileID: 17281798} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &17281798 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!124 &17281799 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!92 &17281800 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 +--- !u!20 &17281801 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &17281802 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 17281797} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1482271768 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1482271770} + - 114: {fileID: 1482271769} + m_Layer: 0 + m_Name: LogView + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1482271769 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 910cbe16250cb4363b70464c39fc701a, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1482271770 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1482271768} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 diff --git a/popcorn/Assets/FacebookSDK/Examples/LogView.unity.meta b/popcorn/Assets/FacebookSDK/Examples/LogView.unity.meta new file mode 100644 index 00000000..ac61c4ce --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/LogView.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c07ff0bf6bea74c2eb681ac0cae44265 +timeCreated: 1434143106 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity b/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity new file mode 100644 index 00000000..492be095 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 1 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 1 + m_BakeResolution: 50 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666657 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &787078726 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 787078731} + - 20: {fileID: 787078730} + - 92: {fileID: 787078729} + - 124: {fileID: 787078728} + - 81: {fileID: 787078727} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &787078727 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!124 &787078728 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!92 &787078729 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!20 &787078730 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 100 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &787078731 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1988862590 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1988862591} + - 114: {fileID: 1988862593} + m_Layer: 0 + m_Name: MainMenu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1988862591 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1988862590} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 +--- !u!114 &1988862593 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1988862590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 922e3ad8d88a146b3b392cd8c84edd6a, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity.meta b/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity.meta new file mode 100644 index 00000000..083e17b0 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/MainMenu.unity.meta @@ -0,0 +1,6 @@ +fileFormatVersion: 2 +guid: 7c38a8c9adc9d5c4b869612e4033ead8 +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Pay.unity b/popcorn/Assets/FacebookSDK/Examples/Pay.unity new file mode 100644 index 00000000..72481a14 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Pay.unity @@ -0,0 +1,212 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +SceneSettings: + m_ObjectHideFlags: 0 + m_PVSData: + m_PVSObjectsArray: [] + m_PVSPortalsArray: [] + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: .25 + backfaceThreshold: 100 +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 6 + m_Fog: 0 + m_FogColor: {r: .5, g: .5, b: .5, a: 1} + m_FogMode: 3 + m_FogDensity: .00999999978 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: .5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_GIWorkflowMode: 1 + m_LightmapsMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 3 + m_Resolution: 1 + m_BakeResolution: 50 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AOMaxDistance: 1 + m_Padding: 2 + m_CompAOExponent: 0 + m_LightmapParameters: {fileID: 0} + m_TextureCompression: 0 + m_FinalGather: 0 + m_FinalGatherRayCount: 1024 + m_ReflectionCompression: 2 + m_LightmapSnapshot: {fileID: 0} + m_RuntimeCPUUsage: 25 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentRadius: .5 + agentHeight: 2 + agentSlope: 45 + agentClimb: .400000006 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + accuratePlacement: 0 + minRegionArea: 2 + cellSize: .166666657 + manualCellSize: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &787078726 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 787078731} + - 20: {fileID: 787078730} + - 92: {fileID: 787078729} + - 124: {fileID: 787078728} + - 81: {fileID: 787078727} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &787078727 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!124 &787078728 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!92 &787078729 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 +--- !u!20 &787078730 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: .23137255, g: .349019617, b: .596078455, a: 1} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: .300000012 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 100 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: .0219999999 + m_StereoMirrorMode: 0 +--- !u!4 &787078731 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 787078726} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 +--- !u!1 &1988862590 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 4 + m_Component: + - 4: {fileID: 1988862591} + - 114: {fileID: 1988862593} + m_Layer: 0 + m_Name: Pay + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1988862591 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1988862590} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -6.42004156, y: -8.74592876, z: -1.64325905} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 +--- !u!114 &1988862593 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1988862590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7f08c9721703046ec883e57562184726, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/popcorn/Assets/FacebookSDK/Examples/Pay.unity.meta b/popcorn/Assets/FacebookSDK/Examples/Pay.unity.meta new file mode 100644 index 00000000..5a726037 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Pay.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3ee189cdb21ea4bdb9d7022a0780c44c +timeCreated: 1441927990 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts.meta new file mode 100644 index 00000000..f5ed6521 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 81ac4cc7a765b43d2b1d3020204152a0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs new file mode 100644 index 00000000..8a4189be --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs @@ -0,0 +1,263 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System; + using System.Collections.Generic; + using System.Linq; + using UnityEngine; + using UnityEngine.SceneManagement; + + internal class ConsoleBase : MonoBehaviour + { + private const int DpiScalingFactor = 160; + private static Stack menuStack = new Stack(); + private string status = "Ready"; + private string lastResponse = string.Empty; + private Vector2 scrollPosition = Vector2.zero; + + // DPI scaling + private float? scaleFactor; + private GUIStyle textStyle; + private GUIStyle buttonStyle; + private GUIStyle textInputStyle; + private GUIStyle labelStyle; + + protected static int ButtonHeight + { + get + { + return Constants.IsMobile ? 60 : 24; + } + } + + protected static int MainWindowWidth + { + get + { + return Constants.IsMobile ? Screen.width - 30 : 700; + } + } + + protected static int MainWindowFullWidth + { + get + { + return Constants.IsMobile ? Screen.width : 760; + } + } + + protected static int MarginFix + { + get + { + return Constants.IsMobile ? 0 : 48; + } + } + + protected static Stack MenuStack + { + get + { + return ConsoleBase.menuStack; + } + + set + { + ConsoleBase.menuStack = value; + } + } + + protected string Status + { + get + { + return this.status; + } + + set + { + this.status = value; + } + } + + protected Texture2D LastResponseTexture { get; set; } + + protected string LastResponse + { + get + { + return this.lastResponse; + } + + set + { + this.lastResponse = value; + } + } + + protected Vector2 ScrollPosition + { + get + { + return this.scrollPosition; + } + + set + { + this.scrollPosition = value; + } + } + + // Note we assume that these styles will be accessed from OnGUI otherwise the + // unity APIs will fail. + protected float ScaleFactor + { + get + { + if (!this.scaleFactor.HasValue) + { + this.scaleFactor = Screen.dpi / ConsoleBase.DpiScalingFactor; + } + + return this.scaleFactor.Value; + } + } + + protected int FontSize + { + get + { + return (int)Math.Round(this.ScaleFactor * 16); + } + } + + protected GUIStyle TextStyle + { + get + { + if (this.textStyle == null) + { + this.textStyle = new GUIStyle(GUI.skin.textArea); + this.textStyle.alignment = TextAnchor.UpperLeft; + this.textStyle.wordWrap = true; + this.textStyle.padding = new RectOffset(10, 10, 10, 10); + this.textStyle.stretchHeight = true; + this.textStyle.stretchWidth = false; + this.textStyle.fontSize = this.FontSize; + } + + return this.textStyle; + } + } + + protected GUIStyle ButtonStyle + { + get + { + if (this.buttonStyle == null) + { + this.buttonStyle = new GUIStyle(GUI.skin.button); + this.buttonStyle.fontSize = this.FontSize; + } + + return this.buttonStyle; + } + } + + protected GUIStyle TextInputStyle + { + get + { + if (this.textInputStyle == null) + { + this.textInputStyle = new GUIStyle(GUI.skin.textField); + this.textInputStyle.fontSize = this.FontSize; + } + + return this.textInputStyle; + } + } + + protected GUIStyle LabelStyle + { + get + { + if (this.labelStyle == null) + { + this.labelStyle = new GUIStyle(GUI.skin.label); + this.labelStyle.fontSize = this.FontSize; + } + + return this.labelStyle; + } + } + + protected virtual void Awake() + { + // Limit the framerate to 60 to keep device from burning through cpu + Application.targetFrameRate = 60; + } + + protected bool Button(string label) + { + return GUILayout.Button( + label, + this.ButtonStyle, + GUILayout.MinHeight(ConsoleBase.ButtonHeight * this.ScaleFactor), + GUILayout.MaxWidth(ConsoleBase.MainWindowWidth)); + } + + protected void LabelAndTextField(string label, ref string text) + { + GUILayout.BeginHorizontal(); + GUILayout.Label(label, this.LabelStyle, GUILayout.MaxWidth(200 * this.ScaleFactor)); + text = GUILayout.TextField( + text, + this.TextInputStyle, + GUILayout.MaxWidth(ConsoleBase.MainWindowWidth - 150)); + GUILayout.EndHorizontal(); + } + + protected bool IsHorizontalLayout() + { + #if UNITY_IOS || UNITY_ANDROID + return Screen.orientation == ScreenOrientation.LandscapeLeft; + #else + return true; + #endif + } + + protected void SwitchMenu(Type menuClass) + { + ConsoleBase.menuStack.Push(this.GetType().Name); + SceneManager.LoadScene(menuClass.Name); + } + + protected void GoBack() + { + if (ConsoleBase.menuStack.Any()) + { + SceneManager.LoadScene(ConsoleBase.menuStack.Pop()); + } + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs.meta new file mode 100644 index 00000000..d499af3d --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/ConsoleBase.cs.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e8659f5605d094c19a8b7ef9471c3603 +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs new file mode 100644 index 00000000..0a579879 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs @@ -0,0 +1,71 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System; + using System.Collections.Generic; + using System.Linq; + + using UnityEngine; + + internal class LogView : ConsoleBase + { + private static string datePatt = @"M/d/yyyy hh:mm:ss tt"; + private static IList events = new List(); + + public static void AddLog(string log) + { + events.Insert(0, string.Format("{0}\n{1}\n", DateTime.Now.ToString(datePatt), log)); + } + + protected void OnGUI() + { + GUILayout.BeginVertical(); + GUILayout.Space(Screen.safeArea.yMin + 10); + if (this.Button("Back")) + { + this.GoBack(); + } + + #if UNITY_IOS || UNITY_ANDROID || UNITY_WP8 + if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Moved) + { + Vector2 scrollPosition = this.ScrollPosition; + scrollPosition.y += Input.GetTouch(0).deltaPosition.y; + this.ScrollPosition = scrollPosition; + } + #endif + this.ScrollPosition = GUILayout.BeginScrollView( + this.ScrollPosition, + GUILayout.MinWidth(ConsoleBase.MainWindowFullWidth)); + + GUILayout.TextArea( + string.Join("\n", events.ToArray()), + this.TextStyle, + GUILayout.ExpandHeight(true), + GUILayout.MaxWidth(ConsoleBase.MainWindowWidth)); + + GUILayout.EndScrollView(); + + GUILayout.EndVertical(); + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs.meta new file mode 100644 index 00000000..4d9123fb --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/LogView.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 910cbe16250cb4363b70464c39fc701a +timeCreated: 1434143113 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs new file mode 100644 index 00000000..6ee425b6 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs @@ -0,0 +1,238 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System; + using System.Linq; + using UnityEngine; + + internal abstract class MenuBase : ConsoleBase + { + private static ShareDialogMode shareDialogMode; + + protected abstract void GetGui(); + + protected virtual bool ShowDialogModeSelector() + { + return false; + } + + protected virtual bool ShowBackButton() + { + return true; + } + + protected void HandleResult(IResult result) + { + if (result == null) + { + this.LastResponse = "Null Response\n"; + LogView.AddLog(this.LastResponse); + return; + } + + this.LastResponseTexture = null; + + // Some platforms return the empty string instead of null. + if (!string.IsNullOrEmpty(result.Error)) + { + this.Status = "Error - Check log for details"; + this.LastResponse = "Error Response:\n" + result.Error; + } + else if (result.Cancelled) + { + this.Status = "Cancelled - Check log for details"; + this.LastResponse = "Cancelled Response:\n" + result.RawResult; + } + else if (!string.IsNullOrEmpty(result.RawResult)) + { + this.Status = "Success - Check log for details"; + this.LastResponse = "Success Response:\n" + result.RawResult; + } + else + { + this.LastResponse = "Empty Response\n"; + } + + LogView.AddLog(result.ToString()); + } + + protected void HandleLimitedLoginResult(IResult result) + { + if (result == null) + { + this.LastResponse = "Null Response\n"; + LogView.AddLog(this.LastResponse); + return; + } + + this.LastResponseTexture = null; + + // Some platforms return the empty string instead of null. + if (!string.IsNullOrEmpty(result.Error)) + { + this.Status = "Error - Check log for details"; + this.LastResponse = "Error Response:\n" + result.Error; + } + else if (result.Cancelled) + { + this.Status = "Cancelled - Check log for details"; + this.LastResponse = "Cancelled Response:\n" + result.RawResult; + } + else if (!string.IsNullOrEmpty(result.RawResult)) + { + this.Status = "Success - Check log for details"; + this.LastResponse = "Success Response:\n" + result.RawResult; + } + else + { + this.LastResponse = "Empty Response\n"; + } + + String resultSummary = "Limited login results\n\n"; + var profile = FB.Mobile.CurrentProfile(); + resultSummary += "name: " + profile.Name + "\n"; + resultSummary += "id: " + profile.UserID + "\n"; + resultSummary += "email: " + profile.Email + "\n"; + resultSummary += "pic URL: " + profile.ImageURL + "\n"; + resultSummary += "birthday: " + profile.Birthday + "\n"; + resultSummary += "age range: " + profile.AgeRange + "\n"; + resultSummary += "first name: " + profile.FirstName + "\n"; + resultSummary += "middle name: " + profile.MiddleName + "\n"; + resultSummary += "last name: " + profile.LastName + "\n"; + resultSummary += "friends: " + String.Join(",", profile.FriendIDs) + "\n"; + + if (profile.Hometown!=null){ + resultSummary += "hometown: " + profile.Hometown.Name + "\n"; + } + if (profile.Location!=null){ + resultSummary += "location: " + profile.Location.Name + "\n"; + } + + resultSummary += "gender: " + profile.Gender + "\n"; + + LogView.AddLog(resultSummary); + } + + protected void OnGUI() + { + if (this.IsHorizontalLayout()) + { + GUILayout.BeginHorizontal(); + GUILayout.BeginVertical(); + } + + GUILayout.Space(Screen.safeArea.yMin + 10); + GUILayout.Label(this.GetType().Name, this.LabelStyle); + + this.AddStatus(); + + #if UNITY_IOS || UNITY_ANDROID || UNITY_WP8 + if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Moved) + { + Vector2 scrollPosition = this.ScrollPosition; + scrollPosition.y += Input.GetTouch(0).deltaPosition.y; + this.ScrollPosition = scrollPosition; + } + #endif + this.ScrollPosition = GUILayout.BeginScrollView( + this.ScrollPosition, + GUILayout.MinWidth(ConsoleBase.MainWindowFullWidth)); + + GUILayout.BeginHorizontal(); + if (this.ShowBackButton()) + { + this.AddBackButton(); + } + + this.AddLogButton(); + if (this.ShowBackButton()) + { + // Fix GUILayout margin issues + GUILayout.Label(GUIContent.none, GUILayout.MinWidth(ConsoleBase.MarginFix)); + } + + GUILayout.EndHorizontal(); + if (this.ShowDialogModeSelector()) + { + this.AddDialogModeButtons(); + } + + GUILayout.BeginVertical(); + + // Add the ui from decendants + this.GetGui(); + GUILayout.Space(10); + + GUILayout.EndVertical(); + GUILayout.EndScrollView(); + } + + private void AddStatus() + { + GUILayout.Space(5); + GUILayout.Box("Status: " + this.Status, this.TextStyle, GUILayout.MinWidth(ConsoleBase.MainWindowWidth)); + } + + private void AddBackButton() + { + GUI.enabled = ConsoleBase.MenuStack.Any(); + if (this.Button("Back")) + { + this.GoBack(); + } + + GUI.enabled = true; + } + + private void AddLogButton() + { + if (this.Button("Log")) + { + this.SwitchMenu(typeof(LogView)); + } + } + + private void AddDialogModeButtons() + { + GUILayout.BeginHorizontal(); + foreach (var value in Enum.GetValues(typeof(ShareDialogMode))) + { + this.AddDialogModeButton((ShareDialogMode)value); + } + + GUILayout.EndHorizontal(); + } + + private void AddDialogModeButton(ShareDialogMode mode) + { + bool enabled = GUI.enabled; + GUI.enabled = enabled && (mode != shareDialogMode); + if (this.Button(mode.ToString())) + { + shareDialogMode = mode; + FB.Mobile.ShareDialogMode = mode; + } + + GUI.enabled = enabled; + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs.meta new file mode 100644 index 00000000..b0940325 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/MenuBase.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 8f28f9112a7d44d3c999fbd95333abbb +timeCreated: 1465553943 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus.meta new file mode 100644 index 00000000..c5932d9d --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 62787afce42184c318d4d63b3bb40420 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs new file mode 100644 index 00000000..f995a21a --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs @@ -0,0 +1,33 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + internal class AccessTokenMenu : MenuBase + { + protected override void GetGui() + { + if (this.Button("Refresh Access Token")) + { + FB.Mobile.RefreshCurrentAccessToken(this.HandleResult); + } + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs.meta new file mode 100644 index 00000000..926a4794 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AccessTokenMenu.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4cc408e158eec46b28b93a44fc8819ff +timeCreated: 1447720427 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs new file mode 100644 index 00000000..4e6cda97 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs @@ -0,0 +1,45 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System.Collections.Generic; + + internal class AppEvents : MenuBase + { + protected override void GetGui() + { + if (this.Button("Log FB App Event")) + { + this.Status = "Logged FB.AppEvent"; + FB.LogAppEvent( + AppEventName.UnlockedAchievement, + null, + new Dictionary() + { + { AppEventParameterName.Description, "Clicked 'Log AppEvent' button" } + }); + LogView.AddLog( + "You may see results showing up at https://www.facebook.com/analytics/" + + FB.AppId); + } + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs.meta new file mode 100644 index 00000000..dc71cd42 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppEvents.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: e3c0dd81ff77c4c30834810815c69f6d +timeCreated: 1435018470 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs new file mode 100644 index 00000000..935774f2 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs @@ -0,0 +1,38 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + internal class AppLinks : MenuBase + { + protected override void GetGui() + { + if (this.Button("Get App Link")) + { + FB.GetAppLink(this.HandleResult); + } + + if (Constants.IsMobile && this.Button("Fetch Deferred App Link")) + { + FB.Mobile.FetchDeferredAppLinkData(this.HandleResult); + } + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs.meta new file mode 100644 index 00000000..525aa840 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppLinks.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: f9f0b7257fa054227be6e26bf1f6b339 +timeCreated: 1435164891 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs new file mode 100644 index 00000000..90b4b643 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs @@ -0,0 +1,143 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System.Collections.Generic; + using System.Linq; + using UnityEngine; + + internal class AppRequests : MenuBase + { + private string requestMessage = string.Empty; + private string requestTo = string.Empty; + private string requestFilter = string.Empty; + private string requestExcludes = string.Empty; + private string requestMax = string.Empty; + private string requestData = string.Empty; + private string requestTitle = string.Empty; + private string requestObjectID = string.Empty; + private int selectedAction = 0; + private string[] actionTypeStrings = + { + "NONE", + OGActionType.SEND.ToString(), + OGActionType.ASKFOR.ToString(), + OGActionType.TURN.ToString() + }; + + protected override void GetGui() + { + if (this.Button("Select - Filter None")) + { + FB.AppRequest("Test Message", callback: this.HandleResult); + } + + if (this.Button("Select - Filter app_users")) + { + List filter = new List() { "app_users" }; + + // workaround for mono failing with named parameters + FB.AppRequest("Test Message", null, filter, null, 0, string.Empty, string.Empty, this.HandleResult); + } + + if (this.Button("Select - Filter app_non_users")) + { + List filter = new List() { "app_non_users" }; + FB.AppRequest("Test Message", null, filter, null, 0, string.Empty, string.Empty, this.HandleResult); + } + + // Custom options + this.LabelAndTextField("Message: ", ref this.requestMessage); + this.LabelAndTextField("To (optional): ", ref this.requestTo); + this.LabelAndTextField("Filter (optional): ", ref this.requestFilter); + this.LabelAndTextField("Exclude Ids (optional): ", ref this.requestExcludes); + this.LabelAndTextField("Filters: ", ref this.requestExcludes); + this.LabelAndTextField("Max Recipients (optional): ", ref this.requestMax); + this.LabelAndTextField("Data (optional): ", ref this.requestData); + this.LabelAndTextField("Title (optional): ", ref this.requestTitle); + + GUILayout.BeginHorizontal(); + GUILayout.Label( + "Request Action (optional): ", + this.LabelStyle, + GUILayout.MaxWidth(200 * this.ScaleFactor)); + + this.selectedAction = GUILayout.Toolbar( + this.selectedAction, + this.actionTypeStrings, + this.ButtonStyle, + GUILayout.MinHeight(ConsoleBase.ButtonHeight * this.ScaleFactor), + GUILayout.MaxWidth(ConsoleBase.MainWindowWidth - 150)); + + GUILayout.EndHorizontal(); + this.LabelAndTextField("Request Object ID (optional): ", ref this.requestObjectID); + + if (this.Button("Custom App Request")) + { + OGActionType? action = this.GetSelectedOGActionType(); + if (action != null) + { + FB.AppRequest( + this.requestMessage, + action.Value, + this.requestObjectID, + string.IsNullOrEmpty(this.requestTo) ? null : this.requestTo.Split(','), + this.requestData, + this.requestTitle, + this.HandleResult); + } + else + { + FB.AppRequest( + this.requestMessage, + string.IsNullOrEmpty(this.requestTo) ? null : this.requestTo.Split(','), + string.IsNullOrEmpty(this.requestFilter) ? null : this.requestFilter.Split(',').OfType().ToList(), + string.IsNullOrEmpty(this.requestExcludes) ? null : this.requestExcludes.Split(','), + string.IsNullOrEmpty(this.requestMax) ? 0 : int.Parse(this.requestMax), + this.requestData, + this.requestTitle, + this.HandleResult); + } + } + } + + private OGActionType? GetSelectedOGActionType() + { + string actionString = this.actionTypeStrings[this.selectedAction]; + if (actionString == OGActionType.SEND.ToString()) + { + return OGActionType.SEND; + } + else if (actionString == OGActionType.ASKFOR.ToString()) + { + return OGActionType.ASKFOR; + } + else if (actionString == OGActionType.TURN.ToString()) + { + return OGActionType.TURN; + } + else + { + return null; + } + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs.meta new file mode 100644 index 00000000..9cd81474 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/AppRequests.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 3b4c675f81a254b87adc8ad01006c580 +timeCreated: 1435018470 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs new file mode 100644 index 00000000..ec7069cd --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs @@ -0,0 +1,125 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using UnityEngine; + + internal class DialogShare : MenuBase + { + // Custom Share Link + private string shareLink = "https://developers.facebook.com/"; + private string shareTitle = "Link Title"; + private string shareDescription = "Link Description"; + private string shareImage = "http://i.imgur.com/j4M7vCO.jpg"; + + // Custom Feed Share + private string feedTo = string.Empty; + private string feedLink = "https://developers.facebook.com/"; + private string feedTitle = "Test Title"; + private string feedCaption = "Test Caption"; + private string feedDescription = "Test Description"; + private string feedImage = "http://i.imgur.com/zkYlB.jpg"; + private string feedMediaSource = string.Empty; + + protected override bool ShowDialogModeSelector() + { + #if !UNITY_EDITOR && (UNITY_IOS || UNITY_ANDROID) + return true; + #else + return false; + #endif + } + + protected override void GetGui() + { + bool enabled = GUI.enabled; + if (this.Button("Share - Link")) + { + FB.ShareLink(new Uri("https://developers.facebook.com/"), callback: this.HandleResult); + } + + // Note: Web dialog doesn't support photo urls. + if (this.Button("Share - Link Photo")) + { + FB.ShareLink( + new Uri("https://developers.facebook.com/"), + "Link Share", + "Look I'm sharing a link", + new Uri("http://i.imgur.com/j4M7vCO.jpg"), + callback: this.HandleResult); + } + + this.LabelAndTextField("Link", ref this.shareLink); + this.LabelAndTextField("Title", ref this.shareTitle); + this.LabelAndTextField("Description", ref this.shareDescription); + this.LabelAndTextField("Image", ref this.shareImage); + if (this.Button("Share - Custom")) + { + FB.ShareLink( + new Uri(this.shareLink), + this.shareTitle, + this.shareDescription, + new Uri(this.shareImage), + this.HandleResult); + } + + GUI.enabled = enabled && (!Constants.IsEditor || (Constants.IsEditor && FB.IsLoggedIn)); + if (this.Button("Feed Share - No To")) + { + FB.FeedShare( + string.Empty, + new Uri("https://developers.facebook.com/"), + "Test Title", + "Test caption", + "Test Description", + new Uri("http://i.imgur.com/zkYlB.jpg"), + string.Empty, + this.HandleResult); + } + + this.LabelAndTextField("To", ref this.feedTo); + this.LabelAndTextField("Link", ref this.feedLink); + this.LabelAndTextField("Title", ref this.feedTitle); + this.LabelAndTextField("Caption", ref this.feedCaption); + this.LabelAndTextField("Description", ref this.feedDescription); + this.LabelAndTextField("Image", ref this.feedImage); + this.LabelAndTextField("Media Source", ref this.feedMediaSource); + if (this.Button("Feed Share - Custom")) + { + FB.FeedShare( + this.feedTo, + string.IsNullOrEmpty(this.feedLink) ? null : new Uri(this.feedLink), + this.feedTitle, + this.feedCaption, + this.feedDescription, + string.IsNullOrEmpty(this.feedImage) ? null : new Uri(this.feedImage), + this.feedMediaSource, + this.HandleResult); + } + + GUI.enabled = enabled; + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs.meta new file mode 100644 index 00000000..bb1c7836 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/DialogShare.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: e93c4155902d3496399630ee494eab6b +timeCreated: 1435018470 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs new file mode 100644 index 00000000..b84b8a13 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs @@ -0,0 +1,93 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System.Collections; + using UnityEngine; + + internal class GraphRequest : MenuBase + { + private string apiQuery = string.Empty; + private Texture2D profilePic; + + protected override void GetGui() + { + bool enabled = GUI.enabled; + GUI.enabled = enabled && FB.IsLoggedIn; + if (this.Button("Basic Request - Me")) + { + FB.API("/me", HttpMethod.GET, this.HandleResult); + } + + if (this.Button("Retrieve Profile Photo")) + { + FB.API("/me/picture", HttpMethod.GET, this.ProfilePhotoCallback); + } + + if (this.Button("Take and Upload screenshot")) + { + this.StartCoroutine(this.TakeScreenshot()); + } + + this.LabelAndTextField("Request", ref this.apiQuery); + if (this.Button("Custom Request")) + { + FB.API(this.apiQuery, HttpMethod.GET, this.HandleResult); + } + + if (this.profilePic != null) + { + GUILayout.Box(this.profilePic); + } + + GUI.enabled = enabled; + } + + private void ProfilePhotoCallback(IGraphResult result) + { + if (string.IsNullOrEmpty(result.Error) && result.Texture != null) + { + this.profilePic = result.Texture; + } + + this.HandleResult(result); + } + + private IEnumerator TakeScreenshot() + { + yield return new WaitForEndOfFrame(); + + var width = Screen.width; + var height = Screen.height; + var tex = new Texture2D(width, height, TextureFormat.RGB24, false); + + // Read screen contents into the texture + tex.ReadPixels(new Rect(0, 0, width, height), 0, 0); + tex.Apply(); + byte[] screenshot = tex.EncodeToPNG(); + + var wwwForm = new WWWForm(); + wwwForm.AddBinaryData("image", screenshot, "InteractiveConsole.png"); + wwwForm.AddField("message", "herp derp. I did a thing! Did I do this right?"); + FB.API("me/photos", HttpMethod.POST, this.HandleResult, wwwForm); + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs.meta new file mode 100644 index 00000000..3cc8f3f8 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/GraphRequest.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 23c3cb06c2209474e9a8441e2712d5d2 +timeCreated: 1435018470 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs new file mode 100644 index 00000000..4fe607e0 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs @@ -0,0 +1,283 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System.Collections.Generic; + using System.Linq; + using UnityEngine; + + + + internal sealed class MainMenu : MenuBase + { + + enum Scope { + PublicProfile = 1, + UserFriends = 2, + UserBirthday = 3, + UserAgeRange = 4, + PublishActions = 5, + UserLocation = 6, + UserHometown = 7, + UserGender = 8, + }; + + protected override bool ShowBackButton() + { + return false; + } + + protected override void GetGui() + { + GUILayout.BeginVertical(); + + + bool enabled = GUI.enabled; + if (this.Button("FB.Init")) + { + FB.Init(this.OnInitComplete, this.OnHideUnity); + this.Status = "FB.Init() called with " + FB.AppId; + } + + GUILayout.BeginHorizontal(); + + GUI.enabled = enabled && FB.IsInitialized; + if (this.Button("Classic login")) + { + this.CallFBLogin(LoginTracking.ENABLED, new HashSet { Scope.PublicProfile }); + this.Status = "Classic login called"; + } + if (this.Button("Get publish_actions")) + { + this.CallFBLoginForPublish(); + this.Status = "Login (for publish_actions) called"; + } + + GUILayout.EndHorizontal(); + GUILayout.BeginHorizontal(); + + if (this.Button("Limited login")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile }); + this.Status = "Limited login called"; + + } + if (this.Button("Limited login +friends")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile, Scope.UserFriends }); + this.Status = "Limited login +friends called"; + + } + + GUILayout.EndHorizontal(); + GUILayout.BeginHorizontal(); + + if (this.Button("Limited Login+bday")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile, Scope.UserBirthday }); + this.Status = "Limited login +bday called"; + } + + if (this.Button("Limited Login+agerange")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile, Scope.UserAgeRange }); + this.Status = "Limited login +agerange called"; + } + + GUILayout.EndHorizontal(); + GUILayout.BeginHorizontal(); + + if (this.Button("Limited Login + location")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile, Scope.UserLocation }); + } + + if (this.Button("Limited Login + Hometown")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile | Scope.UserHometown }); + } + + GUILayout.EndHorizontal(); + GUILayout.BeginHorizontal(); + + if (this.Button("Limited Login + Gender")) + { + this.CallFBLogin(LoginTracking.LIMITED, new HashSet { Scope.PublicProfile | Scope.UserGender }); + } + + + GUI.enabled = FB.IsLoggedIn; + + + // Fix GUILayout margin issues + GUILayout.Label(GUIContent.none, GUILayout.MinWidth(ConsoleBase.MarginFix)); + GUILayout.EndHorizontal(); + + + GUILayout.BeginHorizontal(); + + // Fix GUILayout margin issues + GUILayout.Label(GUIContent.none, GUILayout.MinWidth(ConsoleBase.MarginFix)); + GUILayout.EndHorizontal(); + + #if !UNITY_WEBGL + if (this.Button("Logout")) + { + CallFBLogout(); + this.Status = "Logout called"; + } + #endif + + GUI.enabled = enabled && FB.IsInitialized; + if (this.Button("Share Dialog")) + { + this.SwitchMenu(typeof(DialogShare)); + } + + if (this.Button("App Requests")) + { + this.SwitchMenu(typeof(AppRequests)); + } + + if (this.Button("Graph Request")) + { + this.SwitchMenu(typeof(GraphRequest)); + } + + if (Constants.IsWeb && this.Button("Pay")) + { + this.SwitchMenu(typeof(Pay)); + } + + if (this.Button("App Events")) + { + this.SwitchMenu(typeof(AppEvents)); + } + + if (this.Button("App Links")) + { + this.SwitchMenu(typeof(AppLinks)); + } + + if (this.Button("Tournaments")) + { + this.SwitchMenu(typeof(TournamentsMenu)); + } + + if (Constants.IsMobile && this.Button("Access Token")) + { + this.SwitchMenu(typeof(AccessTokenMenu)); + } + + GUILayout.EndVertical(); + + GUI.enabled = enabled; + } + + private void CallFBLogin(LoginTracking mode, HashSet scope) + { + List scopes = new List(); + + if(scope.Contains(Scope.PublicProfile)) { + scopes.Add("public_profile"); + } + if(scope.Contains(Scope.UserFriends)) + { + scopes.Add("user_friends"); + } + if(scope.Contains(Scope.UserBirthday)) + { + scopes.Add("user_birthday"); + } + if(scope.Contains(Scope.UserAgeRange)) + { + scopes.Add("user_age_range"); + } + + if(scope.Contains(Scope.UserLocation)) + { + scopes.Add("user_location"); + } + + if(scope.Contains(Scope.UserHometown)) + { + scopes.Add("user_hometown"); + } + + if(scope.Contains(Scope.UserGender)) + { + scopes.Add("user_gender"); + } + + + if (mode == LoginTracking.ENABLED) + { + if (Constants.CurrentPlatform == FacebookUnityPlatform.IOS) { + FB.Mobile.LoginWithTrackingPreference(LoginTracking.ENABLED, scopes, "classic_nonce123", this.HandleResult); + } else { + FB.LogInWithReadPermissions(scopes, this.HandleResult); + } + } + else // mode == loginTracking.LIMITED + { + FB.Mobile.LoginWithTrackingPreference(LoginTracking.LIMITED, scopes, "limited_nonce123", this.HandleLimitedLoginResult); + } + + } + + private void CallFBLoginForPublish() + { + // It is generally good behavior to split asking for read and publish + // permissions rather than ask for them all at once. + // + // In your own game, consider postponing this call until the moment + // you actually need it. + FB.LogInWithPublishPermissions(new List() { "publish_actions" }, this.HandleResult); + } + + private void CallFBLogout() + { + FB.LogOut(); + } + + private void OnInitComplete() + { + this.Status = "Success - Check log for details"; + this.LastResponse = "Success Response: OnInitComplete Called\n"; + string logMessage = string.Format( + "OnInitCompleteCalled IsLoggedIn='{0}' IsInitialized='{1}'", + FB.IsLoggedIn, + FB.IsInitialized); + LogView.AddLog(logMessage); + if (AccessToken.CurrentAccessToken != null) + { + LogView.AddLog(AccessToken.CurrentAccessToken.ToString()); + } + } + + private void OnHideUnity(bool isGameShown) + { + this.Status = "Success - Check log for details"; + this.LastResponse = string.Format("Success Response: OnHideUnity Called {0}\n", isGameShown); + LogView.AddLog("Is game shown: " + isGameShown); + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs.meta new file mode 100644 index 00000000..5915994e --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/MainMenu.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 922e3ad8d88a146b3b392cd8c84edd6a +timeCreated: 1465553943 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs new file mode 100644 index 00000000..c620e6f5 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs @@ -0,0 +1,45 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using UnityEngine; + + internal class Pay : MenuBase + { + private string payProduct = string.Empty; + + protected override void GetGui() + { + this.LabelAndTextField("Product: ", ref this.payProduct); + if (this.Button("Call Pay")) + { + this.CallFBPay(); + } + + GUILayout.Space(10); + } + + private void CallFBPay() + { + FB.Canvas.Pay(this.payProduct, callback: this.HandleResult); + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs.meta new file mode 100644 index 00000000..de5ac0a9 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/Pay.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 7f08c9721703046ec883e57562184726 +timeCreated: 1435018470 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs new file mode 100644 index 00000000..5f48ca54 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs @@ -0,0 +1,73 @@ + +/** + * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Developer Principles and Policies + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +namespace Facebook.Unity.Example +{ + using System; + using System.Collections; + using UnityEngine; + + internal class TournamentsMenu : MenuBase + { + private string score = string.Empty; + private string tournamentID = string.Empty; + + protected override void GetGui() + { + bool enabled = GUI.enabled; + GUI.enabled = enabled && FB.IsLoggedIn; + + if (this.Button("Get Tournaments")) + { + FB.Mobile.GetTournaments(this.HandleResult); + } + + GUILayout.Space(24); + this.LabelAndTextField("Score:", ref this.score); + this.LabelAndTextField("TournamentID:", ref this.tournamentID); + if (this.Button("Post Score to Tournament")) + { + FB.Mobile.UpdateTournament(tournamentID, int.Parse(score), this.HandleResult); + } + + if (this.Button("Update Tournament and Share")) + { + FB.Mobile.UpdateAndShareTournament(tournamentID, int.Parse(score), this.HandleResult); + } + + if (this.Button("Create Tournament and Share")) + { + FB.Mobile.CreateAndShareTournament( + int.Parse(score), + "Unity Tournament", + TournamentSortOrder.HigherIsBetter, + TournamentScoreFormat.Numeric, + DateTime.UtcNow.AddHours(2), + "Unity SDK Tournament", + this.HandleResult + ); + + } + + GUI.enabled = enabled; + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs.meta new file mode 100644 index 00000000..6b3be454 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Scripts/SubMenus/TournamentsMenu.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4ad38019c04d54713a79b19e9b246a0c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Textures.meta b/popcorn/Assets/FacebookSDK/Examples/Textures.meta new file mode 100644 index 00000000..7088934e --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Textures.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 959df250be4394f88b58738d1a9072b6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Textures/White.psd b/popcorn/Assets/FacebookSDK/Examples/Textures/White.psd new file mode 100644 index 0000000000000000000000000000000000000000..4cc7f9c8cfe9e3de4429c16afd6c32e423b297ef GIT binary patch literal 23542 zcmeHP33wAl`=8z1X?mn-OMwF0o2yOIHa$Y`^n`|%wv0Gelwf1OAY=%^!YzNPqxp_zSq1n`+MKnot>wd z%)+V~fC0zBfER)~xd74d7@eG1SgvHoQ%nd|dKHu|4hae>vh!NaDs>ZSBkD=5&X^PP z)0^+c5IRjx%m|rMqBJYWMqSw?3t2O1XsvoulR8Tilb6fSZk4wh%m&h?B3cc4qgCFT z6Qk0Y>Pb1IkysoTErUR_k;Yz}fcF^x8xSuPg0w6r9*q$ZmzTCp@M zD+{?vNlAhhN!E!*o2oU*XpMC^arr4Ct!j(TY}1*H1oEq@H`#4DF)^qi_u;%RgW27X z(V9%%W3t+05Vxw#VrjBO?Dh;RW_((H;%w%B9(clR1bS*dh)yvrmq z7{pyApVd~}4D-^N=Uvvc)=o5&;%d@rvRl+-aWllhlkCovR4V1=MypL_RFmaJxv)FQ zI-N#dB*{oiD=x`Y$Wo-~nNm1((iDa15?Mx(Oj;nzDxxy0bJfl{0d++twH-n4bgO}G z(-rBNMVX4U!VKSTy{g{fw$h@5k0O=c%LeuO|Kh$27k4yMrnAC&(`lPVx2w)|K&3e#|*Ob9NzUcL!0yeZJ(y@FUhVy*WBtm*9_b$xx%D3 zS(GLXnVXs|?n>;Lcx8Lk5KpNtSxM@v?LJ>H6j! zQn=ItS9!$lWu7}`ec(6oNIXn^=;{c!olho<$z zMFYe)>xauXJ~XW#E*c=dSwCF9@u6w`aM1wq&HCZ;jSo%hhl>V?Z`Kc&Z+vK4KU_3G ze6xPIeB(pY`r)Dh;+yru;i3WJoAtxx8y}k14;Kv(->e@l-}un9ez<6W_-6fZ`NoH)^}|I2#5e1Q%QrqW ztsgELAii0jaPd7GCy++CTS5!m7J=GVK~8P7umF~5-v!4W4FP5g{LO!*-DbAippb=3 z6naYyX|x+$G`hn7-&de(xzR?tbcjYWXiwQH&4v1UxVZrG98CGG(X}G;LY)oCk*%XW z(lS(KAZv?9)t&ZE9=LrVfzjMUC2<|TU2WZLSwSm z=bPG452>TnV!T6EsK3*$(4wgwZnTxeR_jqD+()5aLv$stw(4z^ysA~7U+p&MHo5erbIt+Kj;hG=9AuT(%Q$OeZSTC=rqQ;4pbtx@Y8@+yluf0UzH6g|cd z6deM};1vV7>q*Rl)+JG9}TmZwTKN z0)SJt*C?wpAZ}=Y8a*u8lmv51RxMfTmZVV5M#Iu&Bcmiq9tq|1CgcGy1JKds!MKRj zU8*|nMMq)5MZR5Q0nY~jole|(BMKng9Al>kq8NFwaNG}K0U(?w3yc7bKnH994OnO5 zLdtV^%Lph&XQ#v4z@_jEQ(&~~(fG#U$%cED7&TVfC{f#_P)BtbrIy}g)VkcD6!hi` zZ6<@0Cy-6Gw$Y_WJlhKQ%OI_F`U;fDSf_Saln#o~6M{oAQ=xiV5rH6u;$rJ zX86*wlCH!+I=&tz(j8Jky~zd>>JE7T40|KpoEmq1kuxBGC!W_%(T*_|Oo`$1O;A>$ zGn#Oi{s#DNKtF98IchY)ISkXE2ge^wbd}m_R@RiD*BgL8dn3^A-yEK(5)P*8ryS$( zlccgLg7DJ)6;h}+Ti{CqtAfU<8n|Z=q^Cn#-(oW(IqG#-eG{T_G~~i8u!E3}M6}jH z52S1ybUvar1|v*x9QE0(F=!CIAJR`W+fm{(Dj+?hSx2@&`UIro^mc;|(&z~pW*}8? zFftKlaW+!j2x$qV1(w=s_?BU21Hct%z36%`+6FTa+5&~iJduhC(O2D%fV;kA5@lqI zp0wGLs^C6QDvJj0(qu5Jj1vKH+%u{LLhtx(AtiPcK9yc}zDN{XhyLm?DrQ*3A&<;c z(<3vjhEHYqHe$^6$m*8>u;VcRB0u-Y;#R_m(sTf}AMv`M2$U~g8%XI$but3fecaW+ zZTaVfS9{5*J@@Z2i6X}kCQw$Z;mwzaI7S@IO}b@_g!OZWX*bfJWYkJ{KH$4{4~U%1#A72ePn{LmWkzJ#aIPajg7*_ zVOq?H*|Evkqu4BLKDHEFg>ArI#ooa7U>{(|u+Olw*d^>|>^Gc&3-B&_(%9jybb>zzs3NJ07e8OnvulFWGEPwjM0n+ zhK2DkVM$lV;AEf;}b?3<1*t{CYvc@63is#AZ8hJI8)7>zP9KxW~B{xVLyAym+3RSIN`xCi3R+*7A1oj_}U&Zt;cuM1BsxmOq|9 zmA{z3nSX%)1^;S5KtN1DR=}_TUBHxp#R0DbydQ8j;8#JYpua#N7$dL?o))YZ>=t|` zxEdH3m=KsBI6BZ4_;lcgzOu21tkZS2Wf&H30fAkJ?MDQkHNg)_~3%z2ZARB zFA9Dw_(<^O5MD?^h$2K4@^HwqkT*h3hg=higi>Lp&>);G+$j7&crla{nh;tXstKJQ zx+ZjA=s6KX6f07Q)S^d4Yefe{=fl`xiDBho(;AVK{vA7lifCVJKpU^WY5U_NHTI}jk-v2(x)*nE z>OQagj_zOfVD{+WV_1)t9?$nU(BpE?u%3f@s(a4txwYr#QFv7UsOqQ(qt-+nin`XT zcdyc3=3YyB?dx^9cSP^}-s5{O?EOyfOMOIra{K7|EbQ}cpYMopqJYp7i;4Y2dvsKE zS+qTRRrKNLTQP|-!(*n!Y>D|YmLHoL+Yq}jc5iHZT%R~)+~l}Tai7QY;xpqLw)5}8CVSt~gs4V4a-PLuAE{+!Z3MV+!NsNWY+$P^D|7lRt zpr%0^2VKlg%qFwfW}nN6$x-F3%4y3ba>wPa%x%ky&Qs;B&igt)HeZv!F8@M7zk=}v zFBSY)C@HiQZY#W@kSiWi>@H#yl@`q`I$RuDJiK^m@mD1=CEAirCGDlM(g#a-m$Ax* zl+7zUUEZr)UB02beQ?I$hX(H-A{bILWa*HvEBaShDt0Mx%@}ZF*jp{KqcL@ulT-a?mIt5HfF|{Q}-v{-+KQC z5A=9I|G?X0gU71IzBZ0EZp65a<8G@eRjXCk>dWhw*SD(`>Sxv8Yw|S+Z|ZmI6d__FaU#@}eFY+B#cp&y~&V&EFa8Qw648k>y! zO}$O6reo#-<{9R;3GxZgOlY?Zv8=OV*88nHZDDXSb;#b={+Ru2b8hpp=9?{bEw8l- zTaB%UCib8BgL@}OPo6sY>_Y_)t$G-Hxc=e2kHkJQ{gLxiN~gRy zl|Qv<>c`V0)8XS>J z{9~qO=7+N+vlh*|JzG8d!>6QAEq4v8d&q<&2{9N{2V(yc*09$!ulaUu-P(gMWWKOrU5|CM*8RTT zxW4Vh>KFHK$k?!9W7NhuoA6EcO_yF8^U~3mi(cNjIcf8%EfHI0y#ijbzw+Iy<6b?r zb;#DeuVucr`StkMmv0koo4Fm^K5={dj>a8rJ4fw2_Qv2h_U;&%odSYOQiGUUreUqyYj`ak{t zv!yM)?d`KgXAgZ{^Yxi?>T}op$iHbf|q~`}r%DD;+=2zS{lj`d`w1*?X<(+E>>N*KggJd9(Y? z7k|zC_26$Ke!Fn1Q`;@|uIzUz-6e|*tl=;)xnHNvRb0GbR?YZ%lF8sO+#0nH}} z=Q+;#Ig$V(0oL(p#}7b2ZQwapp@jU8Ac*3CW(u^&I?jOUK)~g4d0YXHClChk1BBth z0zq(iq(~Gl5=9CH)Zx517;^(Eya9rN z#QOVJcC~gsCa)uz9OqEsTu|uijIinr4}HOu>ntU(T9UYM?PIS$v;V|5zr3*Rz{&I1>KdA7 zELykyy;I*_&nO+CZF&6J^*aupzHmbba2)oQN%e`tX33~7L`y@Num=-jM68sl^TJRM z_EaBhPmQZTYne7*Q4_AVrd^3=qYiKqWP6XpPORysDIT6~BfoZc;m>=J=;=bo=Rm-q z+7yC3aIJQJd3?XP`Q?=zN4@CJsO*ZSz#R@t3h7`_05re^>ftgF0jIEykha0oN>OHL zCc29S0TiGHIF`z&7Gh8fSh7+H`a^;XI9MpP(=QAnl=q+(lu?lDv7T;vJl5A~gF_oB zwP=Lavn*H&MWZn>_i-JyScK}Xh38SgzdZ#2xbo+``rN=4pj~O@5}70j;QoFyW*;4e|n=biIV;szrUElvq2hmBF?xuBAET1e91yEUvcEGMmeLg~I67 zM|5A+CTf9@OI3pfg~2L{i!wA=;7S4&d#`(T-8&#CD_Ed9B}!`(B;iU!M~73M0xj`> M_utu$fA`;i0c+?@r~m)} literal 0 HcmV?d00001 diff --git a/popcorn/Assets/FacebookSDK/Examples/Textures/White.psd.meta b/popcorn/Assets/FacebookSDK/Examples/Textures/White.psd.meta new file mode 100644 index 00000000..8ccc9bf9 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Textures/White.psd.meta @@ -0,0 +1,55 @@ +fileFormatVersion: 2 +guid: 6f2bd1fb3a7ec4616b4311f171db577d +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 7 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 1024 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity b/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity new file mode 100644 index 00000000..a84e33d5 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity @@ -0,0 +1,251 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.3731193, g: 0.38073996, b: 0.35872698, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &1312537528 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1312537531} + - component: {fileID: 1312537530} + - component: {fileID: 1312537529} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1312537529 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1312537528} + m_Enabled: 1 +--- !u!20 &1312537530 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1312537528} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1312537531 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1312537528} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1992949226 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1992949227} + - component: {fileID: 1992949228} + m_Layer: 0 + m_Name: Tournaments Menu + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1992949227 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1992949226} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1992949228 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1992949226} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4ad38019c04d54713a79b19e9b246a0c, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity.meta b/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity.meta new file mode 100644 index 00000000..3b4a17e6 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/TournamentsMenu.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6f8d688887086476cb9533793ffa1756 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows.meta b/popcorn/Assets/FacebookSDK/Examples/Windows.meta new file mode 100644 index 00000000..fe3f4c35 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 44628a62208674c55ad86da3c28a70ec +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs new file mode 100644 index 00000000..7c76fc5a --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs @@ -0,0 +1,34 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using Facebook.Unity; + +public class FBWindowsA2UNotificationsManager : MonoBehaviour { + + public FBWindowsLogsManager Logger; + public InputField TitleText; + public InputField BodyText; + public InputField MediaText; + public InputField PayloadText; + public InputField TimeIntervalText; + + public void ScheduleButton () { + Logger.DebugLog("Scheduling notification ..."); + FB.ScheduleAppToUserNotification(TitleText.text, BodyText.text, new System.Uri(MediaText.text), int.Parse(TimeIntervalText.text), PayloadText.text, A2UNotificationCallback); + } + + private void A2UNotificationCallback(IScheduleAppToUserNotificationResult result) + { + if (result.Error != null) + { + Logger.DebugErrorLog(result.Error); + } + else + { + Logger.DebugLog("Notification scheduled correctly."); + } + } + + +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs.meta new file mode 100644 index 00000000..cc5917ef --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsA2UNotificationsManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a87b0532431cd8543ad24dba4f6553c9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs new file mode 100644 index 00000000..262a399b --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs @@ -0,0 +1,128 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using Facebook.Unity; +using System; + +public class FBWindowsADSManager : MonoBehaviour +{ + public FBWindowsLogsManager Logger; + + public InputField InputInterstitialAd; + public InputField InputRewardedVideo; + + public void LoadRewardedVideo(string placementID) + { + Logger.DebugLog("Loading Rewarded Video"); + FB.LoadRewardedVideo(placementID, delegate (IRewardedVideoResult rewardedVideoResult) + { + if (rewardedVideoResult.Error != null) + { + Logger.DebugErrorLog(rewardedVideoResult.Error); + } + else + { + Logger.DebugLog("Rewarded Video "+ placementID + " loaded correctly!"); + } + }); + } + + public void ShowRewardedVideo(string placementID) + { + Logger.DebugLog("Showing Rewarded Video"); + FB.ShowRewardedVideo(placementID, delegate (IRewardedVideoResult rewardedVideoResult) + { + if (rewardedVideoResult.Error != null) + { + Logger.DebugErrorLog(rewardedVideoResult.Error); + } + else + { + Logger.DebugLog("Rewarded Video " + placementID + " showed correctly!"); + Logger.DebugLog("Here you can give a reward."); + } + }); + } + + + public void LoadInterstitialAd(string placementID) + { + Logger.DebugLog("Loading Interstitial AD"); + FB.LoadInterstitialAd(placementID, delegate (IInterstitialAdResult interstitialAdResult) + { + if (interstitialAdResult.Error != null) + { + Logger.DebugErrorLog(interstitialAdResult.Error); + } + else + { + Logger.DebugLog("Interstitial AD " + placementID + " loaded correctly!"); + } + }); + } + + public void ShowInterstitialAd(string placementID) + { + Logger.DebugLog("Showing Interstitial AD"); + FB.ShowInterstitialAd(placementID, delegate (IInterstitialAdResult interstitialAdResult) + { + if (interstitialAdResult.Error != null) + { + Logger.DebugErrorLog(interstitialAdResult.Error); + } + else + { + Logger.DebugLog("Interstitial AD " + placementID + " showed correctly!"); + } + }); + } + + + public void OnButtonLoadInterstitialAd() + { + if (!String.IsNullOrEmpty(InputInterstitialAd.text)) { + LoadInterstitialAd(InputInterstitialAd.text); + } + else + { + Logger.DebugWarningLog("Please, insert interstitial placement ID code."); + } + } + + public void OnButtonShowInterstitialAd() + { + if (!String.IsNullOrEmpty(InputInterstitialAd.text)) + { + ShowInterstitialAd(InputInterstitialAd.text); + } + else + { + Logger.DebugWarningLog("Please, insert interstitial placement ID code."); + } + } + + public void OnButtonLoadRewardedVideo() + { + if (!String.IsNullOrEmpty(InputRewardedVideo.text)) + { + LoadRewardedVideo(InputRewardedVideo.text); + } + else + { + Logger.DebugWarningLog("Please, insert rewarded video placement ID code."); + } + } + + public void OnButtonShowRewardedVideo() + { + if (!String.IsNullOrEmpty(InputRewardedVideo.text)) + { + ShowRewardedVideo(InputRewardedVideo.text); + } + else + { + Logger.DebugWarningLog("Please, insert rewarded video placement ID code."); + } + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs.meta new file mode 100644 index 00000000..70220a32 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsADSManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 67f2f22b10b98134995830e8bee86439 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs new file mode 100644 index 00000000..53364335 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs @@ -0,0 +1,22 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class FBWindowsExampleTabsManager : MonoBehaviour +{ + public GameObject[] sections; + + void Start() + { + ShowTab(0); + } + + public void ShowTab(int id) + { + foreach (GameObject section in sections) + { + section.SetActive(false); + } + sections[id].SetActive(true); + } +} diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs.meta b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs.meta new file mode 100644 index 00000000..9cea7132 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsExampleTabsManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d684454c7ae4aa749bf72961f5d54d1a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsFriendsManager.cs b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsFriendsManager.cs new file mode 100644 index 00000000..9c7ff120 --- /dev/null +++ b/popcorn/Assets/FacebookSDK/Examples/Windows/FBWindowsFriendsManager.cs @@ -0,0 +1,105 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using Facebook.Unity; +using System; + +public class FBWindowsFriendsManager : MonoBehaviour { + + public FBWindowsLogsManager Logger; + public Transform ReceivedInvitationsPanelTransform; + public GameObject ShowReceivedInvitation; + + public void Button_OpenReceivedInvitations() + { + if (FB.IsLoggedIn) + { + FB.OpenFriendFinderDialog(OpenFriendsDialogCallBack); + } + else + { + Logger.DebugWarningLog("Login First"); + } + } + + private void OpenFriendsDialogCallBack(IGamingServicesFriendFinderResult result) + { + if (result.Error != null) + { + Logger.DebugErrorLog(result.Error); + } + else + { + Logger.DebugLog("Friends Dialog openned succesflly"); + } + } + + public void Button_GetFriendFinderInvitations() + { + if (FB.IsLoggedIn) + { + FB.GetFriendFinderInvitations(GetFriendFinderInvitationsCallback); + } + else + { + Logger.DebugWarningLog("Login First"); + } + } + + private void GetFriendFinderInvitationsCallback(IFriendFinderInvitationResult receivedInvitations) + { + Logger.DebugLog("Processing received invitations..."); + if (FB.IsLoggedIn) + { + foreach (Transform child in ReceivedInvitationsPanelTransform) + { + Destroy(child.gameObject); + } + + if (receivedInvitations.Error != null) + { + Logger.DebugErrorLog(receivedInvitations.Error); + } + else + { + if (receivedInvitations.Invitations.Count <= 0) + { + Logger.DebugLog("No invitations received."); + } + else + { + foreach (FriendFinderInviation item in receivedInvitations.Invitations) + { + GameObject obj = (GameObject)Instantiate(ShowReceivedInvitation); + obj.transform.SetParent(ReceivedInvitationsPanelTransform, false); + obj.transform.localScale = new Vector3(1, 1, 1); + + Button button = obj.GetComponent