diff --git a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll
index 5b7458218..052cf908e 100644
Binary files a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll and b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll differ
diff --git a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta
index 919f28fc7..c3b7c6a02 100644
--- a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta
+++ b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreTools.dll.meta
@@ -1,14 +1,34 @@
fileFormatVersion: 2
-guid: 11188de2b6632fa4486c470af4b55fa0
+guid: 46975cd389724d0499db55591d961a35
+timeCreated: 1499691956
+licenseType: Store
PluginImporter:
- serializedVersion: 1
+ serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
+ isOverridable: 0
platformData:
- Any:
- enabled: 1
- settings: {}
+ data:
+ first:
+ Any:
+ second:
+ enabled: 0
+ settings: {}
+ data:
+ first:
+ Editor: Editor
+ second:
+ enabled: 1
+ settings:
+ DefaultValueInitialized: true
+ data:
+ first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
diff --git a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll
index a28d4889e..2b1615cca 100644
Binary files a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll and b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll differ
diff --git a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta
index 589111dfd..845630373 100644
--- a/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta
+++ b/AssetStore/Assets/AssetStoreTools/Editor/AssetStoreToolsExtra.dll.meta
@@ -1,14 +1,34 @@
fileFormatVersion: 2
-guid: e35231d99115e9e4c8cb29414445831f
+guid: a4f7ad432f1fed24caa2acbe1ceeef39
+timeCreated: 1499692003
+licenseType: Store
PluginImporter:
- serializedVersion: 1
+ serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
+ isOverridable: 0
platformData:
- Any:
- enabled: 1
- settings: {}
+ data:
+ first:
+ Any:
+ second:
+ enabled: 0
+ settings: {}
+ data:
+ first:
+ Editor: Editor
+ second:
+ enabled: 1
+ settings:
+ DefaultValueInitialized: true
+ data:
+ first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
diff --git a/AssetStore/Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta b/AssetStore/Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta
index 6716cafd2..8347e6789 100644
--- a/AssetStore/Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta
+++ b/AssetStore/Assets/AssetStoreTools/Editor/DroidSansMono.ttf.meta
@@ -1,5 +1,7 @@
fileFormatVersion: 2
-guid: 35021dda9bd03434195c7dcd6ad7618f
+guid: d54231d61af8b414486b80e17598cce1
+timeCreated: 1499692004
+licenseType: Store
TrueTypeFontImporter:
serializedVersion: 2
fontSize: 16
diff --git a/AssetStore/Assets/AssetStoreTools/Editor/icon.png.meta b/AssetStore/Assets/AssetStoreTools/Editor/icon.png.meta
index 2bf7c577b..642a0457b 100644
--- a/AssetStore/Assets/AssetStoreTools/Editor/icon.png.meta
+++ b/AssetStore/Assets/AssetStoreTools/Editor/icon.png.meta
@@ -1,5 +1,7 @@
fileFormatVersion: 2
-guid: 41844c716792706449720732c95b2747
+guid: 7d783a70b51365a49a04d3f369611b99
+timeCreated: 1499692003
+licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
@@ -25,7 +27,7 @@ TextureImporter:
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
- maxTextureSize: 1024
+ maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
diff --git a/AssetStore/Assets/screens/2.jpg b/AssetStore/Assets/screens/2.jpg
index 277936392..59c8aed18 100644
Binary files a/AssetStore/Assets/screens/2.jpg and b/AssetStore/Assets/screens/2.jpg differ
diff --git a/AssetStore/Assets/screens/3.jpg b/AssetStore/Assets/screens/3.jpg
index db2e293d1..382ba5746 100644
Binary files a/AssetStore/Assets/screens/3.jpg and b/AssetStore/Assets/screens/3.jpg differ
diff --git a/AssetStore/Assets/screens/7.jpg b/AssetStore/Assets/screens/7.jpg
new file mode 100644
index 000000000..9b7e097d9
Binary files /dev/null and b/AssetStore/Assets/screens/7.jpg differ
diff --git a/AssetStore/Assets/screens/7.jpg.meta b/AssetStore/Assets/screens/7.jpg.meta
new file mode 100644
index 000000000..f7ee8add9
--- /dev/null
+++ b/AssetStore/Assets/screens/7.jpg.meta
@@ -0,0 +1,68 @@
+fileFormatVersion: 2
+guid: 7dc890e3840c24372af2aac85173f8b3
+timeCreated: 1501437402
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/AssetStore/ProjectSettings/ProjectSettings.asset b/AssetStore/ProjectSettings/ProjectSettings.asset
index 415b20e55..03403af75 100644
--- a/AssetStore/ProjectSettings/ProjectSettings.asset
+++ b/AssetStore/ProjectSettings/ProjectSettings.asset
@@ -3,7 +3,8 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
- serializedVersion: 8
+ serializedVersion: 11
+ productGUID: d1fbc6bd3a3f2df418cc5c74efc952d3
AndroidProfiler: 0
defaultScreenOrientation: 0
targetDevice: 2
@@ -13,20 +14,46 @@ PlayerSettings:
productName: TouchScript Asset Store
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
+ m_SplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21176471, a: 1}
m_ShowUnitySplashScreen: 1
+ m_ShowUnitySplashLogo: 1
+ m_SplashScreenOverlayOpacity: 1
+ m_SplashScreenAnimation: 1
+ m_SplashScreenLogoStyle: 1
+ m_SplashScreenDrawMode: 0
+ m_SplashScreenBackgroundAnimationZoom: 1
+ m_SplashScreenLogoAnimationZoom: 1
+ m_SplashScreenBackgroundLandscapeAspect: 1
+ m_SplashScreenBackgroundPortraitAspect: 1
+ m_SplashScreenBackgroundLandscapeUvs:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ m_SplashScreenBackgroundPortraitUvs:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ m_SplashScreenLogos: []
+ m_SplashScreenBackgroundLandscape: {fileID: 0}
+ m_SplashScreenBackgroundPortrait: {fileID: 0}
m_VirtualRealitySplashScreen: {fileID: 0}
+ m_HolographicTrackingLossScreen: {fileID: 0}
defaultScreenWidth: 1024
defaultScreenHeight: 768
defaultScreenWidthWeb: 960
defaultScreenHeightWeb: 600
- m_RenderingPath: 1
- m_MobileRenderingPath: 1
+ m_StereoRenderingPath: 0
m_ActiveColorSpace: 0
m_MTRendering: 1
m_MobileMTRendering: 0
- m_Stereoscopic3D: 0
+ m_StackTraceTypes: 010000000100000001000000010000000100000001000000
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
+ tizenShowActivityIndicatorOnLoading: -1
iosAppInBackgroundBehavior: 0
displayResolutionDialog: 1
iosAllowHTTPDownload: 1
@@ -41,7 +68,7 @@ PlayerSettings:
defaultIsNativeResolution: 1
runInBackground: 1
captureSingleScreen: 0
- Override IPod Music: 0
+ muteOtherAudioSources: 0
Prepare IOS For Recording: 0
submitAnalytics: 1
usePlayerLog: 1
@@ -49,7 +76,9 @@ PlayerSettings:
forceSingleInstance: 0
resizableWindow: 0
useMacAppStoreValidation: 0
+ macAppStoreCategory: public.app-category.games
gpuSkinning: 0
+ graphicsJobs: 0
xboxPIXTextureCapture: 0
xboxEnableAvatar: 0
xboxEnableKinect: 0
@@ -57,6 +86,7 @@ PlayerSettings:
xboxEnableFitness: 0
visibleInBackground: 0
allowFullscreenSwitch: 1
+ graphicsJobMode: 0
macFullscreenMode: 2
d3d9FullscreenMode: 1
d3d11FullscreenMode: 1
@@ -64,15 +94,13 @@ PlayerSettings:
xboxEnableHeadOrientation: 0
xboxEnableGuest: 0
xboxEnablePIXSampling: 0
- xboxEnableEnableRenderThreadRunsJobs: 0
n3dsDisableStereoscopicView: 0
n3dsEnableSharedListOpt: 1
n3dsEnableVSync: 0
- uiUse16BitDepthBuffer: 0
ignoreAlphaClear: 0
xboxOneResolution: 0
xboxOneMonoLoggingLevel: 0
- ps3SplashScreen: {fileID: 0}
+ xboxOneLoggingLevel: 1
videoMemoryForVertexBuffers: 0
psp2PowerMode: 0
psp2AcquireBGM: 1
@@ -91,36 +119,53 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
- bundleIdentifier: com.Company.ProductName
bundleVersion: 1.0
preloadedAssets: []
- metroEnableIndependentInputSource: 0
- metroEnableLowLatencyPresentationAPI: 0
+ metroInputSource: 0
+ m_HolographicPauseOnTrackingLoss: 1
xboxOneDisableKinectGpuReservation: 0
- virtualRealitySupported: 0
- productGUID: d1fbc6bd3a3f2df418cc5c74efc952d3
+ xboxOneEnable7thCore: 0
+ vrSettings:
+ cardboard:
+ depthFormat: 0
+ enableTransitionView: 0
+ daydream:
+ depthFormat: 0
+ useSustainedPerformanceMode: 0
+ hololens:
+ depthFormat: 1
+ protectGraphicsMemory: 0
+ useHDRDisplay: 0
+ applicationIdentifier:
+ Android: com.Company.ProductName
+ Standalone: unity.Valentin Simonov.TouchScript Asset Store
+ Tizen: com.Company.ProductName
+ iOS: com.Company.ProductName
+ tvOS: com.Company.ProductName
+ buildNumber:
+ iOS: 0
AndroidBundleVersionCode: 1
- AndroidMinSdkVersion: 9
+ AndroidMinSdkVersion: 16
+ AndroidTargetSdkVersion: 0
AndroidPreferredInstallLocation: 1
aotOptions:
- apiCompatibilityLevel: 2
stripEngineCode: 1
iPhoneStrippingLevel: 0
iPhoneScriptCallOptimization: 0
- iPhoneBuildNumber: 0
ForceInternetPermission: 0
ForceSDCardPermission: 0
CreateWallpaper: 0
APKExpansionFiles: 0
- preloadShaders: 0
+ keepLoadedShadersAlive: 0
StripUnusedMeshComponents: 0
VertexChannelCompressionMask:
serializedVersion: 2
m_Bits: 238
iPhoneSdkVersion: 988
- iPhoneTargetOSVersion: 22
+ iOSTargetOSVersionString: 6.0
tvOSSdkVersion: 0
- tvOSTargetOSVersion: 900
+ tvOSRequireExtendedGameController: 0
+ tvOSTargetOSVersionString: 9.0
uIPrerenderedIcon: 0
uIRequiresPersistentWiFi: 0
uIRequiresFullScreen: 1
@@ -141,6 +186,7 @@ PlayerSettings:
tvOSSmallIconLayers: []
tvOSLargeIconLayers: []
tvOSTopShelfImageLayers: []
+ tvOSTopShelfImageWideLayers: []
iOSLaunchScreenType: 0
iOSLaunchScreenPortrait: {fileID: 0}
iOSLaunchScreenLandscape: {fileID: 0}
@@ -159,6 +205,16 @@ PlayerSettings:
iOSLaunchScreeniPadSize: 100
iOSLaunchScreeniPadCustomXibPath:
iOSDeviceRequirements: []
+ iOSURLSchemes: []
+ iOSBackgroundModes: 0
+ iOSMetalForceHardShadows: 0
+ metalEditorSupport: 0
+ metalAPIValidation: 1
+ iOSRenderExtraFrameOnPause: 1
+ appleDeveloperTeamID:
+ iOSManualSigningProvisioningProfileID:
+ tvOSManualSigningProvisioningProfileID:
+ appleEnableAutomaticSigning: 0
AndroidTargetDevice: 0
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
@@ -188,6 +244,9 @@ PlayerSettings:
- m_BuildTarget: AndroidPlayer
m_APIs: 08000000
m_Automatic: 0
+ m_BuildTargetVRSettings: []
+ openGLRequireES31: 0
+ openGLRequireES31AEP: 0
webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {}
wiiUTitleID: 0005000011000000
@@ -208,39 +267,124 @@ PlayerSettings:
wiiUGamePadStartupScreen: {fileID: 0}
wiiUDrcBufferDisabled: 0
wiiUProfilerLibPath:
+ playModeTestRunnerEnabled: 0
actionOnDotNetUnhandledException: 1
enableInternalProfiler: 0
logObjCUncaughtExceptions: 1
enableCrashReportAPI: 0
+ cameraUsageDescription:
locationUsageDescription:
- XboxTitleId:
- XboxImageXexPath:
- XboxSpaPath:
- XboxGenerateSpa: 0
- XboxDeployKinectResources: 0
- XboxSplashScreen: {fileID: 0}
- xboxEnableSpeech: 0
- xboxAdditionalTitleMemorySize: 0
- xboxDeployKinectHeadOrientation: 0
- xboxDeployKinectHeadPosition: 0
- ps3TitleConfigPath:
- ps3DLCConfigPath:
- ps3ThumbnailPath:
- ps3BackgroundPath:
- ps3SoundPath:
- ps3NPAgeRating: 12
- ps3TrophyCommId:
- ps3NpCommunicationPassphrase:
- ps3TrophyPackagePath:
- ps3BootCheckMaxSaveGameSizeKB: 128
- ps3TrophyCommSig:
- ps3SaveGameSlots: 1
- ps3TrialMode: 0
- ps3VideoMemoryForAudio: 0
- ps3EnableVerboseMemoryStats: 0
- ps3UseSPUForUmbra: 0
- ps3EnableMoveSupport: 1
- ps3DisableDolbyEncoding: 0
+ microphoneUsageDescription:
+ switchNetLibKey:
+ switchSocketMemoryPoolSize: 6144
+ switchSocketAllocatorPoolSize: 128
+ switchSocketConcurrencyLimit: 14
+ switchScreenResolutionBehavior: 2
+ switchUseCPUProfiler: 0
+ switchApplicationID: 0x01004b9000490000
+ switchNSODependencies:
+ switchTitleNames_0:
+ switchTitleNames_1:
+ switchTitleNames_2:
+ switchTitleNames_3:
+ switchTitleNames_4:
+ switchTitleNames_5:
+ switchTitleNames_6:
+ switchTitleNames_7:
+ switchTitleNames_8:
+ switchTitleNames_9:
+ switchTitleNames_10:
+ switchTitleNames_11:
+ switchPublisherNames_0:
+ switchPublisherNames_1:
+ switchPublisherNames_2:
+ switchPublisherNames_3:
+ switchPublisherNames_4:
+ switchPublisherNames_5:
+ switchPublisherNames_6:
+ switchPublisherNames_7:
+ switchPublisherNames_8:
+ switchPublisherNames_9:
+ switchPublisherNames_10:
+ switchPublisherNames_11:
+ switchIcons_0: {fileID: 0}
+ switchIcons_1: {fileID: 0}
+ switchIcons_2: {fileID: 0}
+ switchIcons_3: {fileID: 0}
+ switchIcons_4: {fileID: 0}
+ switchIcons_5: {fileID: 0}
+ switchIcons_6: {fileID: 0}
+ switchIcons_7: {fileID: 0}
+ switchIcons_8: {fileID: 0}
+ switchIcons_9: {fileID: 0}
+ switchIcons_10: {fileID: 0}
+ switchIcons_11: {fileID: 0}
+ switchSmallIcons_0: {fileID: 0}
+ switchSmallIcons_1: {fileID: 0}
+ switchSmallIcons_2: {fileID: 0}
+ switchSmallIcons_3: {fileID: 0}
+ switchSmallIcons_4: {fileID: 0}
+ switchSmallIcons_5: {fileID: 0}
+ switchSmallIcons_6: {fileID: 0}
+ switchSmallIcons_7: {fileID: 0}
+ switchSmallIcons_8: {fileID: 0}
+ switchSmallIcons_9: {fileID: 0}
+ switchSmallIcons_10: {fileID: 0}
+ switchSmallIcons_11: {fileID: 0}
+ switchManualHTML:
+ switchAccessibleURLs:
+ switchLegalInformation:
+ switchMainThreadStackSize: 1048576
+ switchPresenceGroupId:
+ switchLogoHandling: 0
+ switchReleaseVersion: 0
+ switchDisplayVersion: 1.0.0
+ switchStartupUserAccount: 0
+ switchTouchScreenUsage: 0
+ switchSupportedLanguagesMask: 0
+ switchLogoType: 0
+ switchApplicationErrorCodeCategory:
+ switchUserAccountSaveDataSize: 0
+ switchUserAccountSaveDataJournalSize: 0
+ switchApplicationAttribute: 0
+ switchCardSpecSize: -1
+ switchCardSpecClock: -1
+ switchRatingsMask: 0
+ switchRatingsInt_0: 0
+ switchRatingsInt_1: 0
+ switchRatingsInt_2: 0
+ switchRatingsInt_3: 0
+ switchRatingsInt_4: 0
+ switchRatingsInt_5: 0
+ switchRatingsInt_6: 0
+ switchRatingsInt_7: 0
+ switchRatingsInt_8: 0
+ switchRatingsInt_9: 0
+ switchRatingsInt_10: 0
+ switchRatingsInt_11: 0
+ switchLocalCommunicationIds_0:
+ switchLocalCommunicationIds_1:
+ switchLocalCommunicationIds_2:
+ switchLocalCommunicationIds_3:
+ switchLocalCommunicationIds_4:
+ switchLocalCommunicationIds_5:
+ switchLocalCommunicationIds_6:
+ switchLocalCommunicationIds_7:
+ switchParentalControl: 0
+ switchAllowsScreenshot: 1
+ switchDataLossConfirmation: 0
+ switchSupportedNpadStyles: 3
+ switchSocketConfigEnabled: 0
+ switchTcpInitialSendBufferSize: 32
+ switchTcpInitialReceiveBufferSize: 64
+ switchTcpAutoSendBufferSizeMax: 256
+ switchTcpAutoReceiveBufferSizeMax: 256
+ switchUdpSendBufferSize: 9
+ switchUdpReceiveBufferSize: 42
+ switchSocketBufferEfficiency: 4
+ switchSocketInitializeEnabled: 1
+ switchNetworkInterfaceManagerInitializeEnabled: 1
+ switchPlayerConnectionEnabled: 1
ps4NPAgeRating: 12
ps4NPTitleSecret:
ps4NPTrophyPackPath:
@@ -252,7 +396,9 @@ PlayerSettings:
ps4AppType: 0
ps4ParamSfxPath:
ps4VideoOutPixelFormat: 0
- ps4VideoOutResolution: 4
+ ps4VideoOutInitialWidth: 1920
+ ps4VideoOutBaseModeInitialWidth: 1920
+ ps4VideoOutReprojectionRate: 120
ps4PronunciationXMLPath:
ps4PronunciationSIGPath:
ps4BackgroundImagePath:
@@ -274,6 +420,7 @@ PlayerSettings:
ps4ApplicationParam4: 0
ps4DownloadDataSize: 0
ps4GarlicHeapSize: 2048
+ ps4ProGarlicHeapSize: 2560
ps4Passcode: 5xr84P2R391UXaLHbavJvFZGfO47XWS2
ps4UseDebugIl2cppLibs: 0
ps4pnSessions: 1
@@ -281,20 +428,27 @@ PlayerSettings:
ps4pnFriends: 1
ps4pnGameCustomData: 1
playerPrefsSupport: 0
+ restrictedAudioUsageRights: 0
+ ps4UseResolutionFallback: 0
ps4ReprojectionSupport: 0
ps4UseAudio3dBackend: 0
ps4SocialScreenEnabled: 0
+ ps4ScriptOptimizationLevel: 3
ps4Audio3dVirtualSpeakerCount: 14
ps4attribCpuUsage: 0
ps4PatchPkgPath:
ps4PatchLatestPkgPath:
ps4PatchChangeinfoPath:
+ ps4PatchDayOne: 0
ps4attribUserManagement: 0
ps4attribMoveSupport: 0
ps4attrib3DSupport: 0
ps4attribShareSupport: 0
ps4attribExclusiveVR: 0
ps4disableAutoHideSplash: 0
+ ps4videoRecordingFeaturesUsed: 0
+ ps4contentSearchFeaturesUsed: 0
+ ps4attribEyeToEyeDistanceSettingVR: 0
ps4IncludedModules: []
monoEnv:
psp2Splashimage: {fileID: 0}
@@ -345,8 +499,35 @@ PlayerSettings:
psp2InfoBarColor: 0
psp2UseDebugIl2cppLibs: 0
psmSplashimage: {fileID: 0}
+ splashScreenBackgroundSourceLandscape: {fileID: 0}
+ splashScreenBackgroundSourcePortrait: {fileID: 0}
spritePackerPolicy:
+ webGLMemorySize: 256
+ webGLExceptionSupport: 1
+ webGLNameFilesAsHashes: 0
+ webGLDataCaching: 0
+ webGLDebugSymbols: 0
+ webGLEmscriptenArgs:
+ webGLModulesDirectory:
+ webGLTemplate: APPLICATION:Default
+ webGLAnalyzeBuildSize: 0
+ webGLUseEmbeddedResources: 0
+ webGLUseWasm: 0
+ webGLCompressionFormat: 1
scriptingDefineSymbols: {}
+ platformArchitecture:
+ iOS: 2
+ scriptingBackend:
+ Android: 0
+ Standalone: 0
+ WebGL: 1
+ iOS: 1
+ incrementalIl2cppBuild:
+ iOS: 0
+ additionalIl2CppArgs:
+ apiCompatibilityLevelPerPlatform: {}
+ m_RenderingPath: 1
+ m_MobileRenderingPath: 1
metroPackageName: _Packages
metroPackageVersion:
metroCertificatePath:
@@ -372,29 +553,14 @@ PlayerSettings:
metroFTAFileTypes: []
metroProtocolName:
metroCompilationOverrides: 1
- blackberryDeviceAddress:
- blackberryDevicePassword:
- blackberryTokenPath:
- blackberryTokenExires:
- blackberryTokenAuthor:
- blackberryTokenAuthorId:
- blackberryCskPassword:
- blackberrySaveLogPath:
- blackberrySharedPermissions: 0
- blackberryCameraPermissions: 0
- blackberryGPSPermissions: 0
- blackberryDeviceIDPermissions: 0
- blackberryMicrophonePermissions: 0
- blackberryGamepadSupport: 0
- blackberryBuildId: 0
- blackberryLandscapeSplashScreen: {fileID: 0}
- blackberryPortraitSplashScreen: {fileID: 0}
- blackberrySquareSplashScreen: {fileID: 0}
tizenProductDescription:
tizenProductURL:
tizenSigningProfileName:
tizenGPSPermissions: 0
tizenMicrophonePermissions: 0
+ tizenDeploymentTarget:
+ tizenDeploymentTargetType: -1
+ tizenMinOSVersion: 1
n3dsUseExtSaveData: 0
n3dsCompressStaticMem: 1
n3dsExtSaveDataNumber: 0x12345
@@ -424,46 +590,26 @@ PlayerSettings:
XboxOnePackageEncryption: 0
XboxOnePackageUpdateGranularity: 2
XboxOneDescription:
+ XboxOneLanguage:
+ - enus
+ XboxOneCapability: []
+ XboxOneGameRating: {}
XboxOneIsContentPackage: 0
XboxOneEnableGPUVariability: 0
XboxOneSockets: {}
XboxOneSplashScreen: {fileID: 0}
XboxOneAllowedProductIds: []
XboxOnePersistentLocalStorageSize: 0
- intPropertyNames:
- - Android::ScriptingBackend
- - Standalone::ScriptingBackend
- - WebGL::ScriptingBackend
- - WebGL::audioCompressionFormat
- - WebGL::exceptionSupport
- - WebGL::memorySize
- - iOS::Architecture
- - iOS::EnableIncrementalBuildSupportForIl2cpp
- - iOS::ScriptingBackend
- Android::ScriptingBackend: 0
- Standalone::ScriptingBackend: 0
- WebGL::ScriptingBackend: 1
- WebGL::audioCompressionFormat: 4
- WebGL::exceptionSupport: 1
- WebGL::memorySize: 256
- iOS::Architecture: 2
- iOS::EnableIncrementalBuildSupportForIl2cpp: 0
- iOS::ScriptingBackend: 1
- boolPropertyNames:
- - WebGL::analyzeBuildSize
- - WebGL::dataCaching
- - WebGL::useEmbeddedResources
- WebGL::analyzeBuildSize: 0
- WebGL::dataCaching: 0
- WebGL::useEmbeddedResources: 0
- stringPropertyNames:
- - WebGL::emscriptenArgs
- - WebGL::template
- - additionalIl2CppArgs::additionalIl2CppArgs
- WebGL::emscriptenArgs:
- WebGL::template: APPLICATION:Default
- additionalIl2CppArgs::additionalIl2CppArgs:
+ xboxOneScriptCompiler: 0
+ vrEditorSettings:
+ daydream:
+ daydreamIconForeground: {fileID: 0}
+ daydreamIconBackground: {fileID: 0}
+ cloudServicesEnabled: {}
+ facebookSdkVersion: 7.9.1
+ apiCompatibilityLevel: 2
cloudProjectId:
projectName:
organizationId:
cloudEnabled: 0
+ enableNewInputSystem: 0
diff --git a/AssetStore/ProjectSettings/ProjectVersion.txt b/AssetStore/ProjectSettings/ProjectVersion.txt
index d4ad3ce51..cbfba31f0 100644
--- a/AssetStore/ProjectSettings/ProjectVersion.txt
+++ b/AssetStore/ProjectSettings/ProjectVersion.txt
@@ -1,2 +1 @@
-m_EditorVersion: 5.3.6f1
-m_StandardAssetsVersion: 0
+m_EditorVersion: 5.6.2p4
diff --git a/AssetStore/ProjectSettings/UnityAdsSettings.asset b/AssetStore/ProjectSettings/UnityAdsSettings.asset
deleted file mode 100644
index 224050ce8..000000000
--- a/AssetStore/ProjectSettings/UnityAdsSettings.asset
+++ /dev/null
@@ -1,11 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!292 &1
-UnityAdsSettings:
- m_ObjectHideFlags: 0
- m_Enabled: 0
- m_InitializeOnStartup: 1
- m_TestMode: 0
- m_EnabledPlatforms: 4294967295
- m_IosGameId:
- m_AndroidGameId:
diff --git a/AssetStore/ProjectSettings/UnityConnectSettings.asset b/AssetStore/ProjectSettings/UnityConnectSettings.asset
index 9b7a57834..1cb99bba0 100644
Binary files a/AssetStore/ProjectSettings/UnityConnectSettings.asset and b/AssetStore/ProjectSettings/UnityConnectSettings.asset differ
diff --git a/Docs/docs.shfbproj b/Docs/docs.shfbproj
index 2877f2d66..7832740c9 100644
--- a/Docs/docs.shfbproj
+++ b/Docs/docs.shfbproj
@@ -23,8 +23,9 @@
TouchScript
..\..\..\..\Program Files (x86)\Sandcastle\
-
-
+
+
+
Website
C#
@@ -48,9 +49,9 @@
False
TouchScript — multitouch library for Unity
AboveNamespaces
- Attributes, ExplicitInterfaceImplementations, InheritedMembers, Protected
+ ExplicitInterfaceImplementations, InheritedMembers, Protected
AutoDocumentCtors, AutoDocumentDispose
- TouchScript is a multitouch library for Unity. Inspired by iOS, TouchScript makes handling complex gesture interactions on any touch surface much easier. Please refer to: https://github.com/TouchScript/TouchScript
+ TouchScript is a multitouch library for Unity. Inspired by iOS, TouchScript makes handling complex gesture interactions on any touch surface much easier. Please refer to: <%3ba href="%3bhttps://github.com/TouchScript/TouchScript"%3b>%3bhttps://github.com/TouchScript/TouchScript<%3b/a>%3b.
TouchScript.
@@ -69,25 +70,20 @@
TouchScript.Gestures.
-
+
TouchScript.Gestures.Clustered.
TouchScript.Gestures.UI.
TouchScript.Hit.
TouchScript.InputSources.
TouchScript.InputSources.InputHandlers
TouchScript.Layers.
- TouchScript.Utils.
-
-
+ TouchScript.Utils.
+
+
1.0.0.0
-
-
-
-
-
-
+
@@ -99,15 +95,19 @@
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
diff --git a/Docs/howto.txt b/Docs/howto.txt
new file mode 100644
index 000000000..36c7f548d
--- /dev/null
+++ b/Docs/howto.txt
@@ -0,0 +1,28 @@
+## How to build Documentation.
+
+The docs are built using Sandcastle Help File Builder
+https://github.com/EWSoftware/SHFB/releases
+
+First, you need to generate the docs XML file and build the DLL from Visual Studio.
+
+Right now it is only possible to do on Windows:
+1. Open Source.sln in Visual Studio.
+2. Open Source.CSharp Properties.
+ If unable, need to configure VS Tools for Unity so it would allow chaning project properties.
+ You need to enable the "Access to project properties" option in the "Tools > Options > Tools for Unity > General" section and restart Visual Studio.
+3. Enable "XML Documentation File" option in "Build" tab.
+4. Save the project and build it from Visual Studio.
+
+This will generate two files needed by the docs build process:
+1. Source/Temp/UnityVS_bin/Debug/Assembly-CSharp.DLL
+2. Source/Temp/UnityVS_bin/Debug/Assembly-CSharp.XML
+
+To build the docs you need to:
+1. Download the latest release of SHFB.
+2. Run SandcastleBuilderGUI.exe from the folder where you installed SHFB.
+3. Delete Docs/Help folder if it exists.
+4. Open docs.shfbproj file.
+5. Go to Project "Properties > Visibility > Edit API Filter" and uncheck all Examples namespaces and non-TouchScript namespaces which might have gotten there if you have any other code in the Unity project.
+6. Save and press "Build the Help File" button.
+
+Documentation will be saved to Docs/Help folder.
\ No newline at end of file
diff --git a/External/WindowsTouch/WindowsTouch.cpp b/External/WindowsTouch/WindowsTouch.cpp
index f7dadfb79..9bc7fc95f 100644
--- a/External/WindowsTouch/WindowsTouch.cpp
+++ b/External/WindowsTouch/WindowsTouch.cpp
@@ -7,31 +7,28 @@
extern "C"
{
- void __stdcall Init(TOUCH_API api,
- MousePointerBeganFuncPtr mouseBegan, MousePointerMovedFuncPtr mouseMoved,
- TouchPointerBeganFuncPtr touchBegan, TouchPointerMovedFuncPtr touchMoved,
- PenPointerBeganFuncPtr penBegan, PenPointerMovedFuncPtr penMoved,
- PointerEndedFuncPtr ended, PointerCancelledFuncPtr cancelled)
+ void __stdcall Init(TOUCH_API api, LogFuncPtr logFunc, PointerDelegatePtr delegate)
{
- _mousePointerBeganFunc = mouseBegan;
- _mousePointerMovedFunc = mouseMoved;
- _touchPointerBeganFunc = touchBegan;
- _touchPointerMovedFunc = touchMoved;
- _penPointerBeganFunc = penBegan;
- _penPointerMovedFunc = penMoved;
- _pointerEndedFunc = ended;
- _pointerCancelledFunc = cancelled;
+ _log = logFunc;
+ _delegate = delegate;
_api = api;
_currentWindow = FindWindowA("UnityWndClass", NULL);
if (api == WIN8)
{
+ HINSTANCE h = LoadLibrary(TEXT("user32.dll"));
+ GetPointerInfo = (GET_POINTER_INFO) GetProcAddress(h, "GetPointerInfo");
+ GetPointerTouchInfo = (GET_POINTER_TOUCH_INFO) GetProcAddress(h, "GetPointerTouchInfo");
+ GetPointerPenInfo = (GET_POINTER_PEN_INFO)GetProcAddress(h, "GetPointerPenInfo");
+
_oldWindowProc = SetWindowLongPtr(_currentWindow, GWLP_WNDPROC, (LONG_PTR)wndProc8);
+ log(L"Initialized WIN8 input.");
}
else
{
RegisterTouchWindow(_currentWindow, 0);
_oldWindowProc = SetWindowLongPtr(_currentWindow, GWLP_WNDPROC, (LONG_PTR)wndProc7);
+ log(L"Initialized WIN7 input.");
}
}
@@ -67,9 +64,12 @@ LRESULT CALLBACK wndProc8(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_TOUCH:
CloseTouchInputHandle((HTOUCHINPUT)lParam);
break;
+ case WM_POINTERENTER:
+ case WM_POINTERLEAVE:
case WM_POINTERDOWN:
case WM_POINTERUP:
case WM_POINTERUPDATE:
+ case WM_POINTERCAPTURECHANGED:
decodeWin8Touches(msg, wParam, lParam);
break;
default:
@@ -103,105 +103,39 @@ void decodeWin8Touches(UINT msg, WPARAM wParam, LPARAM lParam)
p.y = pointerInfo.ptPixelLocation.y;
ScreenToClient(_currentWindow, &p);
- switch (msg)
- {
- case WM_POINTERDOWN:
- {
- if ((pointerInfo.pointerFlags & POINTER_FLAG_CANCELED) != 0) return;
+ Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
+ PointerData data {};
+ data.pointerFlags = pointerInfo.pointerFlags;
+ data.changedButtons = pointerInfo.ButtonChangeType;
- Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
- unsigned int buttons = 0, b;
- switch (pointerInfo.pointerType)
- {
- case PT_MOUSE:
- b = (((unsigned int)pointerInfo.ButtonChangeType - 1) / 2) * 3;
- buttons |= 1 << (b + 1); // add down
- buttons |= 1 << b; // add pressed
- _mousePointerBeganFunc(pointerId, buttons, position);
- break;
- case PT_TOUCH:
- POINTER_TOUCH_INFO touchInfo;
- GetPointerTouchInfo(pointerId, &touchInfo);
- buttons = 1 + 2; // first button down, pressed
- _touchPointerBeganFunc(pointerId, buttons, touchInfo.orientation, touchInfo.pressure, position);
- break;
- case PT_PEN:
- b = (((unsigned int)pointerInfo.ButtonChangeType - 1) / 2) * 3;
- buttons |= 1 << (b + 1); // add down
- buttons |= 1 << b; // add pressed
- _penPointerBeganFunc(pointerId, buttons, position);
- break;
- }
- break;
- }
- case WM_POINTERUP:
+ if ((pointerInfo.pointerFlags & POINTER_FLAG_CANCELED) != 0
+ || msg == WM_POINTERCAPTURECHANGED) msg = POINTER_CANCELLED;
+
+ switch (pointerInfo.pointerType)
{
- if ((pointerInfo.pointerFlags & POINTER_FLAG_CANCELED) != 0)
- {
- _pointerCancelledFunc(pointerId, pointerInfo.pointerType);
- }
- else
- {
- unsigned int buttons = 0, b;
- switch (pointerInfo.pointerType)
- {
- case PT_MOUSE:
- case PT_PEN:
- b = (((unsigned int)pointerInfo.ButtonChangeType - 1) / 2) * 3;
- buttons |= 1 << (b + 2); // add up
- break;
- case PT_TOUCH:
- buttons = 4; // first button up
- break;
- }
- _pointerEndedFunc(pointerId, pointerInfo.pointerType, buttons);
- }
+ case PT_MOUSE:
break;
- }
- case WM_POINTERUPDATE:
- {
- if ((pointerInfo.pointerFlags & POINTER_FLAG_CANCELED) != 0)
- {
- _pointerCancelledFunc(pointerId, pointerInfo.pointerType);
- }
- else
- {
- Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
- unsigned int buttonsSet = 0, buttonsClear = 0;
- if (pointerInfo.ButtonChangeType != POINTER_CHANGE_NONE)
- {
- unsigned int change = (unsigned int)pointerInfo.ButtonChangeType;
- if (change % 2 == 0) // up
- {
- unsigned int b = (change / 2 - 1) * 3;
- buttonsSet |= 1 << (b + 2); // add up
- buttonsClear |= 1 << b; // remove pressed
- }
- else // down
- {
- unsigned int b = ((change - 1) / 2) * 3;
- buttonsSet |= 1 << (b + 1); // add down
- buttonsSet |= 1 << b; // add pressed
- }
- }
- switch (pointerInfo.pointerType)
- {
- case PT_MOUSE:
- _mousePointerMovedFunc(pointerId, buttonsSet, buttonsClear, position);
- break;
- case PT_TOUCH:
- POINTER_TOUCH_INFO touchInfo;
- GetPointerTouchInfo(pointerId, &touchInfo);
- _touchPointerMovedFunc(pointerId, buttonsSet, buttonsClear, touchInfo.orientation, touchInfo.pressure, position);
- break;
- case PT_PEN:
- _penPointerMovedFunc(pointerId, buttonsSet, buttonsClear, position);
- break;
- }
- }
+ case PT_TOUCH:
+ POINTER_TOUCH_INFO touchInfo;
+ GetPointerTouchInfo(pointerId, &touchInfo);
+ data.flags = touchInfo.touchFlags;
+ data.mask = touchInfo.touchMask;
+ data.rotation = touchInfo.orientation;
+ data.pressure = touchInfo.pressure;
+ break;
+ case PT_PEN:
+ POINTER_PEN_INFO penInfo;
+ GetPointerPenInfo(pointerId, &penInfo);
+ data.flags = penInfo.penFlags;
+ data.mask = penInfo.penMask;
+ data.rotation = penInfo.rotation;
+ data.pressure = penInfo.pressure;
+ data.tiltX = penInfo.tiltX;
+ data.tiltY = penInfo.tiltY;
break;
}
- }
+
+ _delegate(pointerId, msg, pointerInfo.pointerType, position, data);
}
void decodeWin7Touches(UINT msg, WPARAM wParam, LPARAM lParam)
@@ -221,22 +155,36 @@ void decodeWin7Touches(UINT msg, WPARAM wParam, LPARAM lParam)
p.y = touch.y / 100;
ScreenToClient(_currentWindow, &p);
+ Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
+ PointerData data {};
+
if ((touch.dwFlags & TOUCHEVENTF_DOWN) != 0)
{
- Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
- _touchPointerBeganFunc(touch.dwID, 3, 0, 0, position);
+ msg = WM_POINTERDOWN;
+ data.changedButtons = POINTER_CHANGE_FIRSTBUTTON_DOWN;
}
else if ((touch.dwFlags & TOUCHEVENTF_UP) != 0)
{
- _pointerEndedFunc(touch.dwID, PT_TOUCH, 4);
+ msg = WM_POINTERLEAVE;
+ data.changedButtons = POINTER_CHANGE_FIRSTBUTTON_UP;
}
else if ((touch.dwFlags & TOUCHEVENTF_MOVE) != 0)
{
- Vector2 position = Vector2(((float)p.x - _offsetX) * _scaleX, _screenHeight - ((float)p.y - _offsetY) * _scaleY);
- _touchPointerMovedFunc(touch.dwID, 0, 0, 0, 0, position);
+ msg = WM_POINTERUPDATE;
}
+
+ _delegate(touch.dwID, msg, PT_TOUCH, position, data);
}
CloseTouchInputHandle((HTOUCHINPUT)lParam);
delete[] pInputs;
+}
+
+void log(const wchar_t* str)
+{
+#if _DEBUG
+ BSTR bstr = SysAllocString(str);
+ _log(bstr);
+ SysFreeString(bstr);
+#endif
}
\ No newline at end of file
diff --git a/External/WindowsTouch/WindowsTouch.h b/External/WindowsTouch/WindowsTouch.h
index ea06d9575..1a6d15976 100644
--- a/External/WindowsTouch/WindowsTouch.h
+++ b/External/WindowsTouch/WindowsTouch.h
@@ -2,10 +2,150 @@
* @author Valentin Simonov / http://va.lent.in/
*/
+#define WINVER _WIN32_WINNT_WIN7
+#define _WIN32_WINNT _WIN32_WINNT_WIN7
+
#include
#define EXPORT_API __declspec(dllexport)
+typedef enum
+{
+ WIN7,
+ WIN8
+} TOUCH_API;
+
+//
+
+#define WM_POINTERENTER 0x0249
+#define WM_POINTERLEAVE 0x024A
+#define WM_POINTERUPDATE 0x0245
+#define WM_POINTERDOWN 0x0246
+#define WM_POINTERUP 0x0247
+#define WM_POINTERCAPTURECHANGED 0x024C
+#define POINTER_CANCELLED 0x1000
+
+#define GET_POINTERID_WPARAM(wParam) (LOWORD(wParam))
+
+typedef enum {
+ PT_POINTER = 0x00000001,
+ PT_TOUCH = 0x00000002,
+ PT_PEN = 0x00000003,
+ PT_MOUSE = 0x00000004,
+ PT_TOUCHPAD = 0x00000005
+} POINTER_INPUT_TYPE;
+
+typedef enum {
+ POINTER_FLAG_NONE = 0x00000000,
+ POINTER_FLAG_NEW = 0x00000001,
+ POINTER_FLAG_INRANGE = 0x00000002,
+ POINTER_FLAG_INCONTACT = 0x00000004,
+ POINTER_FLAG_FIRSTBUTTON = 0x00000010,
+ POINTER_FLAG_SECONDBUTTON = 0x00000020,
+ POINTER_FLAG_THIRDBUTTON = 0x00000040,
+ POINTER_FLAG_FOURTHBUTTON = 0x00000080,
+ POINTER_FLAG_FIFTHBUTTON = 0x00000100,
+ POINTER_FLAG_PRIMARY = 0x00002000,
+ POINTER_FLAG_CONFIDENCE = 0x00004000,
+ POINTER_FLAG_CANCELED = 0x00008000,
+ POINTER_FLAG_DOWN = 0x00010000,
+ POINTER_FLAG_UPDATE = 0x00020000,
+ POINTER_FLAG_UP = 0x00040000,
+ POINTER_FLAG_WHEEL = 0x00080000,
+ POINTER_FLAG_HWHEEL = 0x00100000,
+ POINTER_FLAG_CAPTURECHANGED = 0x00200000,
+ POINTER_FLAG_HASTRANSFORM = 0x00400000
+} POINTER_FLAGS;
+
+typedef enum {
+ POINTER_CHANGE_NONE,
+ POINTER_CHANGE_FIRSTBUTTON_DOWN,
+ POINTER_CHANGE_FIRSTBUTTON_UP,
+ POINTER_CHANGE_SECONDBUTTON_DOWN,
+ POINTER_CHANGE_SECONDBUTTON_UP,
+ POINTER_CHANGE_THIRDBUTTON_DOWN,
+ POINTER_CHANGE_THIRDBUTTON_UP,
+ POINTER_CHANGE_FOURTHBUTTON_DOWN,
+ POINTER_CHANGE_FOURTHBUTTON_UP,
+ POINTER_CHANGE_FIFTHBUTTON_DOWN,
+ POINTER_CHANGE_FIFTHBUTTON_UP,
+} POINTER_BUTTON_CHANGE_TYPE;
+
+typedef enum {
+ TOUCH_FLAG_NONE = 0x00000000
+} TOUCH_FLAGS;
+
+typedef enum {
+ TOUCH_MASK_NONE = 0x00000000,
+ TOUCH_MASK_CONTACTAREA = 0x00000001,
+ TOUCH_MASK_ORIENTATION = 0x00000002,
+ TOUCH_MASK_PRESSURE = 0x00000004
+} TOUCH_MASK;
+
+typedef enum {
+ PEN_FLAG_NONE = 0x00000000,
+ PEN_FLAG_BARREL = 0x00000001,
+ PEN_FLAG_INVERTED = 0x00000002,
+ PEN_FLAG_ERASER = 0x00000004
+} PEN_FLAGS;
+
+typedef enum {
+ PEN_MASK_NONE = 0x00000000,
+ PEN_MASK_PRESSURE = 0x00000001,
+ PEN_MASK_ROTATION = 0x00000002,
+ PEN_MASK_TILT_X = 0x00000004,
+ PEN_MASK_TILT_Y = 0x00000008
+} PEN_MASK;
+
+typedef struct {
+ POINTER_INPUT_TYPE pointerType;
+ UINT32 pointerId;
+ UINT32 frameId;
+ POINTER_FLAGS pointerFlags;
+ HANDLE sourceDevice;
+ HWND hwndTarget;
+ POINT ptPixelLocation;
+ POINT ptHimetricLocation;
+ POINT ptPixelLocationRaw;
+ POINT ptHimetricLocationRaw;
+ DWORD dwTime;
+ UINT32 historyCount;
+ INT32 InputData;
+ DWORD dwKeyStates;
+ UINT64 PerformanceCount;
+ POINTER_BUTTON_CHANGE_TYPE ButtonChangeType;
+} POINTER_INFO;
+
+typedef struct {
+ POINTER_INFO pointerInfo;
+ TOUCH_FLAGS touchFlags;
+ TOUCH_MASK touchMask;
+ RECT rcContact;
+ RECT rcContactRaw;
+ UINT32 orientation;
+ UINT32 pressure;
+} POINTER_TOUCH_INFO;
+
+typedef struct {
+ POINTER_INFO pointerInfo;
+ PEN_FLAGS penFlags;
+ PEN_MASK penMask;
+ UINT32 pressure;
+ UINT32 rotation;
+ INT32 tiltX;
+ INT32 tiltY;
+} POINTER_PEN_INFO;
+
+typedef BOOL (WINAPI *GET_POINTER_INFO)(UINT32 pointerId, POINTER_INFO *pointerInfo);
+typedef BOOL (WINAPI *GET_POINTER_TOUCH_INFO)(UINT32 pointerId, POINTER_TOUCH_INFO *pointerInfo);
+typedef BOOL (WINAPI *GET_POINTER_PEN_INFO)(UINT32 pointerId, POINTER_PEN_INFO *pointerInfo);
+
+GET_POINTER_INFO GetPointerInfo;
+GET_POINTER_TOUCH_INFO GetPointerTouchInfo;
+GET_POINTER_PEN_INFO GetPointerPenInfo;
+
+//
+
struct Vector2
{
float x, y;
@@ -17,29 +157,23 @@ struct Vector2
}
};
-typedef enum
+struct PointerData
{
- WIN7,
- WIN8
-} TOUCH_API;
+ POINTER_FLAGS pointerFlags;
+ UINT32 flags;
+ UINT32 mask;
+ POINTER_BUTTON_CHANGE_TYPE changedButtons;
+ UINT32 rotation;
+ UINT32 pressure;
+ INT32 tiltX;
+ INT32 tiltY;
+};
+
+typedef void(__stdcall * PointerDelegatePtr)(int id, UINT32 event, POINTER_INPUT_TYPE type, Vector2 position, PointerData data);
+typedef void(__stdcall * LogFuncPtr)(BSTR log);
-typedef void(__stdcall * MousePointerBeganFuncPtr)(int id, unsigned int buttons, Vector2 position);
-typedef void(__stdcall * MousePointerMovedFuncPtr)(int id, unsigned int buttonsSet, unsigned int buttonsClear, Vector2 position);
-typedef void(__stdcall * TouchPointerBeganFuncPtr)(int id, unsigned int buttons, unsigned int orientation, unsigned int pressure, Vector2 position);
-typedef void(__stdcall * TouchPointerMovedFuncPtr)(int id, unsigned int buttonsSet, unsigned int orientation, unsigned int pressure, unsigned int buttonsClear, Vector2 position);
-typedef void(__stdcall * PenPointerBeganFuncPtr)(int id, unsigned int buttons, Vector2 position);
-typedef void(__stdcall * PenPointerMovedFuncPtr)(int id, unsigned int buttonsSet, unsigned int buttonsClear, Vector2 position);
-typedef void(__stdcall * PointerEndedFuncPtr)(int id, POINTER_INPUT_TYPE type, unsigned int buttons);
-typedef void(__stdcall * PointerCancelledFuncPtr)(int id, POINTER_INPUT_TYPE type);
-
-MousePointerBeganFuncPtr _mousePointerBeganFunc;
-MousePointerMovedFuncPtr _mousePointerMovedFunc;
-TouchPointerBeganFuncPtr _touchPointerBeganFunc;
-TouchPointerMovedFuncPtr _touchPointerMovedFunc;
-PenPointerBeganFuncPtr _penPointerBeganFunc;
-PenPointerMovedFuncPtr _penPointerMovedFunc;
-PointerEndedFuncPtr _pointerEndedFunc;
-PointerCancelledFuncPtr _pointerCancelledFunc;
+PointerDelegatePtr _delegate;
+LogFuncPtr _log;
HWND _currentWindow;
int _screenWidth;
int _screenHeight;
@@ -52,15 +186,12 @@ LONG_PTR _oldWindowProc;
extern "C"
{
- EXPORT_API void __stdcall Init(TOUCH_API api,
- MousePointerBeganFuncPtr mouseBegan, MousePointerMovedFuncPtr mouseMoved,
- TouchPointerBeganFuncPtr touchBegan, TouchPointerMovedFuncPtr touchMoved,
- PenPointerBeganFuncPtr penBegan, PenPointerMovedFuncPtr penMoved,
- PointerEndedFuncPtr ended, PointerCancelledFuncPtr cancelled);
+ EXPORT_API void __stdcall Init(TOUCH_API api, LogFuncPtr logFunc, PointerDelegatePtr delegate);
EXPORT_API void __stdcall SetScreenParams(int width, int height, float offsetX, float offsetY, float scaleX, float scaleY);
EXPORT_API void __stdcall Dispose();
}
+void log(const wchar_t* str);
LRESULT CALLBACK wndProc8(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK wndProc7(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
void decodeWin8Touches(UINT msg, WPARAM wParam, LPARAM lParam);
diff --git a/External/WindowsTouch/WindowsTouch.vcxproj b/External/WindowsTouch/WindowsTouch.vcxproj
index 50247a536..42ac710b2 100644
--- a/External/WindowsTouch/WindowsTouch.vcxproj
+++ b/External/WindowsTouch/WindowsTouch.vcxproj
@@ -23,6 +23,7 @@
Win32Proj
WindowsTouch
8.1
+ WindowsTouch
diff --git a/README.md b/README.md
index 8ef8b21f2..5a13dc27b 100644
--- a/README.md
+++ b/README.md
@@ -1,37 +1,63 @@

-## TouchScript — multitouch library for Unity
-
-**TouchScript** is a multitouch library for Unity. Inspired by iOS, **TouchScript** makes handling complex gesture interactions on any touch surface much easier.
-
-> Warning! [Please read before upgrading](https://github.com/TouchScript/TouchScript/wiki/Upgrading).
-> Please ask all questions on [the Forum](http://touchprefab.com/index.php).
-
-## Features
-- **Supports many touch input methods starting from smartphones to giant touch surfaces: Windows 7/8 touch, mobile (iOS, Android, Windows Store/Windows Phone), TUIO, mouse.**
-- **Abstracts touch and gesture logic from input methods and platforms. Your touch-related code will be the same everywhere.**
-- **Manages simultaneous gesture recognition within scene hierarchy.**
-- **Is infinitely extensible. You can add custom input methods, gestures and hit test logic in a matter of minutes.**
-- Comes with many commonly used gestures.
-- Supports all available platforms.
-- Doesn't require Unity Pro.
-- Highly efficient and optimized.
-- Has very easy and intuitive API.
-- Uses events in C# and SendMessage in UnityScript.
-- Has PlayMaker actions.
-- Takes into account DPI differences between a large touch surface and an iPad.
-- Comes with many examples, is heavily documented with step-by-step tutorials.
-- Groups touch points into clusters on big touch surfaces.
-- Easy to test multitouch gestures without actual multitouch device using built-in second touch simulator (activated with ALT+CLICK), [TUIOPad on iOS](https://itunes.apple.com/us/app/tuiopad/id412446962) or [TUIODroid on Android](https://play.google.com/store/apps/details?id=tuioDroid.impl&hl=en"). [Read more](Testing-multitouch-on-a-PC).
-- **It's free and open-source. Licensed under MIT license.**
-
-Developed by Valentin Simonov at [Interactive Lab](http://interactivelab.ru).
-
-## Documentation
-Please refer to [Wiki](https://github.com/TouchScript/TouchScript/wiki) for up-to-date documentation and tutorials.
-If you have questions please read the [FAQ](https://github.com/TouchScript/TouchScript/wiki/FAQ) first. After that search [the Forum](http://touchprefab.com/index.php).
-If you are sure that you found a bug post an [issue](https://github.com/TouchScript/TouchScript/issues).
-API documentation is available [here](http://touchscript.github.io/docs/index.html).
-
-## Consulting and contract work
-If you require custom functionality for your project or consulting services please contact me at **v@lent.in**.
+## TouchScript — multi-touch library for Unity
+
+When working on a project for mobile devices or PCs with touch input you will soon require basic gestures like tap, pan, pinch and zoom — they are not hard to implement manually using Unity API or using a package from Asset Store. The hard part is to make these gestures work together, e.g. to have a button with a tap gesture placed on a zoomable window. This is where you will need **TouchScript** — it makes handling complex gesture interactions on any touch surface an effortless job.
+
+## Why TouchScript?
+- TouchScript abstracts touch and gesture logic from input methods and platforms. Your touch-related code will be the same everywhere.
+- TouchScript supports many touch input methods starting from smartphones to giant touch surfaces: mouse, Windows 7/8 touch, mobile (iOS, Android, Windows Store/Windows Phone), TUIO.
+- TouchScript includes common gesture implementations: press, release, tap, long press, flick, pinch/scale/rotate.
+- TouchScript allows you to write your own gestures and custom pointer input logic.
+- TouchScript manages gestures in transform hierarchy and makes sure that the most relevant gesture will receive touch input.
+- TouchScript comes with many examples and is extensively documented.
+- TouchScript makes it easy to test multi-touch gestures without an actual multi-touch device using built-in second touch simulator (activated with Alt + click), [TUIOPad on iOS](https://itunes.apple.com/us/app/tuiopad/id412446962) or [TUIODroid on Android](https://play.google.com/store/apps/details?id=tuioDroid.impl&hl=en"). [Read more](Testing-multitouch-on-a-PC).
+- It's free and open-source. Licensed under MIT license.
+
+Developed by Valentin Simonov.
+
+## Getting started
+### Downloading the package
+To use **TouchScript** in your project you either need to
+* download the [latest release from Github](https://github.com/TouchScript/TouchScript/releases),
+* or get it from [Asset Store](https://www.assetstore.unity3d.com/en/#!/content/7394),
+* or clone the [repository](https://github.com/TouchScript/TouchScript) and use the source ([more info on how to do it](https://github.com/TouchScript/TouchScript/wiki/How-to-Contribute)).
+
+### Your first TouchScript project
+To test how TouchScript works, create an empty scene and drag two prefabs from `TouchScript/Prefabs` folder to the scene: `TouchManager` and `Cursors`. Press Play and click or touch (if your PC supports touch input) the Game View — you will see colored circles, pointer cursors.
+
+> Note: to simulate a second pointer you can hold Alt and click anywhere within the Game View.
+
+You can make any GameObject react to touch input — just attach one of the scripts called Gestures to it. TouchScript ships with a few built-in Gestures which you can find in `Component/TouchScript/Gestures` menu. It is also possible to write your own gestures.
+
+To test how built-in Gestures work, create an empty cube in the scene and attach a `TransformGesture` to it either from `Component` menu or `Add Component` button. Make the cube large enough to be able to touch it with two fingers. Attach another component called `Transformer` to the cube — this component listens to events from `TransformGesture` and applies translation, rotation and scaling to the GameObject.
+
+Press Play. Note how you can drag the object with one touch and scale or rotate it with two touches. Don't forget that you can use Alt + click to simulate a second pointer ([read more more about testing multi-touch gestures](https://github.com/TouchScript/TouchScript/wiki/Testing-multitouch-on-a-PC)).
+
+### Examples
+TouchScript comes with many examples in `TouchScript/Examples` folder. Open `Examples.unity` scene and read description for every example to find out what it is about.
+
+[All examples are explaned here.](https://github.com/TouchScript/TouchScript/wiki/Examples)
+
+### What to read next
+- [How to receive a pointer.](https://github.com/TouchScript/TouchScript/wiki/Pointer-Input)
+- [What is a Gesture and how to work with it.](https://github.com/TouchScript/TouchScript/wiki/Gestures)
+- [What is an Input Source and why it is needed.](https://github.com/TouchScript/TouchScript/wiki/Input-Sources)
+- [What is a Layer and why it is needed.](https://github.com/TouchScript/TouchScript/wiki/Layers)
+- [Some info on how TouchScript works internally.](https://github.com/TouchScript/TouchScript/wiki/Main-Ideas-Behind-TouchScript)
+- [How to affect which objects can be touched.](https://github.com/TouchScript/TouchScript/wiki/Modifying-Hits)
+- [How to change touch coordinates from an input device.](https://github.com/TouchScript/TouchScript/wiki/Remapping-Coordinates-From-an-Input-Source)
+- [How to write a custom Gesture.](https://github.com/TouchScript/TouchScript/wiki/Tutorial.-Writing-a-Custom-Gesture.)
+- [How you can help.](https://github.com/TouchScript/TouchScript/wiki/How-to-Contribute)
+
+## Need help?
+> If you have a problem using TouchScript or running examples please check the [FAQ](FAQ) before submitting issues.
+
+ - [FAQ](FAQ)
+_Some of the questions have been already asked multiple times. Check if yours is in the list._
+ - [Documentation](http://touchscript.github.io/docs/)
+_Complete up-to-date generated docs with all public API annotated._
+ - [Official Forum](http://touchprefab.com/index.php)
+_Want to ask a question about TouchScript? Use the official Forum._
+ - [Issues](https://github.com/TouchScript/TouchScript/issues)
+_Found a bug? Got a feature request? Feel free to post it in Issues._
diff --git a/Resources/Icons/Axes/Axes.xfl b/Resources/Icons/Axes/Axes.xfl
new file mode 100644
index 000000000..860a820ec
--- /dev/null
+++ b/Resources/Icons/Axes/Axes.xfl
@@ -0,0 +1 @@
+PROXY-CS5
\ No newline at end of file
diff --git a/Resources/Icons/Axes/DOMDocument.xml b/Resources/Icons/Axes/DOMDocument.xml
new file mode 100644
index 000000000..4c20f7dd3
--- /dev/null
+++ b/Resources/Icons/Axes/DOMDocument.xml
@@ -0,0 +1,656 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ X
+
+
+
+
+
+ Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ X
+
+
+
+
+
+ Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Y
+
+
+
+
+
+ Z
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ X
+
+
+
+
+
+ Y
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ??
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Resources/Icons/Axes/LIBRARY/Arrow.xml b/Resources/Icons/Axes/LIBRARY/Arrow.xml
new file mode 100644
index 000000000..8b36b0679
--- /dev/null
+++ b/Resources/Icons/Axes/LIBRARY/Arrow.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Resources/Icons/Axes/LIBRARY/Line.xml b/Resources/Icons/Axes/LIBRARY/Line.xml
new file mode 100644
index 000000000..a4a6db0ad
--- /dev/null
+++ b/Resources/Icons/Axes/LIBRARY/Line.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Resources/Icons/Axes/META-INF/metadata.xml b/Resources/Icons/Axes/META-INF/metadata.xml
new file mode 100644
index 000000000..e69de29bb
diff --git a/Resources/Icons/Axes/MobileSettings.xml b/Resources/Icons/Axes/MobileSettings.xml
new file mode 100644
index 000000000..e69de29bb
diff --git a/Resources/Icons/Axes/PublishSettings.xml b/Resources/Icons/Axes/PublishSettings.xml
new file mode 100644
index 000000000..8258315df
--- /dev/null
+++ b/Resources/Icons/Axes/PublishSettings.xml
@@ -0,0 +1,175 @@
+
+
+
+ 1
+ 1
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ axes.swf
+ axes.exe
+ axes.app
+ axes.html
+ axes.gif
+ axes.jpg
+ axes.png
+ axes.swc
+ axes.oam
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 25,0,0,0;23,0,0,0;21,0,0,0;20,0,0,0;19,0,0,0;18,0,0,0;17,0,0,0;16,0,0,0;14,0,0,0;13,0,0,0;12,0,0,0;11,9,0,0;11,8,0,0;11,7,0,0;11,6,0,0;11,5,0,0;11,4,0,0;11,3,0,0;11,2,0,0;11,1,0,0;10,3,0,0;10,2,153,0;10,1,52,0;9,0,124,0;8,0,24,0;7,0,14,0;6,0,79,0;5,0,58,0;4,0,32,0;3,0,8,0;2,0,1,12;1,0,0,1;
+ 1
+ 1
+ axes_content.html
+ axes_alternate.html
+ 0
+
+ 550
+ 400
+ 0
+ 0
+ 1
+ 0
+ 0
+ 1
+ 1
+ 4
+ 0
+ 0
+ 1
+ 0
+ /Users/valyard/Library/Application Support/Adobe/Animate CC 2017/en_US/Configuration/HTML/Default.html
+ 1
+
+
+
+
+ 0
+ 0
+ 0
+ 80
+ 0
+ 0
+ 7
+ 0
+ 7
+ 0
+ 36
+ FlashPlayer25.0
+ 3
+ 1
+
+ .
+ CONFIG::FLASH_AUTHORING="true";
+ 0
+
+ 1
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+
+ 2
+ 4
+ 4096
+ AS3
+ 1
+ 1
+ 0
+ 15
+ 1
+ 0
+ 4102
+ rsl
+ wrap
+ $(AppConfig)/ActionScript 3.0/rsls/loader_animation.swf
+
+
+ $(AppConfig)/ActionScript 3.0/libs
+ merge
+
+
+
+
+ 0
+
+
+
+ 550
+ 400
+ 0
+ 4718592
+ 0
+ 80
+ 1
+
+
+ 550
+ 400
+ 0
+ 1
+ 1
+
+ 1
+ 255
+
+
+ 550
+ 400
+ 1
+ 1
+ 24-bit with Alpha
+ 255
+
+
+ 550
+ 400
+ 1
+ 0
+
+ 0
+
+
+ true
+ axes.zip
+
+
+ true
+ true
+ false
+ Untitled-1.svg
+ images
+ true
+ 0.1
+
+
+ true
+ Untitled-1.app
+
+
+ true
+ Untitled-1.exe
+
+
+
\ No newline at end of file
diff --git a/Resources/Icons/Axes/bin/SymDepend.cache b/Resources/Icons/Axes/bin/SymDepend.cache
new file mode 100644
index 000000000..cf9bc671e
Binary files /dev/null and b/Resources/Icons/Axes/bin/SymDepend.cache differ
diff --git a/Source/Assets/TouchScript/Scripts/Behaviors/Transform.meta b/Source/Assets/Test.meta
similarity index 67%
rename from Source/Assets/TouchScript/Scripts/Behaviors/Transform.meta
rename to Source/Assets/Test.meta
index a6e0f489a..ed78c8085 100644
--- a/Source/Assets/TouchScript/Scripts/Behaviors/Transform.meta
+++ b/Source/Assets/Test.meta
@@ -1,7 +1,7 @@
fileFormatVersion: 2
-guid: 94c706edb4eee4fa8a0d0fa0aad1e396
+guid: 7e1fcc64fde35914b886872755292f44
folderAsset: yes
-timeCreated: 1477922543
+timeCreated: 1490462516
licenseType: Pro
DefaultImporter:
userData:
diff --git a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset
index 501628013..cc53ace5a 100644
--- a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset
+++ b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset
@@ -8,8 +8,10 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 927472823, guid: 20c2a163775f09b4cafa29b19d0c9204, type: 3}
+ m_Script: {fileID: 11500000, guid: 3bb766ec5aebe4332b86a7b9b50eb01d, type: 3}
m_Name: FullHD TV 42
m_EditorClassIdentifier:
name: FullHD TV 42
dpi: 52
+ nativeDPI: 52
+ nativeResolution: {x: 1920, y: 1080}
diff --git a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset.meta b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset.meta
index 24e043f37..b006cddf5 100644
--- a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset.meta
+++ b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 42.asset.meta
@@ -1,4 +1,9 @@
fileFormatVersion: 2
-guid: 2bc291805b9384c48a7b1776bff51829
+guid: cce7a04b5eb9d024899e39e60d27db64
+timeCreated: 1500668483
+licenseType: Pro
NativeFormatImporter:
+ mainObjectFileID: 11400000
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset
index fe22896ed..9ec9303da 100644
--- a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset
+++ b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset
@@ -8,8 +8,10 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 927472823, guid: 20c2a163775f09b4cafa29b19d0c9204, type: 3}
+ m_Script: {fileID: 11500000, guid: 3bb766ec5aebe4332b86a7b9b50eb01d, type: 3}
m_Name: FullHD TV 50
m_EditorClassIdentifier:
name: FullHD TV 50
dpi: 44
+ nativeDPI: 44
+ nativeResolution: {x: 1920, y: 1080}
diff --git a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset.meta b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset.meta
index 02556d447..fd9eaaf68 100644
--- a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset.meta
+++ b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 50.asset.meta
@@ -1,4 +1,9 @@
fileFormatVersion: 2
-guid: 04c17a8fa37b750408c1aaa5a0fb31af
+guid: ee9d224e766697b43a3bbc68ff230c15
+timeCreated: 1500668483
+licenseType: Pro
NativeFormatImporter:
+ mainObjectFileID: 11400000
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 55.asset b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 55.asset
index 2a71f411e..bc9b0012f 100644
--- a/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 55.asset
+++ b/Source/Assets/TouchScript/Devices/Display/TVs/FullHD TV 55.asset
@@ -8,8 +8,10 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 927472823, guid: 20c2a163775f09b4cafa29b19d0c9204, type: 3}
+ m_Script: {fileID: 11500000, guid: 3bb766ec5aebe4332b86a7b9b50eb01d, type: 3}
m_Name: FullHD TV 55
m_EditorClassIdentifier:
name: FullHD TV 55
dpi: 40
+ nativeDPI: 40
+ nativeResolution: {x: 1920, y: 1080}
diff --git a/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset b/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset
index 9e67fcbae..0dc3fff25 100644
--- a/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset
+++ b/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset
@@ -8,8 +8,10 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 927472823, guid: 20c2a163775f09b4cafa29b19d0c9204, type: 3}
+ m_Script: {fileID: 11500000, guid: 3bb766ec5aebe4332b86a7b9b50eb01d, type: 3}
m_Name: Unknown Device
m_EditorClassIdentifier:
name: Unknown Device
dpi: 96
+ nativeDPI: 96
+ nativeResolution: {x: 1920, y: 1080}
diff --git a/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset.meta b/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset.meta
index 0a5e73264..899c0af80 100644
--- a/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset.meta
+++ b/Source/Assets/TouchScript/Devices/Display/Unknown Device.asset.meta
@@ -1,4 +1,9 @@
fileFormatVersion: 2
-guid: e47dcd113beb42843965ea5aa86272dc
+guid: 1d1252c9bfc58b44293c994720c07f5e
+timeCreated: 1500668483
+licenseType: Pro
NativeFormatImporter:
+ mainObjectFileID: 11400000
userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/Behaviors/Visualizer.meta b/Source/Assets/TouchScript/Editor/Behaviors/Cursors.meta
similarity index 100%
rename from Source/Assets/TouchScript/Editor/Behaviors/Visualizer.meta
rename to Source/Assets/TouchScript/Editor/Behaviors/Cursors.meta
diff --git a/Source/Assets/TouchScript/Editor/Behaviors/Cursors/CursorManagerEditor.cs b/Source/Assets/TouchScript/Editor/Behaviors/Cursors/CursorManagerEditor.cs
new file mode 100644
index 000000000..9e1a4a1e0
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Behaviors/Cursors/CursorManagerEditor.cs
@@ -0,0 +1,68 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using TouchScript.Behaviors.Cursors;
+using UnityEditor;
+using UnityEngine;
+using TouchScript.Editor.EditorUI;
+
+namespace TouchScript.Editor.Behaviors.Visualizer
+{
+ [CustomEditor(typeof(CursorManager))]
+ internal sealed class CursorManagerEditor : UnityEditor.Editor
+ {
+ public static readonly GUIContent TEXT_DPI_HEADER = new GUIContent("Use DPI", "Scale touch pointer based on DPI.");
+ public static readonly GUIContent TEXT_CURSORS_HEADER = new GUIContent("Cursors", "Cursor prefabs used for different pointer types.");
+ public static readonly GUIContent TEXT_POINTER_SIZE = new GUIContent("Pointer size (cm)", "Pointer size in cm based on current DPI.");
+ public static readonly GUIContent TEXT_POINTER_PIXEL_SIZE = new GUIContent("Pointer size (px)", "Pointer size in pixels.");
+
+ private SerializedProperty mousePointerProxy, touchPointerProxy, penPointerProxy, objectPointerProxy;
+ private SerializedProperty useDPI, cursorSize, cursorPixelSize;
+ private SerializedProperty cursorsProps;
+
+ private void OnEnable()
+ {
+ mousePointerProxy = serializedObject.FindProperty("mouseCursor");
+ touchPointerProxy = serializedObject.FindProperty("touchCursor");
+ penPointerProxy = serializedObject.FindProperty("penCursor");
+ objectPointerProxy = serializedObject.FindProperty("objectCursor");
+
+ useDPI = serializedObject.FindProperty("useDPI");
+ cursorSize = serializedObject.FindProperty("cursorSize");
+ cursorPixelSize = serializedObject.FindProperty("cursorPixelSize");
+
+ cursorsProps = serializedObject.FindProperty("cursorsProps");
+ }
+
+ public override void OnInspectorGUI()
+ {
+ serializedObject.Update();
+
+ GUILayout.Space(5);
+
+ EditorGUILayout.PropertyField(useDPI, TEXT_DPI_HEADER);
+ if (useDPI.boolValue)
+ {
+ EditorGUILayout.PropertyField(cursorSize, TEXT_POINTER_SIZE);
+ }
+ else
+ {
+ EditorGUILayout.PropertyField(cursorPixelSize, TEXT_POINTER_PIXEL_SIZE);
+ }
+
+ var display = GUIElements.Header(TEXT_CURSORS_HEADER, cursorsProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ EditorGUILayout.PropertyField(mousePointerProxy, new GUIContent("Mouse Pointer Proxy"));
+ EditorGUILayout.PropertyField(touchPointerProxy, new GUIContent("Touch Pointer Proxy"));
+ EditorGUILayout.PropertyField(penPointerProxy, new GUIContent("Pen Pointer Proxy"));
+ EditorGUILayout.PropertyField(objectPointerProxy, new GUIContent("Object Pointer Proxy"));
+ EditorGUI.indentLevel--;
+ }
+
+ serializedObject.ApplyModifiedProperties();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Behaviors/Visualizer/TouchVisualizerEditor.cs.meta b/Source/Assets/TouchScript/Editor/Behaviors/Cursors/CursorManagerEditor.cs.meta
similarity index 100%
rename from Source/Assets/TouchScript/Editor/Behaviors/Visualizer/TouchVisualizerEditor.cs.meta
rename to Source/Assets/TouchScript/Editor/Behaviors/Cursors/CursorManagerEditor.cs.meta
diff --git a/Source/Assets/TouchScript/Editor/Behaviors/TransformerEditor.cs b/Source/Assets/TouchScript/Editor/Behaviors/TransformerEditor.cs
index a3df54b65..9ab5068d0 100644
--- a/Source/Assets/TouchScript/Editor/Behaviors/TransformerEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Behaviors/TransformerEditor.cs
@@ -6,66 +6,67 @@
using UnityEditor;
using UnityEngine;
using System.Reflection;
-using TouchScript.Editor.Utils;
+using TouchScript.Editor.EditorUI;
namespace TouchScript.Editor.Behaviors
{
[CustomEditor(typeof(Transformer), true)]
internal class TransformerEditor : UnityEditor.Editor
{
- public static readonly GUIContent TEXT_SMOOTHING_HEADER = new GUIContent("Smoothing", "Applies smoothing to transform actions. This allows to reduce jagged movements but adds some visual lag.");
- public static readonly GUIContent TEXT_SMOOTHING_FACTOR = new GUIContent("Factor", "Indicates how much smoothing to apply. 0 - no smoothing, 100000 - maximum.");
- public static readonly GUIContent TEXT_POSITION_THRESHOLD = new GUIContent("Position Threshold", "Minimum distance between target position and smoothed position when to stop automatic movement.");
- public static readonly GUIContent TEXT_ROTATION_THRESHOLD = new GUIContent("Rotation Threshold", "Minimum angle between target rotation and smoothed rotation when to stop automatic movement.");
- public static readonly GUIContent TEXT_SCALE_THRESHOLD = new GUIContent("Scale Threshold", "Minimum difference between target scale and smoothed scale when to stop automatic movement.");
- public static readonly GUIContent TEXT_ALLOW_CHANGING = new GUIContent("Allow Changing From Outside", "Indicates if this transform can be changed from another script.");
- public static readonly GUIContent TEXT_SMOOTHING_FACTOR_DESC = new GUIContent("Indicates how much smoothing to apply. \n0 - no smoothing, 100000 - maximum.");
+ public static readonly GUIContent TEXT_SMOOTHING_HEADER = new GUIContent("Smoothing", "Applies smoothing to transform actions. This allows to reduce jagged movements but adds some visual lag.");
+ public static readonly GUIContent TEXT_SMOOTHING_FACTOR = new GUIContent("Factor", "Indicates how much smoothing to apply. 0 - no smoothing, 100000 - maximum.");
+ public static readonly GUIContent TEXT_POSITION_THRESHOLD = new GUIContent("Position Threshold", "Minimum distance between target position and smoothed position when to stop automatic movement.");
+ public static readonly GUIContent TEXT_ROTATION_THRESHOLD = new GUIContent("Rotation Threshold", "Minimum angle between target rotation and smoothed rotation when to stop automatic movement.");
+ public static readonly GUIContent TEXT_SCALE_THRESHOLD = new GUIContent("Scale Threshold", "Minimum difference between target scale and smoothed scale when to stop automatic movement.");
+ public static readonly GUIContent TEXT_ALLOW_CHANGING = new GUIContent("Allow Changing From Outside", "Indicates if this transform can be changed from another script.");
+ public static readonly GUIContent TEXT_SMOOTHING_FACTOR_DESC = new GUIContent("Indicates how much smoothing to apply. \n0 - no smoothing, 100000 - maximum.");
- private Transformer instance;
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component receives transform data from Transform Gestures and applies changes to the GameObject.");
+
+ private Transformer instance;
private SerializedProperty enableSmoothing, allowChangingFromOutside;
-// private SerializedProperty smoothingFactor, positionThreshold, rotationThreshold, scaleThreshold;
- private PropertyInfo enableSmoothing_prop;
+ private PropertyInfo enableSmoothing_prop;
protected virtual void OnEnable()
{
enableSmoothing = serializedObject.FindProperty("enableSmoothing");
-// smoothingFactor = serializedObject.FindProperty("smoothingFactor");
-// positionThreshold = serializedObject.FindProperty("positionThreshold");
-// rotationThreshold = serializedObject.FindProperty("rotationThreshold");
-// scaleThreshold = serializedObject.FindProperty("scaleThreshold");
allowChangingFromOutside = serializedObject.FindProperty("allowChangingFromOutside");
instance = target as Transformer;
- var type = instance.GetType();
- enableSmoothing_prop = type.GetProperty("EnableSmoothing", BindingFlags.Instance | BindingFlags.Public);
+ var type = instance.GetType();
+ enableSmoothing_prop = type.GetProperty("EnableSmoothing", BindingFlags.Instance | BindingFlags.Public);
}
public override void OnInspectorGUI()
{
- serializedObject.UpdateIfDirtyOrScript();
+#if UNITY_5_6_OR_NEWER
+ serializedObject.UpdateIfRequiredOrScript();
+#else
+ serializedObject.UpdateIfDirtyOrScript();
+#endif
- GUILayout.Space(5);
+ GUILayout.Space(5);
- var display = GUIElements.Header(TEXT_SMOOTHING_HEADER, enableSmoothing, enableSmoothing, enableSmoothing_prop);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!enableSmoothing.boolValue))
- {
- instance.SmoothingFactor = EditorGUILayout.FloatField(TEXT_SMOOTHING_FACTOR, instance.SmoothingFactor);
- EditorGUILayout.LabelField(TEXT_SMOOTHING_FACTOR_DESC, GUIElements.HelpBox);
- instance.PositionThreshold = EditorGUILayout.FloatField(TEXT_POSITION_THRESHOLD, instance.PositionThreshold);
- instance.RotationThreshold = EditorGUILayout.FloatField(TEXT_ROTATION_THRESHOLD, instance.RotationThreshold);
- instance.ScaleThreshold = EditorGUILayout.FloatField(TEXT_SCALE_THRESHOLD, instance.ScaleThreshold);
- EditorGUILayout.PropertyField(allowChangingFromOutside, TEXT_ALLOW_CHANGING);
- }
- EditorGUI.indentLevel--;
- }
+ var display = GUIElements.Header(TEXT_SMOOTHING_HEADER, enableSmoothing, enableSmoothing, enableSmoothing_prop);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(!enableSmoothing.boolValue))
+ {
+ instance.SmoothingFactor = EditorGUILayout.FloatField(TEXT_SMOOTHING_FACTOR, instance.SmoothingFactor);
+ EditorGUILayout.LabelField(TEXT_SMOOTHING_FACTOR_DESC, GUIElements.HelpBox);
+ instance.PositionThreshold = EditorGUILayout.FloatField(TEXT_POSITION_THRESHOLD, instance.PositionThreshold);
+ instance.RotationThreshold = EditorGUILayout.FloatField(TEXT_ROTATION_THRESHOLD, instance.RotationThreshold);
+ instance.ScaleThreshold = EditorGUILayout.FloatField(TEXT_SCALE_THRESHOLD, instance.ScaleThreshold);
+ EditorGUILayout.PropertyField(allowChangingFromOutside, TEXT_ALLOW_CHANGING);
+ }
+ EditorGUI.indentLevel--;
+ }
+ EditorGUILayout.LabelField(TEXT_HELP, GUIElements.HelpBox);
serializedObject.ApplyModifiedProperties();
}
-
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Behaviors/Visualizer/TouchVisualizerEditor.cs b/Source/Assets/TouchScript/Editor/Behaviors/Visualizer/TouchVisualizerEditor.cs
deleted file mode 100644
index b57c59e1a..000000000
--- a/Source/Assets/TouchScript/Editor/Behaviors/Visualizer/TouchVisualizerEditor.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * @author Valentin Simonov / http://va.lent.in/
- */
-
-using TouchScript.Behaviors.Visualizer;
-using UnityEditor;
-using UnityEngine;
-using TouchScript.Editor.Utils;
-
-namespace TouchScript.Editor.Behaviors.Visualizer
-{
-
- [CustomEditor(typeof(PointerVisualizer))]
- internal sealed class TouchVisualizerEditor : UnityEditor.Editor
- {
-
- public static readonly GUIContent TEXT_SETTINGS_HEADER = new GUIContent("Pointer settings", "General pointersettings.");
- public static readonly GUIContent TEXT_DPI_HEADER = new GUIContent("Use DPI", "Scale touch pointer based on DPI.");
- public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced settings.");
-
- public static readonly GUIContent TEXT_POINTER_ID = new GUIContent("Show Pointer Id", "Display pointer id.");
- public static readonly GUIContent TEXT_POINTER_FLAGS = new GUIContent("Show Pointer Flags", "Display pointer flags.");
- public static readonly GUIContent TEXT_POINTER_SIZE = new GUIContent("Pointer size (cm)", "Pointer size in cm based on current DPI.");
-
- private SerializedProperty touchProxy, useDPI, touchSize, showTouchId, showFlags;
- private SerializedProperty generalProps, advancedProps;
-
- private void OnEnable()
- {
- showTouchId = serializedObject.FindProperty("showPointerId");
- showFlags = serializedObject.FindProperty("showFlags");
- touchProxy = serializedObject.FindProperty("pointerProxy");
- useDPI = serializedObject.FindProperty("useDPI");
- touchSize = serializedObject.FindProperty("pointerSize");
-
- generalProps = serializedObject.FindProperty("generalProps");
- advancedProps = serializedObject.FindProperty("advancedProps");
- }
-
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
-
- GUILayout.Space(5);
-
- var display = GUIElements.Header(TEXT_SETTINGS_HEADER, generalProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(showTouchId, TEXT_POINTER_ID);
- EditorGUILayout.PropertyField(showFlags, TEXT_POINTER_FLAGS);
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_DPI_HEADER, useDPI, useDPI);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!useDPI.boolValue))
- {
- EditorGUILayout.PropertyField(touchSize, TEXT_POINTER_SIZE);
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_ADVANCED_HEADER, advancedProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(touchProxy, new GUIContent("Pointer Proxy"));
- EditorGUI.indentLevel--;
- }
-
- serializedObject.ApplyModifiedProperties();
- }
- }
-}
diff --git a/Source/Assets/TouchScript/Editor/Debugging.meta b/Source/Assets/TouchScript/Editor/Debugging.meta
new file mode 100644
index 000000000..8c2b9493d
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Debugging.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 81e4112b0ec1b439595cbb4384be9b70
+folderAsset: yes
+timeCreated: 1500410739
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs b/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs
new file mode 100644
index 000000000..a35b1a8c3
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs
@@ -0,0 +1,709 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+#if TOUCHSCRIPT_DEBUG
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using TouchScript.Debugging;
+using TouchScript.Debugging.Filters;
+using TouchScript.Debugging.GL;
+using TouchScript.Debugging.Loggers;
+using TouchScript.Editor.EditorUI;
+using TouchScript.Utils;
+using UnityEditor;
+using UnityEngine;
+
+namespace TouchScript.Editor.Debugging
+{
+ public class PointerDebuggerWindow : EditorWindow
+ {
+ private class Styles : IDisposable
+ {
+ public Texture2D BG;
+
+ public int Padding = 5;
+ public int GlobalPadding = 10;
+
+ public int TabHeight = 20;
+ public int TabWidth = 80;
+ public int TabPadding = 10;
+
+ public int TopWindowHeight = 240;
+ public int RefreshHeight = 30;
+
+ public int PointerItemHeight = 22;
+ public Color PointerItemSelected = new Color(.86f, .86f, .86f, 1f);
+ public Color PointerItemEmpty = new Color(.7f, .7f, .7f, .2f);
+
+ public GUIStyle PointerItemStyle;
+ public GUIStyle EnterPlayModeText;
+ public GUIStyle SmallText;
+ public GUIStyle SmallButton;
+ public GUIStyle FilterToggle;
+
+ public Styles()
+ {
+ BG = CreateColorTexture(new Color(0, 0, 0, 0.05f));
+
+ PointerItemStyle = new GUIStyle("ShurikenModuleTitle")
+ {
+ font = (new GUIStyle("Label")).font,
+ border = new RectOffset(15, 7, 4, 4),
+ fixedHeight = 22,
+ contentOffset = new Vector2(20f, -2f),
+ };
+
+ EnterPlayModeText = new GUIStyle("miniLabel")
+ {
+ alignment = TextAnchor.MiddleCenter,
+ };
+
+ SmallText = new GUIStyle("miniLabel")
+ {
+ alignment = TextAnchor.UpperLeft,
+ };
+
+ SmallButton = new GUIStyle("Button")
+ {
+ fontSize = SmallText.fontSize,
+ fontStyle = SmallText.fontStyle,
+ font = SmallText.font,
+ };
+
+ FilterToggle = new GUIStyle("ShurikenToggle")
+ {
+ fontSize = SmallText.fontSize,
+ fontStyle = SmallText.fontStyle,
+ font = SmallText.font,
+ };
+ FilterToggle.normal.textColor = SmallText.normal.textColor;
+ FilterToggle.onNormal.textColor = SmallText.normal.textColor;
+ }
+
+ public void Dispose()
+ {
+ DestroyImmediate(BG);
+ }
+
+ public static Texture2D CreateColorTexture(Color color)
+ {
+ var texture = new Texture2D(1, 1);
+ texture.hideFlags = HideFlags.HideAndDontSave;
+ texture.name = "Color " + color;
+ texture.SetPixel(0, 0, color);
+ texture.Apply();
+ return texture;
+ }
+ }
+
+ public enum LogType
+ {
+ Editor,
+ File
+ }
+
+ // sec
+ private const float UPDATE_INTERVAL = 1f;
+
+ private enum Tab
+ {
+ Pointers,
+ Event,
+ Filters
+ }
+
+ [MenuItem("Window/TouchScript/Debug", false, 0)]
+ static void createWindow()
+ {
+ EditorWindow window = GetWindow(false, "TSDebugger", true);
+ window.minSize = new Vector2(300, 600);
+
+ window.Show();
+ }
+
+ private Styles styles;
+
+ private LogType logType;
+ private IPointerLogger pLogger;
+ private PointerVisualizer pointerVisualizer;
+ private PagedList pointerList;
+ private PagedList eventList;
+
+ [NonSerialized]
+ private Tab activeTab;
+
+ [NonSerialized]
+ private int pointerDataCount = 0;
+
+ [NonSerialized]
+ private List pointerData = new List();
+
+ [NonSerialized]
+ private List pointerStrings = new List();
+
+ [NonSerialized]
+ private List pointerEvents = new List();
+
+ [NonSerialized]
+ private PointerLog selectedEvent;
+
+ [NonSerialized]
+ private int selectedEventId = -1;
+
+ [NonSerialized]
+ private Dictionary pointerEventStrings = new Dictionary();
+
+ [NonSerialized]
+ private PointerLogFilter logFilter;
+
+ private FilterState filterState;
+ //private Vector2 filterScroll;
+
+ private bool autoRefresh = true;
+
+ [NonSerialized]
+ private float refreshTime;
+
+ private void OnEnable()
+ {
+ setupLogging();
+ if (EditorApplication.isPlayingOrWillChangePlaymode)
+ setupPlaymodeLogging();
+
+ if (filterState == null)
+ {
+ filterState = new FilterState();
+ filterState.Load();
+ }
+
+ EditorApplication.update += updateHandler;
+ }
+
+ private void OnDisable()
+ {
+ if (styles != null) styles.Dispose();
+
+ EditorApplication.update -= updateHandler;
+ }
+
+ private void updateHandler()
+ {
+ if (pLogger == null) return;
+
+ if (pLogger.PointerCount != pointerDataCount)
+ {
+ updatePointers();
+ }
+ if (autoRefresh)
+ {
+ var time = Time.unscaledTime;
+ if (time > refreshTime)
+ {
+ refreshTime = time + UPDATE_INTERVAL;
+ updateEventList();
+ }
+ }
+ }
+
+ #region Init
+
+ private void setupPlaymodeLogging()
+ {
+ TouchScriptDebugger.Instance.PointerLogger = pLogger = new PointerLogger();
+ }
+
+ private void setupLogging()
+ {
+ pointerVisualizer = new PointerVisualizer();
+ pointerList = new PagedList(22, drawPointerItem, pointerSelectionChangeHandler);
+ eventList = new PagedList(22, drawEventItem, eventSelectionChangeHandler);
+ logFilter = new PointerLogFilter();
+ }
+
+ private void loadLogFile()
+ {
+ var path = EditorUtility.OpenFilePanel("Load log data", Application.dataPath, "bin");
+ if (string.IsNullOrEmpty(path)) return;
+ pLogger = new FileReaderLogger(path);
+ updatePointers();
+ }
+
+ private void updateLogType(LogType type)
+ {
+ logType = type;
+
+ if (type == LogType.Editor)
+ {
+ if (pLogger != null) pLogger.Dispose();
+ if (EditorApplication.isPlayingOrWillChangePlaymode) setupPlaymodeLogging();
+ }
+ else
+ {
+ TouchScriptDebugger.Instance.ClearPointerLogger();
+ }
+ }
+
+ #endregion
+
+ #region Update
+
+ private void updatePointers()
+ {
+ pointerData = pLogger.GetFilteredPointerData();
+ pointerList.Count = pointerData.Count;
+ pointerDataCount = pointerData.Count;
+
+ pointerStrings.Clear();
+ foreach (var data in pointerData)
+ {
+ pointerStrings.Add(string.Format("{0} (id: {1})", data.Type, data.Id));
+ }
+
+ Repaint();
+ }
+
+ private void updateEventList()
+ {
+ if (pointerList.SelectedId == -1)
+ {
+ pointerEvents.Clear();
+ eventList.Count = 0;
+ }
+ else
+ {
+ var id = pointerData[pointerList.SelectedId].Id;
+ syncFilter();
+ pointerEvents = pLogger.GetFilteredLogsForPointer(id, logFilter);
+ eventList.Count = pointerEvents.Count;
+ }
+
+ Repaint();
+ }
+
+ private void selectPointer()
+ {
+ updateEventList();
+ pointerVisualizer.Hide();
+ }
+
+ private void selectEvent()
+ {
+ if (eventList.SelectedId == -1)
+ {
+ pointerVisualizer.Hide();
+ selectedEventId = -1;
+ return;
+ }
+
+ selectedEventId = eventList.SelectedId;
+ selectedEvent = pointerEvents[selectedEventId];
+ pointerVisualizer.Show(selectedEvent.State.Position);
+ switchTab(Tab.Event);
+ }
+
+ private void syncFilter()
+ {
+ logFilter.EventMask = filterState.PointerEventMask;
+ }
+
+ private string getEventString(int id)
+ {
+ var evt = pointerEvents[id];
+ string str = null;
+ if (!pointerEventStrings.TryGetValue(evt.Id, out str))
+ {
+ DateTime time = new DateTime(evt.Tick);
+ str = string.Format("{0} > {1}", time.ToString("HH:mm:ss.ffffff"), evt.Event);
+ pointerEventStrings.Add(evt.Id, str);
+ }
+ return str;
+ }
+
+ #endregion
+
+ #region Misc
+
+ private void switchTab(Tab newTab)
+ {
+ activeTab = newTab;
+
+ //if (activeTab == Tab.Filters)
+ //{
+ // filterScroll = Vector2.zero;
+ //}
+
+ Repaint();
+ }
+
+ #endregion
+
+ #region Drawing
+
+ private void OnGUI()
+ {
+ if (styles == null) styles = new Styles();
+
+ int height = styles.TopWindowHeight;
+ //int height = pointerList.FitHeight(10);
+
+ var rect = GUIUtils.GetPaddedRect(height + styles.GlobalPadding * 2, styles.Padding);
+
+ GUI.DrawTexture(rect, styles.BG);
+ GUIUtils.ContractRect(ref rect, styles.GlobalPadding);
+
+ switch (activeTab)
+ {
+ case Tab.Pointers:
+ if (pointerData.Count == 0)
+ drawNoData(rect);
+ else
+ pointerList.Draw(rect);
+ break;
+ case Tab.Event:
+ if (selectedEventId == -1)
+ drawNoData(rect);
+ else
+ drawSelectedEvent(rect);
+ break;
+ case Tab.Filters:
+ drawFilters(rect);
+ break;
+ }
+
+ drawTabs();
+ drawRefresh();
+
+ //eventList.Count = 100;
+ rect = GUIUtils.GetPaddedRect(0, styles.Padding, true);
+
+ GUI.DrawTexture(rect, styles.BG);
+ GUIUtils.ContractRect(ref rect, styles.GlobalPadding);
+
+ if (pointerEvents.Count == 0)
+ drawNoData(rect);
+ else
+ eventList.Draw(rect);
+ }
+
+ private void drawFilters(Rect rect)
+ {
+ //GUI.Toggle(rect, true, " Test", styles.FilterToggle);
+
+ GUI.Label(rect, "Show pointer events:");
+
+ rect.y += 20;
+ rect.height -= 20;
+ var scrollRect = new Rect(rect);
+ scrollRect.height *= 2;
+ scrollRect.width -= 40;
+ //scrollRect.x = 0;
+ //scrollRect.y = 0;
+
+ //using (var scope = new GUI.ScrollViewScope(rect, filterScroll, scrollRect))
+ //{
+ scrollRect.height = 14;
+ var names = Enum.GetNames(typeof (PointerEvent));
+ using (var changeScope = new EditorGUI.ChangeCheckScope())
+ {
+ for (var i = 1; i < names.Length; i++)
+ {
+ var evt = (PointerEvent) i;
+ filterState.SetEventValue(evt,
+ GUI.Toggle(scrollRect, filterState.IsEventEnabled(evt), " " + names[i], styles.FilterToggle));
+ scrollRect.y += scrollRect.height;
+ }
+ if (changeScope.changed) filterState.Save();
+ }
+ // filterScroll = scope.scrollPosition;
+ //}
+
+ scrollRect.y += 4;
+ scrollRect.height = 20;
+ using (var scope = new EditorGUI.DisabledScope(pointerList.SelectedId == -1))
+ {
+ if (GUI.Button(scrollRect, "Apply filter"))
+ {
+ updateEventList();
+ }
+ }
+ }
+
+ private void drawTabs()
+ {
+ var rect = GUILayoutUtility.GetRect(0, styles.TabHeight, GUILayout.ExpandWidth(true));
+ rect.x += styles.Padding;
+ rect.y -= styles.Padding;
+
+ rect.width = styles.TabWidth;
+ if (drawTab(rect, "Pointers", activeTab == Tab.Pointers))
+ activeTab = Tab.Pointers;
+ rect.x += rect.width;
+ if (drawTab(rect, "Event", activeTab == Tab.Event))
+ activeTab = Tab.Event;
+ rect.x += rect.width;
+ if (drawTab(rect, "Filters", activeTab == Tab.Filters))
+ activeTab = Tab.Filters;
+ }
+
+ private void drawRefresh()
+ {
+ var rect = GUILayoutUtility.GetRect(0, styles.RefreshHeight, GUILayout.ExpandWidth(true));
+ GUIUtils.ContractRect(ref rect, styles.Padding);
+
+ var sourceRect = new Rect(rect);
+ sourceRect.width = 50;
+ GUI.Label(sourceRect, " Source", styles.SmallText);
+ sourceRect.x += sourceRect.width;
+ using (var scope = new EditorGUI.ChangeCheckScope())
+ {
+ logType = (LogType) EditorGUI.EnumPopup(sourceRect, "", logType);
+ if (scope.changed) updateLogType(logType);
+ }
+
+ if (logType == LogType.File)
+ {
+ sourceRect.x += sourceRect.width + 2;
+ sourceRect.width = 40;
+ sourceRect.height = 15;
+ if (GUI.Button(sourceRect, "Load", styles.SmallButton))
+ {
+ loadLogFile();
+ }
+ }
+
+ var refreshRect = new Rect(rect);
+ refreshRect.x = refreshRect.width - 50 - 60;
+ refreshRect.width = 50;
+ autoRefresh = GUI.Toggle(refreshRect, autoRefresh, " Auto", styles.FilterToggle);
+
+ using (var scope = new EditorGUI.DisabledScope(autoRefresh))
+ {
+ rect.x = rect.width - 60;
+ rect.width = 60;
+ rect.height = 15;
+ rect.y -= 1;
+ if (GUI.Button(rect, "Refresh", styles.SmallButton))
+ {
+ updateEventList();
+ }
+ }
+ }
+
+ private void drawSelectedEvent(Rect rect)
+ {
+ if (selectedEvent.Id == -1)
+ {
+ GUI.Label(rect, "No event selected.", styles.EnterPlayModeText);
+ return;
+ }
+
+ var transform = selectedEvent.State.Target;
+ var path = selectedEvent.State.TargetPath;
+
+ GUI.Label(rect, string.Format("{0}\nPosition: {1}\nPrevious: {2}\nFlags: {3}, Buttons: {4}",
+ getEventString(selectedEventId), selectedEvent.State.Position,
+ selectedEvent.State.PreviousPosition, selectedEvent.State.Flags,
+ PointerUtils.ButtonsToString(selectedEvent.State.Buttons)));
+ rect.y += 64;
+ rect.height = 20;
+ GUI.Label(rect, "Target: ");
+ using (var scope = new EditorGUI.DisabledScope(true))
+ {
+ var fieldRect = new Rect(rect);
+ fieldRect.x += 50;
+ fieldRect.width -= 50;
+ EditorGUI.ObjectField(fieldRect, transform, typeof (Transform), true);
+ }
+
+ if (path != null)
+ {
+ rect.y += 20;
+ rect.height = 16;
+ GUI.Label(rect, path, styles.SmallText);
+ }
+ }
+
+ private bool drawTab(Rect rect, string content, bool selected)
+ {
+ switch (Event.current.type)
+ {
+ case EventType.MouseDown:
+ if (rect.Contains(Event.current.mousePosition))
+ {
+ Event.current.Use();
+ return true;
+ }
+ break;
+ case EventType.Layout:
+ case EventType.Repaint:
+ if (selected) GUI.DrawTexture(rect, styles.BG);
+ rect.x += styles.TabPadding;
+ GUI.Label(rect, content);
+ break;
+ }
+
+ return false;
+ }
+
+ private void drawNoData(Rect rect)
+ {
+ GUI.Label(rect, "No data available.", styles.EnterPlayModeText);
+ }
+
+ private void drawPlaymodeText(Rect rect)
+ {
+ GUI.Label(rect, "Data is only available in Play Mode.", styles.EnterPlayModeText);
+ }
+
+ private void drawPointerItem(int id, Rect rect, bool selected)
+ {
+ var bg = GUI.backgroundColor;
+ if (id == -1)
+ {
+ GUI.backgroundColor = styles.PointerItemEmpty;
+ GUI.Box(rect, "", styles.PointerItemStyle);
+ GUI.backgroundColor = bg;
+ return;
+ }
+
+ if (selected)
+ {
+ GUI.backgroundColor = styles.PointerItemSelected;
+ }
+
+ GUI.Box(rect, pointerStrings[id], styles.PointerItemStyle);
+ GUI.backgroundColor = bg;
+ }
+
+ private void drawEventItem(int id, Rect rect, bool selected)
+ {
+ var bg = GUI.backgroundColor;
+ if (id == -1)
+ {
+ GUI.backgroundColor = styles.PointerItemEmpty;
+ GUI.Box(rect, "", styles.PointerItemStyle);
+ GUI.backgroundColor = bg;
+ return;
+ }
+
+ if (selected)
+ {
+ GUI.backgroundColor = styles.PointerItemSelected;
+ }
+
+ GUI.Box(rect, getEventString(id), styles.PointerItemStyle);
+ GUI.backgroundColor = bg;
+ }
+
+ #endregion
+
+ #region List handlers
+
+ private void pointerSelectionChangeHandler(int id)
+ {
+ selectPointer();
+ }
+
+ private void eventSelectionChangeHandler(int id)
+ {
+ selectEvent();
+ }
+
+ #endregion
+
+ private class PointerVisualizer
+ {
+ private int currentDebugId = -1;
+
+ public PointerVisualizer() {}
+
+ public void Show(Vector2 position)
+ {
+ if (!Application.isPlaying) return;
+
+ if (currentDebugId != -1) Hide();
+ currentDebugId = GLDebug.DrawSquareScreenSpace(position, 0, Vector2.one * 20, GLDebug.MULTIPLY, float.MaxValue);
+ }
+
+ public void Hide()
+ {
+ if (!Application.isPlaying) return;
+
+ GLDebug.RemoveFigure(currentDebugId);
+ currentDebugId = -1;
+ }
+ }
+
+ [Serializable]
+ private class FilterState : ISerializationCallbackReceiver
+ {
+ private const string KEY = "TouchScript:Debugger:FilterState";
+
+ [SerializeField]
+ private List pointerEvents;
+
+ public uint PointerEventMask
+ {
+ get { return BinaryUtils.ToBinaryMask(pointerEvents); }
+ }
+
+ public FilterState()
+ {
+ var eventsCount = Enum.GetValues(typeof (PointerEvent)).Length;
+ pointerEvents = new List(eventsCount);
+ syncPointerEvents(eventsCount);
+ }
+
+ public bool IsEventEnabled(PointerEvent evt)
+ {
+ var id = (int) evt;
+ if (id >= pointerEvents.Count) return false;
+ return pointerEvents[id];
+ }
+
+ public void SetEventValue(PointerEvent evt, bool value)
+ {
+ pointerEvents[(int) evt] = value;
+ }
+
+ public void Save()
+ {
+ var json = JsonUtility.ToJson(this);
+ EditorPrefs.SetString(KEY, json);
+ }
+
+ public void Load()
+ {
+ if (!EditorPrefs.HasKey(KEY)) return;
+ var json = EditorPrefs.GetString(KEY);
+ JsonUtility.FromJsonOverwrite(json, this);
+ }
+
+ private void syncPointerEvents(int count)
+ {
+ for (var i = pointerEvents.Count; i < count; i++) pointerEvents.Add(true);
+ }
+
+ public void OnBeforeSerialize() {}
+
+ public void OnAfterDeserialize()
+ {
+ var eventsCount = Enum.GetValues(typeof (PointerEvent)).Length;
+ if (pointerEvents.Count != eventsCount)
+ {
+ Debug.Log("FilterState serialization error!");
+ if (pointerEvents.Count > eventsCount)
+ {
+ pointerEvents = new List(eventsCount);
+ }
+ syncPointerEvents(eventsCount);
+ }
+ }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs.meta b/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs.meta
new file mode 100644
index 000000000..f147fa5be
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Debugging/PointerDebuggerWindow.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 1684ac3d3422e4b458a73b6955a0cae3
+timeCreated: 1500410762
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources.cs b/Source/Assets/TouchScript/Editor/EditorResources.cs
index 2a455d37a..41f15a5a0 100644
--- a/Source/Assets/TouchScript/Editor/EditorResources.cs
+++ b/Source/Assets/TouchScript/Editor/EditorResources.cs
@@ -61,4 +61,4 @@ static bool searchForEditorResourcesPath(out string path)
return true;
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons.meta
new file mode 100644
index 000000000..acc16807b
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 375fcf571e23249898d00c0d11ffbf93
+folderAsset: yes
+timeCreated: 1500984768
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png b/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png
new file mode 100644
index 000000000..3eb285fa8
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png.meta
new file mode 100644
index 000000000..5f8eac14d
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons/selector.png.meta
@@ -0,0 +1,76 @@
+fileFormatVersion: 2
+guid: e0afdfca204fe4cd3a260d4df23e6a6a
+timeCreated: 1500986715
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ - buildTarget: Standalone
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png b/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png
new file mode 100644
index 000000000..7d9ded74d
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png.meta
new file mode 100644
index 000000000..cc814c2da
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons/unknown.png.meta
@@ -0,0 +1,76 @@
+fileFormatVersion: 2
+guid: 29c2d4978005b4ea68d2f3ecbd258ffd
+timeCreated: 1500987331
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ - buildTarget: Standalone
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png
new file mode 100644
index 000000000..e0ee77109
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png.meta
new file mode 100644
index 000000000..ee0057901
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xy.png.meta
@@ -0,0 +1,76 @@
+fileFormatVersion: 2
+guid: 88423ab2c1d7b4ad18b422f1405bf312
+timeCreated: 1500984768
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ - buildTarget: Standalone
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png
new file mode 100644
index 000000000..55c91abdc
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png.meta
new file mode 100644
index 000000000..747e5b64b
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons/xz.png.meta
@@ -0,0 +1,76 @@
+fileFormatVersion: 2
+guid: a8bb65c0cb8d14e93baa4c3403e83181
+timeCreated: 1500984768
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ - buildTarget: Standalone
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png b/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png
new file mode 100644
index 000000000..b38c8a412
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png.meta b/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png.meta
new file mode 100644
index 000000000..3ea117e2c
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/Icons/yz.png.meta
@@ -0,0 +1,76 @@
+fileFormatVersion: 2
+guid: 5b7a913101fce4f3589a24ca1780a607
+timeCreated: 1500984768
+licenseType: Pro
+TextureImporter:
+ fileIDToRecycleName: {}
+ serializedVersion: 4
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ 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
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ - buildTarget: Standalone
+ maxTextureSize: 2048
+ textureFormat: -1
+ textureCompression: 0
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ spritePackingTag:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds b/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds
new file mode 100644
index 000000000..82ead2ebe
Binary files /dev/null and b/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds differ
diff --git a/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds.meta b/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds.meta
new file mode 100644
index 000000000..8dafd3a9b
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorResources/TouchScript Component Icon.dds.meta
@@ -0,0 +1,14 @@
+fileFormatVersion: 2
+guid: e1e5ef31262d242ce8efe2020a27425e
+timeCreated: 1501325322
+licenseType: Pro
+IHVImageFormatImporter:
+ textureSettings:
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapMode: 0
+ isReadable: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorUI.meta b/Source/Assets/TouchScript/Editor/EditorUI.meta
new file mode 100644
index 000000000..f8c1b5255
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 3b24d098c65af4192a812e7d9e2862ef
+folderAsset: yes
+timeCreated: 1500501530
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorUI/GUIElements.cs b/Source/Assets/TouchScript/Editor/EditorUI/GUIElements.cs
new file mode 100644
index 000000000..0fdeaab5b
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI/GUIElements.cs
@@ -0,0 +1,137 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using UnityEngine;
+using UnityEditor;
+using System.Reflection;
+
+namespace TouchScript.Editor.EditorUI
+{
+ internal static class GUIElements
+ {
+ public static GUIStyle Box;
+ public static GUIStyle BoxLabel;
+
+ public static GUIStyle HelpBox;
+ public static GUIStyle HeaderBox;
+ public static GUIStyle HeaderCheckbox;
+ public static GUIStyle HeaderFoldout;
+ public static GUIStyle SmallText;
+ public static GUIStyle SmallTextRight;
+ public static GUIStyle SmallButton;
+
+ public static Texture2D PaneOptionsIcon;
+
+ static GUIElements()
+ {
+ Box = new GUIStyle(GUI.skin.box)
+ {
+ margin = new RectOffset(0, 0, 1, 0),
+ padding = new RectOffset(0, 0, 0, 0),
+ contentOffset = new Vector2(0, 0),
+ alignment = TextAnchor.MiddleCenter,
+ };
+ Box.normal.textColor = GUI.skin.label.normal.textColor;
+
+ BoxLabel = new GUIStyle(GUI.skin.label)
+ {
+ fontSize = 9,
+ padding = new RectOffset(0, 0, 5, 0),
+ };
+
+ HelpBox = new GUIStyle("HelpBox")
+ {
+ wordWrap = true,
+ };
+
+ HeaderBox = new GUIStyle("ShurikenModuleTitle")
+ {
+ font = (new GUIStyle("Label")).font,
+ border = new RectOffset(15, 7, 4, 4),
+ fixedHeight = 22,
+ contentOffset = new Vector2(20f, -2f),
+ };
+
+ HeaderCheckbox = new GUIStyle("ShurikenCheckMark");
+ HeaderFoldout = new GUIStyle("Foldout");
+
+ SmallText = new GUIStyle("miniLabel")
+ {
+ alignment = TextAnchor.UpperLeft,
+ };
+
+ SmallTextRight = new GUIStyle("miniLabel")
+ {
+ alignment = TextAnchor.UpperRight,
+ };
+
+ SmallButton = new GUIStyle("Button")
+ {
+ fontSize = SmallText.fontSize,
+ fontStyle = SmallText.fontStyle,
+ font = SmallText.font,
+ };
+
+ if (EditorGUIUtility.isProSkin)
+ PaneOptionsIcon = (Texture2D) EditorGUIUtility.LoadRequired("Builtin Skins/DarkSkin/Images/pane options.png");
+ else
+ PaneOptionsIcon = (Texture2D) EditorGUIUtility.LoadRequired("Builtin Skins/LightSkin/Images/pane options.png");
+ }
+
+ public static bool Header(GUIContent title, SerializedProperty expanded, SerializedProperty enabled = null, PropertyInfo enabledProp = null)
+ {
+ var rect = GUILayoutUtility.GetRect(16f, 22f, HeaderBox);
+ GUI.Box(rect, title, HeaderBox);
+
+ var display = expanded == null || expanded.isExpanded;
+
+ var foldoutRect = new Rect(rect.x + 4f, rect.y + 3f, 13f, 13f);
+ var e = Event.current;
+
+ if (e.type == EventType.Repaint)
+ {
+ if (enabled == null) HeaderFoldout.Draw(foldoutRect, false, false, display, false);
+ else HeaderCheckbox.Draw(foldoutRect, false, false, enabled.boolValue, false);
+ }
+
+ if (e.type == EventType.MouseDown)
+ {
+ if (enabled != null)
+ {
+ const float kOffset = 2f;
+ foldoutRect.x -= kOffset;
+ foldoutRect.y -= kOffset;
+ foldoutRect.width += kOffset * 2f;
+ foldoutRect.height += kOffset * 2f;
+
+ if (foldoutRect.Contains(e.mousePosition))
+ {
+ enabled.boolValue = !enabled.boolValue;
+ if (enabledProp != null) enabledProp.SetValue(enabled.serializedObject.targetObject, enabled.boolValue, null);
+ e.Use();
+ return display;
+ }
+ }
+ if (rect.Contains(e.mousePosition))
+ {
+ display = !display;
+ expanded.isExpanded = !expanded.isExpanded;
+ e.Use();
+ }
+ }
+
+ return display;
+ }
+
+ public static bool BasicHelpBox(GUIContent text)
+ {
+ EditorGUILayout.LabelField(text, HelpBox);
+ var rect = GUILayoutUtility.GetRect(10, 22, GUILayout.ExpandWidth(true));
+ rect.x = rect.width - 86;
+ rect.width = 100;
+ rect.height = 14;
+ return GUI.Button(rect, "Switch to Advanced", SmallButton);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Utils/GUIElements.cs.meta b/Source/Assets/TouchScript/Editor/EditorUI/GUIElements.cs.meta
similarity index 100%
rename from Source/Assets/TouchScript/Editor/Utils/GUIElements.cs.meta
rename to Source/Assets/TouchScript/Editor/EditorUI/GUIElements.cs.meta
diff --git a/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs b/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs
new file mode 100644
index 000000000..db12ed199
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs
@@ -0,0 +1,30 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using UnityEngine;
+
+namespace TouchScript.Editor.EditorUI
+{
+ public static class GUIUtils
+ {
+ public static Rect GetPaddedRect(int minHeight, int padding, bool expandHeight = false)
+ {
+ Rect rect;
+ if (expandHeight)
+ rect = GUILayoutUtility.GetRect(padding * 2, minHeight + padding * 2, GUILayout.ExpandWidth(true), GUILayout.ExpandHeight(true));
+ else
+ rect = GUILayoutUtility.GetRect(padding * 2, minHeight + padding * 2, GUILayout.ExpandWidth(true));
+ ContractRect(ref rect, padding);
+ return rect;
+ }
+
+ public static void ContractRect(ref Rect rect, int delta)
+ {
+ rect.x += delta;
+ rect.y += delta;
+ rect.width -= delta * 2;
+ rect.height -= delta * 2;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs.meta b/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs.meta
new file mode 100644
index 000000000..79a3041ab
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI/GUIUtils.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: e4af8ab947e1c4b959f59dba2bce9dc3
+timeCreated: 1500502342
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs b/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs
new file mode 100644
index 000000000..5ebd45c7b
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs
@@ -0,0 +1,190 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using System;
+using UnityEditor;
+using UnityEngine;
+
+namespace TouchScript.Editor.EditorUI
+{
+ public class PagedList
+ {
+ private class Styles
+ {
+ public int HeaderHeight = 0;
+ public int FooterHeight = 20;
+
+ public int FooterButtonWidth = 60;
+ public int FooterButtonHeight = 20;
+ public int FooterButtonSpace = 10;
+ public int FooterTextWidth = 8;
+
+ public GUIContent TextPrev = new GUIContent("< Prev");
+ public GUIContent TextNext = new GUIContent("Next >");
+
+ public int GetIntFieldSize(int value)
+ {
+ if (value < 10) return FooterTextWidth + 8;
+ if (value < 100) return 2 * FooterTextWidth + 8;
+ if (value < 1000) return 3 * FooterTextWidth + 8;
+ return 4;
+ }
+ }
+
+ public int ItemHeight { get; set; }
+
+ public int Count
+ {
+ get { return count; }
+ set
+ {
+ if (count == value) return;
+ count = value;
+ reset();
+ }
+ }
+
+ public int PagesTotal
+ {
+ get { return pagesTotal; }
+ }
+
+ public int SelectedId
+ {
+ get { return selectedId; }
+ }
+
+ private static Styles styles;
+
+ private Action onSelectionChange;
+ private Action drawItem;
+
+ private int count = 0;
+ // Starts from 1
+ private int page = 1;
+ private int pagesTotal = 1;
+ private int itemsPerPage = 1;
+
+ private int selectedId = -1;
+ private int oldSelectedId = -1;
+
+ public PagedList(int itemHeight, Action drawItem, Action onSelectionChange)
+ {
+ if (styles == null) styles = new Styles();
+
+ ItemHeight = itemHeight;
+ this.onSelectionChange = onSelectionChange;
+ this.drawItem = drawItem;
+ }
+
+ public int FitHeight(int numberOfItems)
+ {
+ return ItemHeight * numberOfItems + styles.FooterHeight + styles.HeaderHeight;
+ }
+
+ public void Draw(Rect rect)
+ {
+ var h = rect.height;
+ h -= styles.HeaderHeight + styles.FooterHeight;
+ if (h < 0) return;
+ rect.y += styles.HeaderHeight;
+ rect.height = ItemHeight;
+
+ itemsPerPage = Mathf.FloorToInt(h / 22f);
+ pagesTotal = Mathf.CeilToInt((float) count / itemsPerPage);
+
+ int start = (Count - 1) - (page - 1) * itemsPerPage;
+ if (start < 0) return;
+
+ var i = start;
+ var t = 0;
+ while (t < itemsPerPage)
+ {
+ if (i < 0) draw(-1, rect);
+ else draw(i, rect);
+ rect.y += ItemHeight;
+ i--;
+ t++;
+ }
+
+ rect.height = styles.FooterHeight;
+ drawFooter(rect);
+
+ if (oldSelectedId != selectedId)
+ {
+ oldSelectedId = selectedId;
+ onSelectionChange(selectedId);
+ }
+ }
+
+ private void drawFooter(Rect parentRect)
+ {
+ parentRect.y += 5;
+ parentRect.height -= 5;
+
+ var rect = new Rect(parentRect.x, parentRect.y, styles.FooterButtonWidth, styles.FooterButtonHeight);
+ if (GUI.Button(rect, styles.TextPrev))
+ {
+ setPage(page - 1);
+ }
+
+ rect.x += rect.width + styles.FooterButtonSpace;
+ rect.width = styles.GetIntFieldSize(page);
+ var newPage = EditorGUI.DelayedIntField(rect, page);
+ if (page != newPage) setPage(newPage);
+
+ rect.x += rect.width + styles.FooterButtonSpace;
+ rect.width = 16;
+ GUI.Label(rect, "of");
+
+ rect.x += rect.width + styles.FooterButtonSpace;
+ rect.width = styles.GetIntFieldSize(page);
+
+ using (var scope = new EditorGUI.DisabledScope(true))
+ {
+ EditorGUI.IntField(rect, PagesTotal);
+ }
+
+ rect.x += rect.width + styles.FooterButtonSpace;
+ rect.width = styles.FooterButtonWidth;
+ if (GUI.Button(rect, styles.TextNext))
+ {
+ setPage(page + 1);
+ }
+ }
+
+ private void draw(int id, Rect rect)
+ {
+ switch (Event.current.type)
+ {
+ case EventType.Repaint:
+ case EventType.Layout:
+ drawItem(id, rect, selectedId == id);
+ break;
+ case EventType.MouseDown:
+ if (rect.Contains(Event.current.mousePosition))
+ {
+ selectedId = id;
+ Event.current.Use();
+ //GUI.changed = true;
+ }
+ break;
+ }
+ }
+
+ private void setPage(int newPage)
+ {
+ if (newPage < 1) newPage = 1;
+ else if (newPage > PagesTotal) newPage = PagesTotal;
+ page = newPage;
+ }
+
+ private void reset()
+ {
+ page = 1;
+ selectedId = -1;
+ oldSelectedId = -1;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs.meta b/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs.meta
new file mode 100644
index 000000000..5d52de706
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/EditorUI/PagedList.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 52832a1748b2b4dfaae6bcec7cf1721e
+timeCreated: 1500501497
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/Gestures/FlickGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/FlickGestureEditor.cs
index 6765ed255..971c6ba11 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/FlickGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/FlickGestureEditor.cs
@@ -11,10 +11,12 @@ namespace TouchScript.Editor.Gestures
[CustomEditor(typeof(FlickGesture), true)]
internal sealed class FlickGestureEditor : GestureEditor
{
- public static readonly GUIContent DIRECTION = new GUIContent("Direction", "Flick direction.");
- public static readonly GUIContent MOVEMENT_THRESHOLD = new GUIContent("Movement Threshold (cm)", "Minimum distance in cm pointers must move for the gesture to begin.");
- public static readonly GUIContent FLICK_TIME = new GUIContent("Flick Time (sec)", "Time interval in seconds during which pointers must move by for the gesture to be recognized.");
- public static readonly GUIContent MIN_DISTANCE = new GUIContent("Minimum Distance (cm)", "Minimum distance in cm pointers must move in seconds for the gesture to be recognized.");
+ public static readonly GUIContent DIRECTION = new GUIContent("Direction", "Flick direction.");
+ public static readonly GUIContent MOVEMENT_THRESHOLD = new GUIContent("Movement Threshold (cm)", "Minimum distance in cm pointers must move for the gesture to begin.");
+ public static readonly GUIContent FLICK_TIME = new GUIContent("Flick Time (sec)", "Time interval in seconds during which pointers must move by for the gesture to be recognized.");
+ public static readonly GUIContent MIN_DISTANCE = new GUIContent("Minimum Distance (cm)", "Minimum distance in cm pointers must move in seconds for the gesture to be recognized.");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component a fast flick gesture started over the GameObject.");
private SerializedProperty direction;
private SerializedProperty flickTime;
@@ -31,18 +33,23 @@ protected override void OnEnable()
direction = serializedObject.FindProperty("direction");
}
- public override void OnInspectorGUI()
+ protected override void drawBasic()
{
- serializedObject.UpdateIfDirtyOrScript();
+ EditorGUILayout.PropertyField(direction, DIRECTION);
+ }
+ protected override void drawGeneral()
+ {
EditorGUIUtility.labelWidth = 180;
EditorGUILayout.PropertyField(direction, DIRECTION);
EditorGUILayout.PropertyField(movementThreshold, MOVEMENT_THRESHOLD);
EditorGUILayout.PropertyField(flickTime, FLICK_TIME);
EditorGUILayout.PropertyField(minDistance, MIN_DISTANCE);
+ }
- serializedObject.ApplyModifiedProperties();
- base.OnInspectorGUI();
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/GestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/GestureEditor.cs
index 0d4546cb7..1232e8a97 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/GestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/GestureEditor.cs
@@ -3,7 +3,7 @@
*/
using System;
-using TouchScript.Editor.Utils;
+using TouchScript.Editor.EditorUI;
using TouchScript.Gestures;
using UnityEditor;
using UnityEditorInternal;
@@ -16,37 +16,37 @@ namespace TouchScript.Editor.Gestures
internal class GestureEditor : UnityEditor.Editor
{
private const string FRIENDLY_GESTURES_PROP = "friendlyGestures";
-
- public static readonly GUIContent TEXT_GENERAL_HEADER = new GUIContent("General settings", "General settings.");
- public static readonly GUIContent TEXT_LIMITS_HEADER = new GUIContent("Limits", "Properties that limit the gesture.");
- public static readonly GUIContent TEXT_GESTURES_HEADER = new GUIContent("Interaction with other Gestures", "Settings which allow this gesture to interact with other gestures.");
- public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced properties.");
- public static readonly GUIContent TEXT_USE_SEND_MESSAGE_HEADER = new GUIContent("Use SendMessage", "Enables sending events through SendMessage. Warnning: this method is slow!");
- public static readonly GUIContent TEXT_USE_UNITY_EVENTS_HEADER = new GUIContent("Use Unity Events", "Enables sending events through Unity Events.");
-
- public static readonly GUIContent TEXT_FRIENDLY = new GUIContent("Friendly Gestures", "List of gestures which can work together with this gesture.");
- public static readonly GUIContent TEXT_DEBUG_MODE = new GUIContent("Debug", "Turns on gesture debug mode.");
- public static readonly GUIContent TEXT_SEND_STATE_CHANGE_MESSAGES = new GUIContent("Send State Change Messages", "If checked, the gesture will send a message for every state change. Gestures usually have their own more specific messages, so you should keep this toggle unchecked unless you really want state change messages.");
- public static readonly GUIContent TEXT_SEND_MESSAGE_TARGET = new GUIContent("Target", "The GameObject target of Unity Messages. If null, host GameObject is used.");
- public static readonly GUIContent TEXT_SEND_STATE_CHANGE_EVENTS = new GUIContent("Send State Change Events", "If checked, the gesture will send a events for every state change. Gestures usually have their own more specific messages, so you should keep this toggle unchecked unless you really want state change events.");
- public static readonly GUIContent TEXT_COMBINE_POINTERS = new GUIContent("Combine Pointers", "When several fingers are used to perform a tap, pointers released not earlier than seconds ago are used to calculate gesture's final screen position.");
- public static readonly GUIContent TEXT_COMBINE_TOUCH_POINTERS = new GUIContent("Combine Interval (sec)", TEXT_COMBINE_POINTERS.tooltip);
- public static readonly GUIContent TEXT_REQUIRE_GESTURE_TO_FAIL = new GUIContent("Require Other Gesture to Fail", "Another gesture must fail for this gesture to start.");
- public static readonly GUIContent TEXT_LIMIT_POINTERS = new GUIContent(" Limit Pointers", "");
-
- protected bool shouldDrawCombineTouches = false;
- protected bool shouldDrawAdvanced = false;
- protected bool shouldDrawGeneral = true;
-
- private Gesture instance;
+
+ public static readonly GUIContent TEXT_GENERAL_HEADER = new GUIContent("General settings", "General settings.");
+ public static readonly GUIContent TEXT_LIMITS_HEADER = new GUIContent("Limits", "Properties that limit the gesture.");
+ public static readonly GUIContent TEXT_GESTURES_HEADER = new GUIContent("Interaction with other Gestures", "Settings which allow this gesture to interact with other gestures.");
+ public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced properties.");
+ public static readonly GUIContent TEXT_USE_SEND_MESSAGE_HEADER = new GUIContent("Use SendMessage", "Enables sending events through SendMessage. Warnning: this method is slow!");
+ public static readonly GUIContent TEXT_USE_UNITY_EVENTS_HEADER = new GUIContent("Use Unity Events", "Enables sending events through Unity Events.");
+
+ public static readonly GUIContent TEXT_FRIENDLY = new GUIContent("Friendly Gestures", "List of gestures which can work together with this gesture.");
+ public static readonly GUIContent TEXT_DEBUG_MODE = new GUIContent("Debug", "Turns on gesture debug mode.");
+ public static readonly GUIContent TEXT_SEND_STATE_CHANGE_MESSAGES = new GUIContent("Send State Change Messages", "If checked, the gesture will send a message for every state change. Gestures usually have their own more specific messages, so you should keep this toggle unchecked unless you really want state change messages.");
+ public static readonly GUIContent TEXT_SEND_MESSAGE_TARGET = new GUIContent("Target", "The GameObject target of Unity Messages. If null, host GameObject is used.");
+ public static readonly GUIContent TEXT_SEND_STATE_CHANGE_EVENTS = new GUIContent("Send State Change Events", "If checked, the gesture will send a events for every state change. Gestures usually have their own more specific messages, so you should keep this toggle unchecked unless you really want state change events.");
+ public static readonly GUIContent TEXT_REQUIRE_GESTURE_TO_FAIL = new GUIContent("Require Other Gesture to Fail", "Another gesture must fail for this gesture to start.");
+ public static readonly GUIContent TEXT_LIMIT_POINTERS = new GUIContent(" Limit Pointers", "");
+
+ protected bool shouldDrawAdvanced = false;
+ protected bool shouldDrawGeneral = true;
+
+ private Gesture instance;
+
+ private SerializedProperty basicEditor;
private SerializedProperty debugMode, friendlyGestures, requireGestureToFail,
- minPointers, maxPointers, combinePointers, combinePointersInterval,
- useSendMessage, sendMessageTarget, sendStateChangeMessages,
- useUnityEvents, sendStateChangeEvents;
- private SerializedProperty OnStateChange;
- private SerializedProperty advancedProps, limitsProps, generalProps;
- private PropertyInfo useUnityEvents_prop, useSendMessage_prop;
+ minPointers, maxPointers,
+ useSendMessage, sendMessageTarget, sendStateChangeMessages,
+ useUnityEvents, sendStateChangeEvents;
+
+ private SerializedProperty OnStateChange;
+ private SerializedProperty advancedProps, limitsProps, generalProps;
+ private PropertyInfo useUnityEvents_prop, useSendMessage_prop;
private ReorderableList friendlyGesturesList;
private int indexToRemove = -1;
@@ -54,36 +54,35 @@ internal class GestureEditor : UnityEditor.Editor
protected virtual void OnEnable()
{
- instance = target as Gesture;
+ instance = target as Gesture;
advancedProps = serializedObject.FindProperty("advancedProps");
- limitsProps = serializedObject.FindProperty("limitsProps");
- generalProps = serializedObject.FindProperty("generalProps");
+ limitsProps = serializedObject.FindProperty("limitsProps");
+ generalProps = serializedObject.FindProperty("generalProps");
+ basicEditor = serializedObject.FindProperty("basicEditor");
debugMode = serializedObject.FindProperty("debugMode");
friendlyGestures = serializedObject.FindProperty("friendlyGestures");
requireGestureToFail = serializedObject.FindProperty("requireGestureToFail");
- combinePointers = serializedObject.FindProperty("combinePointers");
- combinePointersInterval = serializedObject.FindProperty("combinePointersInterval");
useSendMessage = serializedObject.FindProperty("useSendMessage");
sendMessageTarget = serializedObject.FindProperty("sendMessageTarget");
sendStateChangeMessages = serializedObject.FindProperty("sendStateChangeMessages");
- useUnityEvents = serializedObject.FindProperty("useUnityEvents");
- sendStateChangeEvents = serializedObject.FindProperty("sendStateChangeEvents");
+ useUnityEvents = serializedObject.FindProperty("useUnityEvents");
+ sendStateChangeEvents = serializedObject.FindProperty("sendStateChangeEvents");
minPointers = serializedObject.FindProperty("minPointers");
maxPointers = serializedObject.FindProperty("maxPointers");
- OnStateChange = serializedObject.FindProperty("OnStateChange");
+ OnStateChange = serializedObject.FindProperty("OnStateChange");
- var type = instance.GetType();
- useUnityEvents_prop = type.GetProperty("UseUnityEvents", BindingFlags.Instance | BindingFlags.Public);
- useSendMessage_prop = type.GetProperty("UseSendMessage", BindingFlags.Instance | BindingFlags.Public);
+ var type = instance.GetType();
+ useUnityEvents_prop = type.GetProperty("UseUnityEvents", BindingFlags.Instance | BindingFlags.Public);
+ useSendMessage_prop = type.GetProperty("UseSendMessage", BindingFlags.Instance | BindingFlags.Public);
minPointersFloat = minPointers.intValue;
maxPointersFloat = maxPointers.intValue;
friendlyGesturesList = new ReorderableList(serializedObject, friendlyGestures, false, true, false, true);
- friendlyGesturesList.drawHeaderCallback += (rect) => GUI.Label(rect, TEXT_FRIENDLY);
+ friendlyGesturesList.drawHeaderCallback += (rect) => GUI.Label(rect, TEXT_FRIENDLY);
friendlyGesturesList.drawElementCallback += (rect, index, active, focused) =>
{
rect.height = 16;
@@ -95,144 +94,161 @@ protected virtual void OnEnable()
EditorGUI.LabelField(rect, GUIContent.none);
return;
}
- EditorGUI.LabelField(rect, string.Format("{0} @ {1}", gesture.GetType().Name, gesture.name), GUIElements.BoxLabelStyle);
+ EditorGUI.LabelField(rect, string.Format("{0} @ {1}", gesture.GetType().Name, gesture.name), GUIElements.BoxLabel);
};
friendlyGesturesList.onRemoveCallback += list => { indexToRemove = list.index; };
-
- if (debugMode != null) shouldDrawAdvanced = true;
}
public override void OnInspectorGUI()
{
- serializedObject.UpdateIfDirtyOrScript();
-
- GUILayout.Space(5);
- bool display;
-
- if (shouldDrawGeneral)
- {
- display = GUIElements.Header(TEXT_GENERAL_HEADER, generalProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawGeneral();
- EditorGUI.indentLevel--;
- }
- }
-
- drawOtherGUI();
-
- display = GUIElements.Header(TEXT_LIMITS_HEADER, limitsProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawLimits();
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_GESTURES_HEADER, friendlyGestures);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawFriendlyGestures();
- drawRequireToFail();
- GUILayout.Space(5);
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_USE_UNITY_EVENTS_HEADER, useUnityEvents, useUnityEvents, useUnityEvents_prop);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!useUnityEvents.boolValue))
- {
- drawUnityEvents();
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_USE_SEND_MESSAGE_HEADER, useSendMessage, useSendMessage, useSendMessage_prop);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!useSendMessage.boolValue))
- {
- drawSendMessage();
- }
- EditorGUI.indentLevel--;
- }
-
- if (shouldDrawAdvanced)
- {
- display = GUIElements.Header(TEXT_ADVANCED_HEADER, advancedProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawAdvanced();
- EditorGUI.indentLevel--;
- }
- }
+#if UNITY_5_6_OR_NEWER
+ serializedObject.UpdateIfRequiredOrScript();
+#else
+ serializedObject.UpdateIfDirtyOrScript();
+#endif
+
+ GUILayout.Space(5);
+ bool display;
+
+ if (basicEditor.boolValue)
+ {
+ drawBasic();
+ if (GUIElements.BasicHelpBox(getHelpText()))
+ {
+ basicEditor.boolValue = false;
+ Repaint();
+ }
+ }
+ else
+ {
+ if (shouldDrawGeneral)
+ {
+ display = GUIElements.Header(TEXT_GENERAL_HEADER, generalProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ drawGeneral();
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ drawOtherGUI();
+
+ display = GUIElements.Header(TEXT_LIMITS_HEADER, limitsProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ drawLimits();
+ EditorGUI.indentLevel--;
+ }
+
+ display = GUIElements.Header(TEXT_GESTURES_HEADER, friendlyGestures);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ drawFriendlyGestures();
+ drawRequireToFail();
+ GUILayout.Space(5);
+ EditorGUI.indentLevel--;
+ }
+
+ display = GUIElements.Header(TEXT_USE_UNITY_EVENTS_HEADER, useUnityEvents, useUnityEvents, useUnityEvents_prop);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(!useUnityEvents.boolValue))
+ {
+ drawUnityEvents();
+ }
+ EditorGUI.indentLevel--;
+ }
+
+ display = GUIElements.Header(TEXT_USE_SEND_MESSAGE_HEADER, useSendMessage, useSendMessage, useSendMessage_prop);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(!useSendMessage.boolValue))
+ {
+ drawSendMessage();
+ }
+ EditorGUI.indentLevel--;
+ }
+
+ if (shouldDrawAdvanced)
+ {
+ display = GUIElements.Header(TEXT_ADVANCED_HEADER, advancedProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ drawAdvanced();
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ drawDebug();
+ }
serializedObject.ApplyModifiedProperties();
}
- protected virtual void drawOtherGUI()
- {
-
- }
-
- protected virtual void drawGeneral()
- {
-
- }
-
- protected virtual void drawLimits()
- {
- var limitPointers = (minPointers.intValue > 0) || (maxPointers.intValue > 0);
- var newLimitPointers = EditorGUILayout.ToggleLeft(TEXT_LIMIT_POINTERS, limitPointers);
- if (newLimitPointers)
- {
- if (!limitPointers)
- {
- minPointersFloat = 0;
- maxPointersFloat = 10;
- }
- else
- {
- minPointersFloat = (float) minPointers.intValue;
- maxPointersFloat = (float) maxPointers.intValue;
- }
- //or this values doesn't change from script properly
- EditorGUI.indentLevel++;
- EditorGUILayout.LabelField("Min: " + (int)minPointersFloat + ", Max: " + (int)maxPointersFloat);
- EditorGUILayout.MinMaxSlider(ref minPointersFloat, ref maxPointersFloat, 0, 10, GUILayout.MaxWidth(150));
- EditorGUI.indentLevel--;
- }
- else
- {
- if (limitPointers)
- {
- minPointersFloat = 0;
- maxPointersFloat = 0;
- }
- }
-
- minPointers.intValue = (int)minPointersFloat;
- maxPointers.intValue = (int)maxPointersFloat;
- }
-
- protected virtual void drawFriendlyGestures()
- {
- GUILayout.Space(5);
- drawGestureList(friendlyGestures, addFriendlyGesture);
- GUILayout.Space(5);
- }
-
- protected virtual void drawUnityEvents()
- {
- EditorGUILayout.PropertyField(OnStateChange);
- EditorGUILayout.PropertyField(sendStateChangeEvents, TEXT_SEND_STATE_CHANGE_EVENTS);
- }
+ protected virtual void drawBasic() {}
+
+ protected virtual GUIContent getHelpText()
+ {
+ return new GUIContent("");
+ }
+
+ protected virtual void drawOtherGUI() {}
+
+ protected virtual void drawGeneral() {}
+
+ protected virtual void drawLimits()
+ {
+ var limitPointers = (minPointers.intValue > 0) || (maxPointers.intValue > 0);
+ var newLimitPointers = EditorGUILayout.ToggleLeft(TEXT_LIMIT_POINTERS, limitPointers);
+ if (newLimitPointers)
+ {
+ if (!limitPointers)
+ {
+ minPointersFloat = 0;
+ maxPointersFloat = 10;
+ }
+ else
+ {
+ minPointersFloat = (float) minPointers.intValue;
+ maxPointersFloat = (float) maxPointers.intValue;
+ }
+ //or this values doesn't change from script properly
+ EditorGUI.indentLevel++;
+ EditorGUILayout.LabelField("Min: " + (int) minPointersFloat + ", Max: " + (int) maxPointersFloat);
+ EditorGUILayout.MinMaxSlider(ref minPointersFloat, ref maxPointersFloat, 0, 10, GUILayout.MaxWidth(150));
+ EditorGUI.indentLevel--;
+ }
+ else
+ {
+ if (limitPointers)
+ {
+ minPointersFloat = 0;
+ maxPointersFloat = 0;
+ }
+ }
+
+ minPointers.intValue = (int) minPointersFloat;
+ maxPointers.intValue = (int) maxPointersFloat;
+ }
+
+ protected virtual void drawFriendlyGestures()
+ {
+ GUILayout.Space(5);
+ drawGestureList(friendlyGestures, addFriendlyGesture);
+ GUILayout.Space(5);
+ }
+
+ protected virtual void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnStateChange);
+ EditorGUILayout.PropertyField(sendStateChangeEvents, TEXT_SEND_STATE_CHANGE_EVENTS);
+ }
protected virtual void drawSendMessage()
{
@@ -240,40 +256,18 @@ protected virtual void drawSendMessage()
EditorGUILayout.PropertyField(sendStateChangeMessages, TEXT_SEND_STATE_CHANGE_MESSAGES);
}
- protected virtual void drawAdvanced()
+ protected virtual void drawAdvanced() {}
+
+ protected virtual void drawDebug()
{
- drawCombineTouches();
- drawDebug();
+ if (debugMode == null) return;
+ EditorGUILayout.PropertyField(debugMode, TEXT_DEBUG_MODE);
}
- protected virtual void drawCombineTouches()
- {
- if (shouldDrawCombineTouches)
- {
- EditorGUILayout.PropertyField(combinePointers, TEXT_COMBINE_POINTERS);
- if (combinePointers.boolValue)
- {
- EditorGUIUtility.labelWidth = 160;
- EditorGUILayout.BeginHorizontal();
- GUILayout.Label(GUIContent.none, GUILayout.Width(10));
- EditorGUILayout.BeginVertical(GUILayout.ExpandWidth(true));
- EditorGUILayout.PropertyField(combinePointersInterval, TEXT_COMBINE_TOUCH_POINTERS);
- EditorGUILayout.EndVertical();
- EditorGUILayout.EndHorizontal();
- }
- }
- }
-
- protected virtual void drawDebug()
- {
- if (debugMode == null) return;
- EditorGUILayout.PropertyField(debugMode, TEXT_DEBUG_MODE);
- }
-
- protected virtual void drawRequireToFail()
- {
- EditorGUILayout.PropertyField(requireGestureToFail, TEXT_REQUIRE_GESTURE_TO_FAIL);
- }
+ protected virtual void drawRequireToFail()
+ {
+ EditorGUILayout.PropertyField(requireGestureToFail, TEXT_REQUIRE_GESTURE_TO_FAIL);
+ }
#region Gesture List
@@ -283,12 +277,12 @@ private void drawGestureList(SerializedProperty prop, Action cm.");
+ public static readonly GUIContent TEXT_TIME_TO_PRESS = new GUIContent("Time to Press (sec)", "Limit maximum number of simultaneous pointers.");
+ public static readonly GUIContent TEXT_DISTANCE_LIMIT = new GUIContent("Limit Movement (cm)", "Gesture fails if fingers move more than cm.");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a gesture when this GameObject is being pressed for seconds.");
private SerializedProperty distanceLimit, timeToPress;
- private SerializedProperty OnLongPress;
+ private SerializedProperty OnLongPress;
protected override void OnEnable()
{
timeToPress = serializedObject.FindProperty("timeToPress");
distanceLimit = serializedObject.FindProperty("distanceLimit");
- OnLongPress = serializedObject.FindProperty("OnLongPress");
+ OnLongPress = serializedObject.FindProperty("OnLongPress");
+
+ base.OnEnable();
+ }
+
+ protected override void drawBasic()
+ {
+ EditorGUILayout.PropertyField(timeToPress, TEXT_TIME_TO_PRESS);
+ }
- base.OnEnable();
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
}
- protected override void drawGeneral ()
- {
- EditorGUILayout.PropertyField(timeToPress, TEXT_TIME_TO_PRESS);
+ protected override void drawGeneral()
+ {
+ EditorGUILayout.PropertyField(timeToPress, TEXT_TIME_TO_PRESS);
- base.drawGeneral();
- }
+ base.drawGeneral();
+ }
- protected override void drawLimits ()
- {
+ protected override void drawLimits()
+ {
EditorGUILayout.PropertyField(distanceLimit, TEXT_DISTANCE_LIMIT);
- base.drawLimits();
+ base.drawLimits();
}
- protected override void drawUnityEvents ()
- {
- EditorGUILayout.PropertyField(OnLongPress);
+ protected override void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnLongPress);
- base.drawUnityEvents ();
- }
+ base.drawUnityEvents();
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs
new file mode 100644
index 000000000..1d50c7784
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs
@@ -0,0 +1,28 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using TouchScript.Gestures;
+using UnityEditor;
+using UnityEngine;
+
+namespace TouchScript.Editor.Gestures
+{
+ [CustomEditor(typeof(MetaGesture), true)]
+ internal sealed class MetaGestureEditor : GestureEditor
+ {
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component serves as a proxy from TouchScript gesture recognition logic to C# events. It catches pointers like a normal event and dispatches events for every event of caught pointers.");
+
+ protected override void OnEnable()
+ {
+ base.OnEnable();
+
+ shouldDrawGeneral = false;
+ }
+
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs.meta b/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs.meta
new file mode 100644
index 000000000..e0ebd396d
--- /dev/null
+++ b/Source/Assets/TouchScript/Editor/Gestures/MetaGestureEditor.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 1526de045810e4fd49854b9fda413e2a
+timeCreated: 1500968297
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Editor/Gestures/PressGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/PressGestureEditor.cs
index 3fe025d7b..5c00da861 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/PressGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/PressGestureEditor.cs
@@ -11,31 +11,38 @@ namespace TouchScript.Editor.Gestures
[CustomEditor(typeof(PressGesture), true)]
internal sealed class PressGestureEditor : GestureEditor
{
- public static readonly GUIContent TEXT_IGNORE_CHILDREN = new GUIContent("Ignore Children", "If selected this gesture ignores pointers from children.");
+ public static readonly GUIContent TEXT_IGNORE_CHILDREN = new GUIContent("Ignore Children", "If selected this gesture ignores pointers from children.");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a gesture when at least one pointer is pressed over this GameObject.");
private SerializedProperty ignoreChildren;
- private SerializedProperty OnPress;
+ private SerializedProperty OnPress;
protected override void OnEnable()
{
ignoreChildren = serializedObject.FindProperty("ignoreChildren");
- OnPress = serializedObject.FindProperty("OnPress");
+ OnPress = serializedObject.FindProperty("OnPress");
+
+ base.OnEnable();
+ }
- base.OnEnable();
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
}
- protected override void drawGeneral()
+ protected override void drawGeneral()
{
EditorGUILayout.PropertyField(ignoreChildren, TEXT_IGNORE_CHILDREN);
- base.drawGeneral();
+ base.drawGeneral();
}
- protected override void drawUnityEvents ()
- {
- EditorGUILayout.PropertyField(OnPress);
+ protected override void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnPress);
- base.drawUnityEvents();
- }
+ base.drawUnityEvents();
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/ReleaseGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/ReleaseGestureEditor.cs
index 7d182ce9b..ff2b1ec22 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/ReleaseGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/ReleaseGestureEditor.cs
@@ -11,31 +11,38 @@ namespace TouchScript.Editor.Gestures
[CustomEditor(typeof(ReleaseGesture), true)]
internal sealed class ReleaseGestureEditor : GestureEditor
{
- public static readonly GUIContent TEXT_IGNORE_CHILDREN = new GUIContent("Ignore Children", "If selected this gesture ignores pointers from children.");
+ public static readonly GUIContent TEXT_IGNORE_CHILDREN = new GUIContent("Ignore Children", "If selected this gesture ignores pointers from children.");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a gesture when all pointers are lifted off from this GameObject.");
private SerializedProperty ignoreChildren;
- private SerializedProperty OnRelease;
+ private SerializedProperty OnRelease;
protected override void OnEnable()
{
ignoreChildren = serializedObject.FindProperty("ignoreChildren");
- OnRelease = serializedObject.FindProperty("OnRelease");
+ OnRelease = serializedObject.FindProperty("OnRelease");
+
+ base.OnEnable();
+ }
- base.OnEnable();
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
}
- protected override void drawGeneral()
+ protected override void drawGeneral()
{
EditorGUILayout.PropertyField(ignoreChildren, TEXT_IGNORE_CHILDREN);
- base.drawGeneral();
+ base.drawGeneral();
}
- protected override void drawUnityEvents ()
- {
- EditorGUILayout.PropertyField(OnRelease);
+ protected override void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnRelease);
- base.drawUnityEvents();
- }
+ base.drawUnityEvents();
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TapGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TapGestureEditor.cs
index 4b9ece4b9..eacfcc60b 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TapGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TapGestureEditor.cs
@@ -11,47 +11,72 @@ namespace TouchScript.Editor.Gestures
[CustomEditor(typeof(TapGesture), true)]
internal sealed class TapGestureEditor : GestureEditor
{
- public static readonly GUIContent TEXT_TIME_LIMIT = new GUIContent("Limit Time (sec)", "Gesture fails if in seconds user didn't do the required number of taps.");
- public static readonly GUIContent TEXT_DISTANCE_LIMIT = new GUIContent("Limit Movement (cm)", "Gesture fails if taps are made more than cm away from the first pointer position.");
- public static readonly GUIContent TEXT_NUMBER_OF_TAPS_REQUIRED = new GUIContent("Number of Taps Required", "Number of taps required for this gesture to be recognized.");
+ public static readonly GUIContent TEXT_TIME_LIMIT = new GUIContent("Limit Time (sec)", "Gesture fails if in seconds user didn't do the required number of taps.");
+ public static readonly GUIContent TEXT_DISTANCE_LIMIT = new GUIContent("Limit Movement (cm)", "Gesture fails if taps are made more than cm away from the first pointer position.");
+ public static readonly GUIContent TEXT_NUMBER_OF_TAPS_REQUIRED = new GUIContent("Number of Taps Required", "Number of taps required for this gesture to be recognized.");
+ public static readonly GUIContent TEXT_COMBINE_POINTERS = new GUIContent("Combine Pointers", "When several fingers are used to perform a tap, pointers released not earlier than seconds ago are used to calculate gesture's final screen position.");
+ public static readonly GUIContent TEXT_COMBINE_TOUCH_POINTERS = new GUIContent("Combine Interval (sec)", TEXT_COMBINE_POINTERS.tooltip);
- private SerializedProperty numberOfTapsRequired, distanceLimit, timeLimit;
- private SerializedProperty OnTap;
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a gesture when this GameObject is tapped.");
+
+ private SerializedProperty numberOfTapsRequired, distanceLimit, timeLimit, combinePointers, combinePointersInterval;
+ private SerializedProperty OnTap;
protected override void OnEnable()
{
numberOfTapsRequired = serializedObject.FindProperty("numberOfTapsRequired");
timeLimit = serializedObject.FindProperty("timeLimit");
distanceLimit = serializedObject.FindProperty("distanceLimit");
+ combinePointers = serializedObject.FindProperty("combinePointers");
+ combinePointersInterval = serializedObject.FindProperty("combinePointersInterval");
- OnTap = serializedObject.FindProperty("OnTap");
+ OnTap = serializedObject.FindProperty("OnTap");
- shouldDrawCombineTouches = true;
+ base.OnEnable();
+ }
- base.OnEnable();
+ protected override void drawBasic()
+ {
+ EditorGUIUtility.labelWidth = 180;
+ EditorGUILayout.IntPopup(numberOfTapsRequired, new[] {new GUIContent("One"), new GUIContent("Two"), new GUIContent("Three")}, new[] {1, 2, 3}, TEXT_NUMBER_OF_TAPS_REQUIRED, GUILayout.ExpandWidth(true));
}
- protected override void drawGeneral()
- {
- EditorGUIUtility.labelWidth = 180;
- EditorGUILayout.IntPopup(numberOfTapsRequired, new[] {new GUIContent("One"), new GUIContent("Two"), new GUIContent("Three")}, new[] {1, 2, 3}, TEXT_NUMBER_OF_TAPS_REQUIRED, GUILayout.ExpandWidth(true));
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
+ }
- base.drawGeneral ();
- }
+ protected override void drawGeneral()
+ {
+ EditorGUIUtility.labelWidth = 180;
+ EditorGUILayout.IntPopup(numberOfTapsRequired, new[] {new GUIContent("One"), new GUIContent("Two"), new GUIContent("Three")}, new[] {1, 2, 3}, TEXT_NUMBER_OF_TAPS_REQUIRED, GUILayout.ExpandWidth(true));
+ EditorGUILayout.PropertyField(combinePointers, TEXT_COMBINE_POINTERS);
+ if (combinePointers.boolValue)
+ {
+ EditorGUIUtility.labelWidth = 160;
+ EditorGUILayout.BeginHorizontal();
+ GUILayout.Label(GUIContent.none, GUILayout.Width(10));
+ EditorGUILayout.BeginVertical(GUILayout.ExpandWidth(true));
+ EditorGUILayout.PropertyField(combinePointersInterval, TEXT_COMBINE_TOUCH_POINTERS);
+ EditorGUILayout.EndVertical();
+ EditorGUILayout.EndHorizontal();
+ }
+ base.drawGeneral();
+ }
- protected override void drawLimits()
+ protected override void drawLimits()
{
EditorGUILayout.PropertyField(timeLimit, TEXT_TIME_LIMIT);
EditorGUILayout.PropertyField(distanceLimit, TEXT_DISTANCE_LIMIT);
- base.drawLimits();
+ base.drawLimits();
}
- protected override void drawUnityEvents ()
- {
- EditorGUILayout.PropertyField(OnTap);
+ protected override void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnTap);
- base.drawUnityEvents();
- }
+ base.drawUnityEvents();
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/OnePointTransformGestureBaseEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/OnePointTransformGestureBaseEditor.cs
index 5ef17c9f1..b2016ecfd 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/OnePointTransformGestureBaseEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/OnePointTransformGestureBaseEditor.cs
@@ -8,31 +8,51 @@
namespace TouchScript.Editor.Gestures.TransformGestures.Base
{
- internal class OnePointTransformGestureBaseEditor : TransformGestureBaseEditor
+ internal class OnePointTransformGestureBaseEditor : TransformGestureBaseEditor
{
+ protected override void drawBasic()
+ {
+ var typeValue = type.intValue;
+ int newType = 0;
+ EditorGUILayout.LabelField(TEXT_TYPE);
- protected override void drawGeneral()
+ var rect = GUILayoutUtility.GetRect(0, 20, GUILayout.ExpandWidth(true));
+ rect.x += 10;
+ rect.width = 70;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_ROTATION,
+ (typeValue & (int) TransformGesture.TransformType.Rotation) != 0))
+ newType |= (int) TransformGesture.TransformType.Rotation;
+ rect.x += rect.width;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_SCALING,
+ (typeValue & (int) TransformGesture.TransformType.Scaling) != 0))
+ newType |= (int) TransformGesture.TransformType.Scaling;
+ type.intValue = newType;
+ }
+
+ protected override void drawGeneral()
{
var typeValue = type.intValue;
int newType = 0;
EditorGUILayout.LabelField(TEXT_TYPE);
- EditorGUI.indentLevel++;
- EditorGUILayout.BeginVertical();
- if (EditorGUILayout.ToggleLeft(TEXT_TYPE_ROTATION,
- (typeValue & (int)TransformGesture.TransformType.Rotation) != 0))
- newType |= (int)TransformGesture.TransformType.Rotation;
- if (EditorGUILayout.ToggleLeft(TEXT_TYPE_SCALING,
- (typeValue & (int)TransformGesture.TransformType.Scaling) != 0))
- newType |= (int)TransformGesture.TransformType.Scaling;
+
+ EditorGUI.indentLevel--;
+ var rect = GUILayoutUtility.GetRect(0, 20, GUILayout.ExpandWidth(true));
+ rect.x += 26;
+ rect.width = 70;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_ROTATION,
+ (typeValue & (int) TransformGesture.TransformType.Rotation) != 0))
+ newType |= (int) TransformGesture.TransformType.Rotation;
+ rect.x += rect.width;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_SCALING,
+ (typeValue & (int) TransformGesture.TransformType.Scaling) != 0))
+ newType |= (int) TransformGesture.TransformType.Scaling;
type.intValue = newType;
- EditorGUILayout.EndVertical();
- EditorGUI.indentLevel--;
+ EditorGUI.indentLevel++;
- EditorGUIUtility.labelWidth = 160;
- EditorGUILayout.PropertyField(screenTransformThreshold, TEXT_SCREEN_TRANSFORM_THRESHOLD);
+ EditorGUIUtility.labelWidth = 160;
+ EditorGUILayout.PropertyField(screenTransformThreshold, TEXT_SCREEN_TRANSFORM_THRESHOLD);
- base.drawGeneral();
+ base.drawGeneral();
}
-
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TransformGestureBaseEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TransformGestureBaseEditor.cs
index 75964f434..fec57b9a4 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TransformGestureBaseEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TransformGestureBaseEditor.cs
@@ -2,49 +2,147 @@
* @author Valentin Simonov / http://va.lent.in/
*/
+using TouchScript.Editor.EditorUI;
using TouchScript.Gestures.TransformGestures;
using UnityEditor;
using UnityEngine;
namespace TouchScript.Editor.Gestures.TransformGestures.Base
{
- internal class TransformGestureBaseEditor : GestureEditor
- {
- public static readonly GUIContent TEXT_PROJECTION_HEADER = new GUIContent("Projection", "Screen to 3D object projection parameters.");
-
- public static readonly GUIContent TEXT_TYPE = new GUIContent("Transform Type", "Specifies what gestures should be detected: Translation, Rotation, Scaling.");
- public static readonly GUIContent TEXT_TYPE_TRANSLATION = new GUIContent(" Translation", "Dragging with one ore more fingers.");
- public static readonly GUIContent TEXT_TYPE_ROTATION = new GUIContent(" Rotation", "Rotating with two or more fingers.");
- public static readonly GUIContent TEXT_TYPE_SCALING = new GUIContent(" Scaling", "Scaling with two or more fingers.");
- public static readonly GUIContent TEXT_MIN_SCREEN_POINTS_DISTANCE = new GUIContent("Min Points Distance (cm)", "Minimum distance between two pointers (clusters) in cm to consider this gesture started. Used to prevent fake pointers spawned near real ones on cheap multitouch hardware to mess everything up.");
- public static readonly GUIContent TEXT_SCREEN_TRANSFORM_THRESHOLD = new GUIContent("Movement Threshold (cm)", "Minimum distance in cm pointers must move for the gesture to begin.");
- public static readonly GUIContent TEXT_PROJECTION = new GUIContent("Type", "Method used to project 2d screen positions of pointers into 3d space.");
- public static readonly GUIContent TEXT_PROJECTION_NORMAL = new GUIContent("Normal", "Normal of the plane in 3d space where pointers' positions are projected.");
-
- protected SerializedProperty type, minScreenPointsDistance, screenTransformThreshold;
- protected SerializedProperty OnTransformStart, OnTransform, OnTransformComplete;
-
- protected override void OnEnable()
- {
- type = serializedObject.FindProperty("type");
- minScreenPointsDistance = serializedObject.FindProperty("minScreenPointsDistance");
- screenTransformThreshold = serializedObject.FindProperty("screenTransformThreshold");
- OnTransformStart = serializedObject.FindProperty("OnTransformStart");
- OnTransform = serializedObject.FindProperty("OnTransform");
- OnTransformComplete = serializedObject.FindProperty("OnTransformComplete");
-
- base.OnEnable();
- }
-
- protected override void drawUnityEvents ()
- {
- EditorGUILayout.PropertyField(OnTransformStart);
- EditorGUILayout.PropertyField(OnTransform);
- EditorGUILayout.PropertyField(OnTransformComplete);
-
- base.drawUnityEvents ();
- }
-
- }
-}
+ internal class TransformGestureBaseEditor : GestureEditor
+ {
+ public static readonly GUIContent TEXT_PROJECTION_HEADER = new GUIContent("Projection", "Screen to 3D object projection parameters.");
+ public static readonly GUIContent TEXT_TYPE = new GUIContent("Transform Type", "Specifies what gestures should be detected: Translation, Rotation, Scaling.");
+ public static readonly GUIContent TEXT_TYPE_TRANSLATION = new GUIContent("Translation", "Dragging with one ore more fingers.");
+ public static readonly GUIContent TEXT_TYPE_ROTATION = new GUIContent("Rotation", "Rotating with two or more fingers.");
+ public static readonly GUIContent TEXT_TYPE_SCALING = new GUIContent("Scaling", "Scaling with two or more fingers.");
+ public static readonly GUIContent TEXT_MIN_SCREEN_POINTS_DISTANCE = new GUIContent("Min Points Distance (cm)", "Minimum distance between two pointers (clusters) in cm to consider this gesture started. Used to prevent fake pointers spawned near real ones on cheap multitouch hardware to mess everything up.");
+ public static readonly GUIContent TEXT_SCREEN_TRANSFORM_THRESHOLD = new GUIContent("Movement Threshold (cm)", "Minimum distance in cm pointers must move for the gesture to begin.");
+
+ public static readonly GUIContent TEXT_PROJECTION = new GUIContent("Projection Type", "Method used to project 2d screen positions of pointers into 3d space.");
+ public static readonly GUIContent TEXT_PROJECTION_LAYER = new GUIContent("Transform plane is parallel to the camera.");
+ public static readonly GUIContent TEXT_PROJECTION_OBJECT = new GUIContent("Transform plane is relative to the object.");
+ public static readonly GUIContent TEXT_PROJECTION_GLOBAL = new GUIContent("Transform plane is relative to the world.");
+ public static readonly GUIContent TEXT_PROJECTION_NORMAL = new GUIContent("Projection Normal", "Normal of the plane in 3d space where pointers' positions are projected.");
+
+
+ protected SerializedProperty type, minScreenPointsDistance, screenTransformThreshold;
+ protected SerializedProperty OnTransformStart, OnTransform, OnTransformComplete;
+
+ public SerializedProperty projection, projectionPlaneNormal;
+ public SerializedProperty projectionProps;
+
+ private Texture2D xy, xz, yz, unknown, selector;
+ private Color selectorColor = new Color(1, 1, 1, .05f);
+ private Color selectorColorSelected = new Color(1, 1, 1, .9f);
+ protected bool customProjection = false;
+
+ protected override void OnEnable()
+ {
+ type = serializedObject.FindProperty("type");
+ minScreenPointsDistance = serializedObject.FindProperty("minScreenPointsDistance");
+ screenTransformThreshold = serializedObject.FindProperty("screenTransformThreshold");
+ OnTransformStart = serializedObject.FindProperty("OnTransformStart");
+ OnTransform = serializedObject.FindProperty("OnTransform");
+ OnTransformComplete = serializedObject.FindProperty("OnTransformComplete");
+
+ projection = serializedObject.FindProperty("projection");
+ projectionPlaneNormal = serializedObject.FindProperty("projectionPlaneNormal");
+ projectionProps = serializedObject.FindProperty("projectionProps");
+
+ xy = EditorResources.Load("Icons/xy.png");
+ xz = EditorResources.Load("Icons/xz.png");
+ yz = EditorResources.Load("Icons/yz.png");
+ unknown = EditorResources.Load("Icons/unknown.png");
+ selector = EditorResources.Load("Icons/selector.png");
+
+ base.OnEnable();
+ }
+
+ protected override void drawUnityEvents()
+ {
+ EditorGUILayout.PropertyField(OnTransformStart);
+ EditorGUILayout.PropertyField(OnTransform);
+ EditorGUILayout.PropertyField(OnTransformComplete);
+
+ base.drawUnityEvents();
+ }
+
+ protected void initCustomProjection()
+ {
+ var v = projectionPlaneNormal.vector3Value;
+ customProjection = !(v == Vector3.up || v == Vector3.right || v == Vector3.forward);
+ }
+
+ protected bool drawProjection(bool custom)
+ {
+ EditorGUILayout.PropertyField(projection, TEXT_PROJECTION);
+ switch (projection.enumValueIndex)
+ {
+ case (int) TransformGesture.ProjectionType.Layer:
+ EditorGUILayout.LabelField(TEXT_PROJECTION_LAYER, GUIElements.HelpBox);
+ break;
+ case (int) TransformGesture.ProjectionType.Object:
+ EditorGUILayout.LabelField(TEXT_PROJECTION_OBJECT, GUIElements.HelpBox);
+ break;
+ case (int) TransformGesture.ProjectionType.Global:
+ EditorGUILayout.LabelField(TEXT_PROJECTION_GLOBAL, GUIElements.HelpBox);
+ break;
+ }
+
+ if (projection.enumValueIndex != (int) TransformGesture.ProjectionType.Layer)
+ {
+ var v = projectionPlaneNormal.vector3Value;
+ var rect = GUILayoutUtility.GetRect(0, 35, GUILayout.ExpandWidth(true));
+
+ rect.width = 44;
+ rect.x += 10;
+ GUI.DrawTexture(rect, yz);
+ if (drawSelector(rect, !custom && v == Vector3.right))
+ {
+ projectionPlaneNormal.vector3Value = Vector3.right;
+ custom = false;
+ }
+
+ rect.x += rect.width + 5;
+ GUI.DrawTexture(rect, xz);
+ if (drawSelector(rect, !custom && v == Vector3.up))
+ {
+ projectionPlaneNormal.vector3Value = Vector3.up;
+ custom = false;
+ }
+
+ rect.x += rect.width + 5;
+ GUI.DrawTexture(rect, xy);
+ if (drawSelector(rect, !custom && v == Vector3.forward))
+ {
+ projectionPlaneNormal.vector3Value = Vector3.forward;
+ custom = false;
+ }
+
+ rect.x += rect.width + 10;
+ GUI.DrawTexture(rect, unknown);
+ if (drawSelector(rect, custom)) custom = true;
+
+ if (custom) EditorGUILayout.PropertyField(projectionPlaneNormal, TEXT_PROJECTION_NORMAL);
+ }
+
+ return custom;
+ }
+
+ protected bool drawSelector(Rect rect, bool selected)
+ {
+ GUI.color = selected ? selectorColorSelected : selectorColor;
+ GUI.DrawTexture(rect, selector);
+ GUI.color = Color.white;
+
+ if (Event.current.type == EventType.MouseUp && rect.Contains(Event.current.mousePosition))
+ {
+ Event.current.Use();
+ return true;
+ }
+ return false;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TwoPointTransformGestureBaseEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TwoPointTransformGestureBaseEditor.cs
index f556e3068..4cb6492f4 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TwoPointTransformGestureBaseEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/Base/TwoPointTransformGestureBaseEditor.cs
@@ -8,33 +8,63 @@
namespace TouchScript.Editor.Gestures.TransformGestures.Base
{
- internal class TwoPointTransformGestureBaseEditor : TransformGestureBaseEditor
+ internal class TwoPointTransformGestureBaseEditor : TransformGestureBaseEditor
{
+ protected override void drawBasic()
+ {
+ var typeValue = type.intValue;
+ int newType = 0;
+ EditorGUILayout.LabelField(TEXT_TYPE);
+
+ var rect = GUILayoutUtility.GetRect(0, 20, GUILayout.ExpandWidth(true));
+ rect.x += 10;
+ rect.width = 90;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_TRANSLATION,
+ (typeValue & (int) TransformGesture.TransformType.Translation) != 0))
+ newType |= (int) TransformGesture.TransformType.Translation;
+ rect.x += rect.width;
+ rect.width = 70;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_ROTATION,
+ (typeValue & (int) TransformGesture.TransformType.Rotation) != 0))
+ newType |= (int) TransformGesture.TransformType.Rotation;
+ rect.x += rect.width;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_SCALING,
+ (typeValue & (int) TransformGesture.TransformType.Scaling) != 0))
+ newType |= (int) TransformGesture.TransformType.Scaling;
+ type.intValue = newType;
+ }
+
protected override void drawGeneral()
{
- var typeValue = type.intValue;
- int newType = 0;
- EditorGUILayout.LabelField(TEXT_TYPE);
- EditorGUI.indentLevel++;
- EditorGUILayout.BeginVertical();
- if (EditorGUILayout.ToggleLeft(TEXT_TYPE_TRANSLATION,
- (typeValue & (int)TransformGesture.TransformType.Translation) != 0))
- newType |= (int)TransformGesture.TransformType.Translation;
- if (EditorGUILayout.ToggleLeft(TEXT_TYPE_ROTATION,
- (typeValue & (int)TransformGesture.TransformType.Rotation) != 0))
- newType |= (int)TransformGesture.TransformType.Rotation;
- if (EditorGUILayout.ToggleLeft(TEXT_TYPE_SCALING,
- (typeValue & (int)TransformGesture.TransformType.Scaling) != 0))
- newType |= (int)TransformGesture.TransformType.Scaling;
- type.intValue = newType;
- EditorGUILayout.EndVertical();
- EditorGUI.indentLevel--;
+ var typeValue = type.intValue;
+ int newType = 0;
+ EditorGUILayout.LabelField(TEXT_TYPE);
+ EditorGUI.indentLevel--;
+
+ var rect = GUILayoutUtility.GetRect(0, 20, GUILayout.ExpandWidth(true));
+ rect.x += 26;
+ rect.width = 90;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_TRANSLATION,
+ (typeValue & (int) TransformGesture.TransformType.Translation) != 0))
+ newType |= (int) TransformGesture.TransformType.Translation;
+ rect.x += rect.width;
+ rect.width = 70;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_ROTATION,
+ (typeValue & (int) TransformGesture.TransformType.Rotation) != 0))
+ newType |= (int) TransformGesture.TransformType.Rotation;
+ rect.x += rect.width;
+ if (EditorGUI.ToggleLeft(rect, TEXT_TYPE_SCALING,
+ (typeValue & (int) TransformGesture.TransformType.Scaling) != 0))
+ newType |= (int) TransformGesture.TransformType.Scaling;
+ type.intValue = newType;
+
+ EditorGUI.indentLevel++;
EditorGUIUtility.labelWidth = 160;
EditorGUILayout.PropertyField(minScreenPointsDistance, TEXT_MIN_SCREEN_POINTS_DISTANCE);
EditorGUILayout.PropertyField(screenTransformThreshold, TEXT_SCREEN_TRANSFORM_THRESHOLD);
- base.drawGeneral();
+ base.drawGeneral();
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/PinnedTransformGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/PinnedTransformGestureEditor.cs
index e1317e19c..42a21a75a 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/PinnedTransformGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/PinnedTransformGestureEditor.cs
@@ -6,40 +6,44 @@
using TouchScript.Gestures.TransformGestures;
using UnityEditor;
using UnityEngine;
-using TouchScript.Editor.Utils;
+using TouchScript.Editor.EditorUI;
namespace TouchScript.Editor.Gestures.TransformGestures
{
[CustomEditor(typeof(PinnedTransformGesture), true)]
internal class PinnedTransformGestureEditor : OnePointTransformGestureBaseEditor
{
- public SerializedProperty projection, projectionPlaneNormal;
- public SerializedProperty projectionProps;
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a combination of rotation and scaling gestures on the GameObject if it was pinned to the world position.");
protected override void OnEnable()
{
- projection = serializedObject.FindProperty("projection");
- projectionPlaneNormal = serializedObject.FindProperty("projectionPlaneNormal");
+ base.OnEnable();
- projectionProps = serializedObject.FindProperty("projectionProps");
+ initCustomProjection();
+ }
+
+ protected override void drawBasic()
+ {
+ base.drawBasic();
- base.OnEnable();
+ customProjection = drawProjection(customProjection);
}
- protected override void drawOtherGUI()
- {
- var display = GUIElements.Header(TEXT_PROJECTION_HEADER, projectionProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(projection, TEXT_PROJECTION);
- if (projection.enumValueIndex != (int)TransformGesture.ProjectionType.Layer)
- {
- EditorGUILayout.PropertyField(projectionPlaneNormal, TEXT_PROJECTION_NORMAL);
- }
- EditorGUI.indentLevel--;
- }
- }
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
+ }
+ protected override void drawOtherGUI()
+ {
+ var display = GUIElements.Header(TEXT_PROJECTION_HEADER, projectionProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ customProjection = drawProjection(customProjection);
+ EditorGUILayout.Space();
+ EditorGUI.indentLevel--;
+ }
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/ScreenTransformGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/ScreenTransformGestureEditor.cs
index 4ada899fe..c30fa37f3 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/ScreenTransformGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/ScreenTransformGestureEditor.cs
@@ -5,11 +5,18 @@
using TouchScript.Editor.Gestures.TransformGestures.Base;
using TouchScript.Gestures.TransformGestures;
using UnityEditor;
+using UnityEngine;
namespace TouchScript.Editor.Gestures.TransformGestures
{
[CustomEditor(typeof(ScreenTransformGesture), true)]
internal class ScreenTransformGestureEditor : TwoPointTransformGestureBaseEditor
{
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a combination of translation, rotation and scaling gestures on the GameObject in screen space.");
+
+ protected override GUIContent getHelpText()
+ {
+ return TEXT_HELP;
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/TransformGestureEditor.cs b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/TransformGestureEditor.cs
index d6be51588..d205e6f0e 100644
--- a/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/TransformGestureEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Gestures/TransformGestures/TransformGestureEditor.cs
@@ -5,41 +5,46 @@
using TouchScript.Editor.Gestures.TransformGestures.Base;
using TouchScript.Gestures.TransformGestures;
using UnityEditor;
+using TouchScript.Editor.EditorUI;
using UnityEngine;
-using TouchScript.Editor.Utils;
namespace TouchScript.Editor.Gestures.TransformGestures
{
[CustomEditor(typeof(TransformGesture), true)]
internal class TransformGestureEditor : TwoPointTransformGestureBaseEditor
{
- public SerializedProperty projection, projectionPlaneNormal;
- public SerializedProperty projectionProps;
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component recognizes a combination of translation, rotation and scaling gestures on the GameObject.");
+
protected override void OnEnable()
{
- projection = serializedObject.FindProperty("projection");
- projectionPlaneNormal = serializedObject.FindProperty("projectionPlaneNormal");
+ base.OnEnable();
+
+ initCustomProjection();
+ }
- projectionProps = serializedObject.FindProperty("projectionProps");
+ protected override void drawBasic()
+ {
+ base.drawBasic();
- base.OnEnable();
+ customProjection = drawProjection(customProjection);
}
- protected override void drawOtherGUI()
+ protected override GUIContent getHelpText()
{
- var display = GUIElements.Header(TEXT_PROJECTION_HEADER, projectionProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(projection, TEXT_PROJECTION);
- if (projection.enumValueIndex != (int)TransformGesture.ProjectionType.Layer)
- {
- EditorGUILayout.PropertyField(projectionPlaneNormal, TEXT_PROJECTION_NORMAL);
- }
- EditorGUI.indentLevel--;
- }
+ return TEXT_HELP;
}
+ protected override void drawOtherGUI()
+ {
+ var display = GUIElements.Header(TEXT_PROJECTION_HEADER, projectionProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ customProjection = drawProjection(customProjection);
+ EditorGUILayout.Space();
+ EditorGUI.indentLevel--;
+ }
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/InputSources/InputSourceEditor.cs b/Source/Assets/TouchScript/Editor/InputSources/InputSourceEditor.cs
index 7cc5c5ee4..030363f56 100644
--- a/Source/Assets/TouchScript/Editor/InputSources/InputSourceEditor.cs
+++ b/Source/Assets/TouchScript/Editor/InputSources/InputSourceEditor.cs
@@ -10,14 +10,10 @@ namespace TouchScript.Editor.InputSources
{
public class InputSourceEditor : UnityEditor.Editor
{
- protected virtual void OnEnable()
- {
- }
+ protected virtual void OnEnable() {}
- public override void OnInspectorGUI()
- {
- }
+ public override void OnInspectorGUI() {}
protected virtual void drawAdvanced() {}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/InputSources/StandardInputEditor.cs b/Source/Assets/TouchScript/Editor/InputSources/StandardInputEditor.cs
index c1c72b345..b6cc02970 100644
--- a/Source/Assets/TouchScript/Editor/InputSources/StandardInputEditor.cs
+++ b/Source/Assets/TouchScript/Editor/InputSources/StandardInputEditor.cs
@@ -5,28 +5,34 @@
using TouchScript.InputSources;
using UnityEditor;
using UnityEngine;
-using TouchScript.Editor.Utils;
-using System.Reflection;
+using TouchScript.Editor.EditorUI;
namespace TouchScript.Editor.InputSources
{
- [CustomEditor(typeof (StandardInput), true)]
+ [CustomEditor(typeof(StandardInput), true)]
internal sealed class StandardInputEditor : InputSourceEditor
{
- public static readonly GUIContent TEXT_GENERAL_HEADER = new GUIContent("General", "General settings.");
- public static readonly GUIContent TEXT_WINDOWS_HEADER = new GUIContent("Windows", "Windows specific settings.");
+ public static readonly GUIContent TEXT_GENERAL_HEADER = new GUIContent("General", "General settings.");
+ public static readonly GUIContent TEXT_WINDOWS_HEADER = new GUIContent("Windows", "Windows specific settings.");
+ public static readonly GUIContent TEXT_WEBGL_HEADER = new GUIContent("WebGL", "WebGL specific settings.");
- public static readonly GUIContent TEXT_WINDOWS_API = new GUIContent("Select which touch API to use:\n - Windows 8 — new WM_POINTER API,\n - Windows 7 — old WM_TOUCH API,\n - Unity — Unity's native WM_TOUCH implementation,\n - None — no touch please.");
+ public static readonly GUIContent TEXT_EMULATE_MOUSE = new GUIContent("Emulate Second Mouse Pointer", "If selected, you can press ALT to make a stationary mouse pointer. This is used to simulate multi-touch.");
- public static readonly GUIContent TEXT_WINDOWS8 = new GUIContent("Windows 8+ API");
- public static readonly GUIContent TEXT_WINDOWS7 = new GUIContent("Windows 7 API");
- public static readonly GUIContent TEXT_WINDOWS8_MOUSE = new GUIContent("Enable Mouse on Windows 8+");
- public static readonly GUIContent TEXT_WINDOWS7_MOUSE = new GUIContent("Enable Mouse on Windows 7");
- public static readonly GUIContent TEXT_UWP_MOUSE = new GUIContent("Enable Mouse on UWP");
+ public static readonly GUIContent TEXT_WINDOWS_API = new GUIContent("Select which touch API to use:\n - Windows 8 — new WM_POINTER API,\n - Windows 7 — old WM_TOUCH API,\n - Unity — Unity's WM_TOUCH implementation,\n - None — no touch.");
+ public static readonly GUIContent TEXT_WINDOWS8 = new GUIContent("Windows 8+ API");
+ public static readonly GUIContent TEXT_WINDOWS7 = new GUIContent("Windows 7 API");
+ public static readonly GUIContent TEXT_WINDOWS8_MOUSE = new GUIContent("Enable Mouse on Windows 8+");
+ public static readonly GUIContent TEXT_WINDOWS7_MOUSE = new GUIContent("Enable Mouse on Windows 7");
+ public static readonly GUIContent TEXT_UWP_MOUSE = new GUIContent("Enable Mouse on UWP");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component gathers input data from various devices like touch, mouse and pen on all platforms.");
+
+ private SerializedProperty basicEditor;
private SerializedProperty windows8Touch, windows7Touch, webGLTouch, windows8Mouse,
- windows7Mouse, universalWindowsMouse, emulateSecondMousePointer;
- private SerializedProperty generalProps, windowsProps;
+ windows7Mouse, universalWindowsMouse, emulateSecondMousePointer;
+
+ private SerializedProperty generalProps, windowsProps, webglProps;
private StandardInput instance;
@@ -35,6 +41,7 @@ protected override void OnEnable()
base.OnEnable();
instance = target as StandardInput;
+ basicEditor = serializedObject.FindProperty("basicEditor");
windows8Touch = serializedObject.FindProperty("windows8API");
windows7Touch = serializedObject.FindProperty("windows7API");
webGLTouch = serializedObject.FindProperty("webGLTouch");
@@ -43,45 +50,88 @@ protected override void OnEnable()
universalWindowsMouse = serializedObject.FindProperty("universalWindowsMouse");
emulateSecondMousePointer = serializedObject.FindProperty("emulateSecondMousePointer");
- generalProps = serializedObject.FindProperty("generalProps");
- windowsProps = serializedObject.FindProperty("windowsProps");
+ generalProps = serializedObject.FindProperty("generalProps");
+ windowsProps = serializedObject.FindProperty("windowsProps");
+ webglProps = serializedObject.FindProperty("webglProps");
}
public override void OnInspectorGUI()
{
- serializedObject.UpdateIfDirtyOrScript();
-
- GUILayout.Space(5);
-
- var display = GUIElements.Header(TEXT_GENERAL_HEADER, generalProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.PropertyField(emulateSecondMousePointer);
- if (EditorGUI.EndChangeCheck())
- {
- instance.EmulateSecondMousePointer = emulateSecondMousePointer.boolValue;
- }
- EditorGUILayout.PropertyField(webGLTouch);
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_WINDOWS_HEADER, windowsProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(windows8Touch, TEXT_WINDOWS8);
- EditorGUILayout.PropertyField(windows7Touch, TEXT_WINDOWS7);
- EditorGUILayout.LabelField(TEXT_WINDOWS_API, GUIElements.HelpBox);
- EditorGUILayout.PropertyField(windows8Mouse, TEXT_WINDOWS8_MOUSE);
- EditorGUILayout.PropertyField(windows7Mouse, TEXT_WINDOWS7_MOUSE);
- EditorGUILayout.PropertyField(universalWindowsMouse, TEXT_UWP_MOUSE);
- EditorGUI.indentLevel--;
- }
-
+#if UNITY_5_6_OR_NEWER
+ serializedObject.UpdateIfRequiredOrScript();
+#else
+ serializedObject.UpdateIfDirtyOrScript();
+#endif
+
+ GUILayout.Space(5);
+
+ if (basicEditor.boolValue)
+ {
+ EditorGUI.BeginChangeCheck();
+ EditorGUILayout.PropertyField(emulateSecondMousePointer, TEXT_EMULATE_MOUSE);
+ if (EditorGUI.EndChangeCheck())
+ {
+ instance.EmulateSecondMousePointer = emulateSecondMousePointer.boolValue;
+ }
+
+ if (GUIElements.BasicHelpBox(TEXT_HELP))
+ {
+ basicEditor.boolValue = false;
+ Repaint();
+ }
+ }
+ else
+ {
+ drawGeneral();
+ drawWindows();
+ drawWebGL();
+ }
+
serializedObject.ApplyModifiedProperties();
base.OnInspectorGUI();
}
+
+ private void drawGeneral()
+ {
+ var display = GUIElements.Header(TEXT_GENERAL_HEADER, generalProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ EditorGUI.BeginChangeCheck();
+ EditorGUILayout.PropertyField(emulateSecondMousePointer, TEXT_EMULATE_MOUSE);
+ if (EditorGUI.EndChangeCheck())
+ {
+ instance.EmulateSecondMousePointer = emulateSecondMousePointer.boolValue;
+ }
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ private void drawWindows()
+ {
+ var display = GUIElements.Header(TEXT_WINDOWS_HEADER, windowsProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ EditorGUILayout.PropertyField(windows8Touch, TEXT_WINDOWS8);
+ EditorGUILayout.PropertyField(windows7Touch, TEXT_WINDOWS7);
+ EditorGUILayout.LabelField(TEXT_WINDOWS_API, GUIElements.HelpBox);
+ EditorGUILayout.PropertyField(windows8Mouse, TEXT_WINDOWS8_MOUSE);
+ EditorGUILayout.PropertyField(windows7Mouse, TEXT_WINDOWS7_MOUSE);
+ EditorGUILayout.PropertyField(universalWindowsMouse, TEXT_UWP_MOUSE);
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ private void drawWebGL()
+ {
+ var display = GUIElements.Header(TEXT_WEBGL_HEADER, webglProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ EditorGUILayout.PropertyField(webGLTouch);
+ EditorGUI.indentLevel--;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Layers/FullscreenLayerEditor.cs b/Source/Assets/TouchScript/Editor/Layers/FullscreenLayerEditor.cs
index 1986c8492..ed516d04f 100644
--- a/Source/Assets/TouchScript/Editor/Layers/FullscreenLayerEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Layers/FullscreenLayerEditor.cs
@@ -2,6 +2,7 @@
* @author Valentin Simonov / http://va.lent.in/
*/
+using TouchScript.Editor.EditorUI;
using TouchScript.Layers;
using UnityEditor;
using UnityEngine;
@@ -11,6 +12,8 @@ namespace TouchScript.Editor.Layers
[CustomEditor(typeof(FullscreenLayer))]
internal sealed class FullscreenLayerEditor : UnityEditor.Editor
{
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component receives all pointers which were not caught by other layers. It sets poitners' Target property to itself, so all fullscreen gestures must be attached to the same GameObject as FullscreenGesture.");
+
private SerializedProperty type, camera;
private FullscreenLayer instance;
@@ -30,10 +33,10 @@ public override void OnInspectorGUI()
EditorGUILayout.PropertyField(type);
if (EditorGUI.EndChangeCheck())
{
- instance.Type = (FullscreenLayer.LayerType)type.enumValueIndex;
+ instance.Type = (FullscreenLayer.LayerType) type.enumValueIndex;
}
- if (type.enumValueIndex == (int)FullscreenLayer.LayerType.Camera)
+ if (type.enumValueIndex == (int) FullscreenLayer.LayerType.Camera)
{
EditorGUI.BeginChangeCheck();
EditorGUILayout.PropertyField(camera);
@@ -42,6 +45,8 @@ public override void OnInspectorGUI()
instance.Camera = camera.objectReferenceValue as Camera;
}
}
+
+ EditorGUILayout.LabelField(TEXT_HELP, GUIElements.HelpBox);
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Layers/StandardLayerEditor.cs b/Source/Assets/TouchScript/Editor/Layers/StandardLayerEditor.cs
index 4f4c6ddc9..37406e88e 100644
--- a/Source/Assets/TouchScript/Editor/Layers/StandardLayerEditor.cs
+++ b/Source/Assets/TouchScript/Editor/Layers/StandardLayerEditor.cs
@@ -2,7 +2,7 @@
* @author Valentin Simonov / http://va.lent.in/
*/
-using TouchScript.Editor.Utils;
+using TouchScript.Editor.EditorUI;
using TouchScript.Layers;
using UnityEditor;
using UnityEngine;
@@ -12,17 +12,20 @@ namespace TouchScript.Editor.Layers
[CustomEditor(typeof(StandardLayer), true)]
internal class StandardLayerEditor : UnityEditor.Editor
{
- public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced properties.");
- public static readonly GUIContent TEXT_HIT_HEADER = new GUIContent("Hit test options", "Options which control what types of objects this layer should search under pointers.");
+ public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced properties.");
+ public static readonly GUIContent TEXT_HIT_HEADER = new GUIContent("Hit test options", "Options which control what types of objects this layer should search under pointers.");
- public static readonly GUIContent TEXT_3D_OBJECTS = new GUIContent("Hit 3D Objects", "Layer should raycast 3D objects.");
- public static readonly GUIContent TEXT_2D_OBJECTS = new GUIContent("Hit 2D Objects", "Layer should raycast 2D objects.");
- public static readonly GUIContent TEXT_WORLD_UI = new GUIContent("Hit World UI", "Layer should raycast World Space UI.");
- public static readonly GUIContent TEXT_SS_UI = new GUIContent("Hit Screen Space UI", "Layer should raycast Screen Space UI.");
- public static readonly GUIContent TEXT_LAYER_MASK = new GUIContent("Layer Mask", "Layer mask.");
- public static readonly GUIContent TEXT_HIT_FILTERS = new GUIContent("Use Hit FIlters", "Layer should test for individual HitTest objects.");
+ public static readonly GUIContent TEXT_3D_OBJECTS = new GUIContent("Hit 3D Objects", "Layer should raycast 3D objects.");
+ public static readonly GUIContent TEXT_2D_OBJECTS = new GUIContent("Hit 2D Objects", "Layer should raycast 2D objects.");
+ public static readonly GUIContent TEXT_WORLD_UI = new GUIContent("Hit World UI", "Layer should raycast World Space UI.");
+ public static readonly GUIContent TEXT_SS_UI = new GUIContent("Hit Screen Space UI", "Layer should raycast Screen Space UI.");
+ public static readonly GUIContent TEXT_LAYER_MASK = new GUIContent("Layer Mask", "Layer mask.");
+ public static readonly GUIContent TEXT_HIT_FILTERS = new GUIContent("Use Hit FIlters", "Layer should test for individual HitTest objects.");
- private SerializedProperty advanced, hit;
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component assigns target GameObjects in the scene for pressed pointers.");
+
+ private SerializedProperty advancedProps, hitProps;
+ private SerializedProperty basicEditor;
private SerializedProperty hit3DObjects;
private SerializedProperty hit2DObjects;
private SerializedProperty hitWorldSpaceUI;
@@ -34,8 +37,9 @@ protected virtual void OnEnable()
{
hideFlags = HideFlags.HideAndDontSave;
- advanced = serializedObject.FindProperty("advancedProps");
- hit = serializedObject.FindProperty("hitProps");
+ advancedProps = serializedObject.FindProperty("advancedProps");
+ hitProps = serializedObject.FindProperty("hitProps");
+ basicEditor = serializedObject.FindProperty("basicEditor");
hit3DObjects = serializedObject.FindProperty("hit3DObjects");
hit2DObjects = serializedObject.FindProperty("hit2DObjects");
hitWorldSpaceUI = serializedObject.FindProperty("hitWorldSpaceUI");
@@ -46,41 +50,67 @@ protected virtual void OnEnable()
public override void OnInspectorGUI()
{
- serializedObject.UpdateIfDirtyOrScript();
-
- GUILayout.Space(5);
- var display = GUIElements.Header(TEXT_HIT_HEADER, hit);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawHit();
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_ADVANCED_HEADER, advanced);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawAdvanced();
- EditorGUI.indentLevel--;
- }
+#if UNITY_5_6_OR_NEWER
+ serializedObject.UpdateIfRequiredOrScript();
+#else
+ serializedObject.UpdateIfDirtyOrScript();
+#endif
+
+ GUILayout.Space(5);
+
+ if (basicEditor.boolValue)
+ {
+ drawHit();
+
+ if (GUIElements.BasicHelpBox(TEXT_HELP))
+ {
+ basicEditor.boolValue = false;
+ Repaint();
+ }
+ }
+ else
+ {
+ drawHit();
+ drawAdvanced();
+ }
serializedObject.ApplyModifiedProperties();
}
- protected virtual void drawHit()
- {
- EditorGUILayout.PropertyField(hitScreenSpaceUI, TEXT_SS_UI);
- EditorGUILayout.PropertyField(hit3DObjects, TEXT_3D_OBJECTS);
- EditorGUILayout.PropertyField(hit2DObjects, TEXT_2D_OBJECTS);
- EditorGUILayout.PropertyField(hitWorldSpaceUI, TEXT_WORLD_UI);
- EditorGUILayout.PropertyField(layerMask, TEXT_LAYER_MASK);
- }
+ private void drawHit()
+ {
+ var display = GUIElements.Header(TEXT_HIT_HEADER, hitProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ doDrawHit();
+ EditorGUI.indentLevel--;
+ }
+ }
- protected virtual void drawAdvanced()
+ protected virtual void doDrawHit()
{
- EditorGUILayout.PropertyField(useHitFilters, TEXT_HIT_FILTERS);
+ EditorGUILayout.PropertyField(hitScreenSpaceUI, TEXT_SS_UI);
+ EditorGUILayout.PropertyField(hit3DObjects, TEXT_3D_OBJECTS);
+ EditorGUILayout.PropertyField(hit2DObjects, TEXT_2D_OBJECTS);
+ EditorGUILayout.PropertyField(hitWorldSpaceUI, TEXT_WORLD_UI);
+ EditorGUILayout.PropertyField(layerMask, TEXT_LAYER_MASK);
}
+ private void drawAdvanced()
+ {
+ var display = GUIElements.Header(TEXT_ADVANCED_HEADER, advancedProps);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ doDrawAdvanced();
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ protected virtual void doDrawAdvanced()
+ {
+ EditorGUILayout.PropertyField(useHitFilters, TEXT_HIT_FILTERS);
+ }
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/TouchManagerEditor.cs b/Source/Assets/TouchScript/Editor/TouchManagerEditor.cs
index 4b72c1343..b5486f592 100644
--- a/Source/Assets/TouchScript/Editor/TouchManagerEditor.cs
+++ b/Source/Assets/TouchScript/Editor/TouchManagerEditor.cs
@@ -5,7 +5,7 @@
using System.Collections.Generic;
using System.Linq;
using TouchScript.Devices.Display;
-using TouchScript.Editor.Utils;
+using TouchScript.Editor.EditorUI;
using TouchScript.Layers;
using UnityEditor;
using UnityEditorInternal;
@@ -18,34 +18,39 @@ namespace TouchScript.Editor
[CustomEditor(typeof(TouchManager))]
internal sealed class TouchManagerEditor : UnityEditor.Editor
{
- public static readonly GUIContent TEXT_ADVANCED_HEADER = new GUIContent("Advanced", "Advanced properties.");
- public static readonly GUIContent TEXT_LAYERS_HEADER = new GUIContent("Pointer Layers", "Sorted array of Pointer Layers in the scene.");
- public static readonly GUIContent TEXT_USE_SEND_MESSAGE_HEADER = new GUIContent("Use SendMessage", "Enables sending events through SendMessage. Warnning: this method is slow!");
- public static readonly GUIContent TEXT_USE_UNITY_EVENTS_HEADER = new GUIContent("Use Unity Events", "Enables sending events through Unity Events.");
- public static readonly GUIContent TEXT_DEFAULTS_HEADER = new GUIContent("Defaults", "Default actions when some of TouchScript components are not present in the scene.");
-
- public static readonly GUIContent TEXT_DEBUG_MODE = new GUIContent("Debug", "Turns on debug mode.");
- public static readonly GUIContent TEXT_DISPLAY_DEVICE = new GUIContent("Display Device", "Display device properties where such parameters as target DPI are stored.");
- public static readonly GUIContent TEXT_CREATE_CAMERA_LAYER = new GUIContent("Create Camera Layer", "Indicates if TouchScript should create a CameraLayer for you if no layers present in a scene. This is usually a desired behavior but sometimes you would want to turn this off if you are using TouchScript only to get input from some device.");
- public static readonly GUIContent TEXT_CREATE_STANDARD_INPUT = new GUIContent("Create Standard Input", "");
- public static readonly GUIContent TEXT_SEND_MESSAGE_TARGET = new GUIContent("Target", "The GameObject target of Unity Messages. If null, host GameObject is used.");
- public static readonly GUIContent TEXT_SEND_MESSAGE_EVENTS = new GUIContent("Events", "Which events should be sent as Unity Messages.");
+ public static readonly GUIContent TEXT_LAYERS_HELP = new GUIContent("Layers at the top get to process pointer input first.");
+ public static readonly GUIContent TEXT_LAYERS_HEADER = new GUIContent("Pointer Layers", "Sorted array of Pointer Layers in the scene.");
+ public static readonly GUIContent TEXT_USE_SEND_MESSAGE_HEADER = new GUIContent("Use SendMessage", "Enables sending events through SendMessage. Warnning: this method is slow!");
+ public static readonly GUIContent TEXT_USE_UNITY_EVENTS_HEADER = new GUIContent("Use Unity Events", "Enables sending events through Unity Events.");
+ public static readonly GUIContent TEXT_DEFAULTS_HEADER = new GUIContent("Defaults", "Default actions when some of TouchScript components are not present in the scene.");
+
+ public static readonly GUIContent TEXT_DEBUG_MODE = new GUIContent("Debug", "Turns on debug mode.");
+ public static readonly GUIContent TEXT_DISPLAY_DEVICE = new GUIContent("Display Device", "Display device properties where such parameters as target DPI are stored.");
+ public static readonly GUIContent TEXT_CREATE_CAMERA_LAYER = new GUIContent("Create Camera Layer", "Indicates if TouchScript should create a CameraLayer for you if no layers present in a scene. This is usually a desired behavior but sometimes you would want to turn this off if you are using TouchScript only to get input from some device.");
+ public static readonly GUIContent TEXT_CREATE_STANDARD_INPUT = new GUIContent("Create Standard Input", "");
+ public static readonly GUIContent TEXT_SEND_MESSAGE_TARGET = new GUIContent("Target", "The GameObject target of Unity Messages. If null, host GameObject is used.");
+ public static readonly GUIContent TEXT_SEND_MESSAGE_EVENTS = new GUIContent("Events", "Which events should be sent as Unity Messages.");
+
+ public static readonly GUIContent TEXT_HELP = new GUIContent("This component holds TouchScript configuration options for a scene.");
private TouchManager instance;
private ReorderableList layersList;
- private SerializedProperty advancedProps;
+ private SerializedProperty basicEditor;
private SerializedProperty debugMode;
- private SerializedProperty layers, displayDevice, shouldCreateCameraLayer, shouldCreateStandardInput,
- useSendMessage, sendMessageTarget, sendMessageEvents;
- private SerializedProperty OnFrameStart, OnFrameFinish, OnPointersAdd, OnPointersUpdate, OnPointersPress,
- OnPointersRelease, OnPointersRemove, OnPointersCancel, useUnityEvents;
- private PropertyInfo useUnityEvents_prop, useSendMessage_prop;
+
+ private SerializedProperty layers, displayDevice, shouldCreateCameraLayer, shouldCreateStandardInput,
+ useSendMessage, sendMessageTarget, sendMessageEvents;
+
+ private SerializedProperty OnFrameStart, OnFrameFinish, OnPointersAdd, OnPointersUpdate, OnPointersPress,
+ OnPointersRelease, OnPointersRemove, OnPointersCancel, useUnityEvents;
+
+ private PropertyInfo useUnityEvents_prop, useSendMessage_prop;
private void OnEnable()
{
instance = target as TouchManager;
- advancedProps = serializedObject.FindProperty("advancedProps");
+ basicEditor = serializedObject.FindProperty("basicEditor");
debugMode = serializedObject.FindProperty("debugMode");
layers = serializedObject.FindProperty("layers");
displayDevice = serializedObject.FindProperty("displayDevice");
@@ -57,24 +62,24 @@ private void OnEnable()
sendMessageEvents = serializedObject.FindProperty("sendMessageEvents");
useUnityEvents = serializedObject.FindProperty("useUnityEvents");
- OnFrameStart = serializedObject.FindProperty("OnFrameStart");
- OnFrameFinish = serializedObject.FindProperty("OnFrameFinish");
- OnPointersAdd = serializedObject.FindProperty("OnPointersAdd");
- OnPointersUpdate = serializedObject.FindProperty("OnPointersUpdate");
- OnPointersPress = serializedObject.FindProperty("OnPointersPress");
- OnPointersRelease = serializedObject.FindProperty("OnPointersRelease");
- OnPointersRemove = serializedObject.FindProperty("OnPointersRemove");
- OnPointersCancel = serializedObject.FindProperty("OnPointersCancel");
-
- var type = instance.GetType();
- useUnityEvents_prop = type.GetProperty("UseUnityEvents", BindingFlags.Instance | BindingFlags.Public);
- useSendMessage_prop = type.GetProperty("UseSendMessage", BindingFlags.Instance | BindingFlags.Public);
+ OnFrameStart = serializedObject.FindProperty("OnFrameStart");
+ OnFrameFinish = serializedObject.FindProperty("OnFrameFinish");
+ OnPointersAdd = serializedObject.FindProperty("OnPointersAdd");
+ OnPointersUpdate = serializedObject.FindProperty("OnPointersUpdate");
+ OnPointersPress = serializedObject.FindProperty("OnPointersPress");
+ OnPointersRelease = serializedObject.FindProperty("OnPointersRelease");
+ OnPointersRemove = serializedObject.FindProperty("OnPointersRemove");
+ OnPointersCancel = serializedObject.FindProperty("OnPointersCancel");
+
+ var type = instance.GetType();
+ useUnityEvents_prop = type.GetProperty("UseUnityEvents", BindingFlags.Instance | BindingFlags.Public);
+ useSendMessage_prop = type.GetProperty("UseSendMessage", BindingFlags.Instance | BindingFlags.Public);
refresh();
layersList = new ReorderableList(serializedObject, layers, true, false, false, false);
- layersList.headerHeight = 0;
- layersList.footerHeight = 0;
+ layersList.headerHeight = 0;
+ layersList.footerHeight = 0;
layersList.drawElementCallback += (rect, index, active, focused) =>
{
rect.height = 16;
@@ -92,103 +97,126 @@ private void OnEnable()
public override void OnInspectorGUI()
{
- serializedObject.Update();
-
- GUILayout.Space(5);
-
- var display = GUIElements.Header(TEXT_DEFAULTS_HEADER, shouldCreateCameraLayer);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(Application.isPlaying))
- {
- EditorGUILayout.PropertyField(shouldCreateCameraLayer, TEXT_CREATE_CAMERA_LAYER);
- EditorGUILayout.PropertyField(shouldCreateStandardInput, TEXT_CREATE_STANDARD_INPUT);
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_USE_UNITY_EVENTS_HEADER, useUnityEvents, useUnityEvents, useUnityEvents_prop);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!useUnityEvents.boolValue))
- {
- EditorGUILayout.PropertyField(OnFrameStart);
- EditorGUILayout.PropertyField(OnFrameFinish);
- EditorGUILayout.PropertyField(OnPointersAdd);
- EditorGUILayout.PropertyField(OnPointersUpdate);
- EditorGUILayout.PropertyField(OnPointersPress);
- EditorGUILayout.PropertyField(OnPointersRelease);
- EditorGUILayout.PropertyField(OnPointersRemove);
- EditorGUILayout.PropertyField(OnPointersCancel);
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_USE_SEND_MESSAGE_HEADER, useSendMessage, useSendMessage, useSendMessage_prop);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(!useSendMessage.boolValue))
- {
- EditorGUILayout.PropertyField(sendMessageTarget, TEXT_SEND_MESSAGE_TARGET);
-
- var r = EditorGUILayout.GetControlRect(true, 16f, EditorStyles.layerMaskField);
- var label = EditorGUI.BeginProperty(r, TEXT_SEND_MESSAGE_EVENTS, sendMessageEvents);
- EditorGUI.BeginChangeCheck();
- r = EditorGUI.PrefixLabel(r, label);
- var sMask = (TouchManager.MessageType)EditorGUI.EnumMaskField(r, instance.SendMessageEvents);
- if (EditorGUI.EndChangeCheck())
- {
- instance.SendMessageEvents = sMask;
- EditorUtility.SetDirty(instance);
- }
- EditorGUI.EndProperty();
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_LAYERS_HEADER, layers);
- if (display)
- {
- EditorGUI.indentLevel++;
- using (new EditorGUI.DisabledGroupScope(Application.isPlaying))
- {
- layersList.DoLayoutList();
- }
- EditorGUI.indentLevel--;
- }
-
- display = GUIElements.Header(TEXT_ADVANCED_HEADER, advancedProps);
- if (display)
- {
- EditorGUI.indentLevel++;
- drawAdvanced();
- EditorGUI.indentLevel--;
- }
+#if UNITY_5_6_OR_NEWER
+ serializedObject.UpdateIfRequiredOrScript();
+#else
+ serializedObject.UpdateIfDirtyOrScript();
+#endif
+
+ GUILayout.Space(5);
+
+ if (basicEditor.boolValue)
+ {
+ drawLayers();
+
+ if (GUIElements.BasicHelpBox(TEXT_HELP))
+ {
+ basicEditor.boolValue = false;
+ Repaint();
+ }
+ }
+ else
+ {
+ drawDefaults();
+ drawLayers();
+ drawUnityEvents();
+ drawSendMessage();
+ drawDebug();
+ }
+
+ GUILayout.Label("v. " + TouchManager.VERSION + (string.IsNullOrEmpty(TouchManager.VERSION_SUFFIX) ? "" : " " + TouchManager.VERSION_SUFFIX), GUIElements.SmallTextRight);
serializedObject.ApplyModifiedProperties();
}
- private void drawAdvanced()
+ private void drawDefaults()
+ {
+ var display = GUIElements.Header(TEXT_DEFAULTS_HEADER, shouldCreateCameraLayer);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(Application.isPlaying))
+ {
+ EditorGUILayout.PropertyField(shouldCreateCameraLayer, TEXT_CREATE_CAMERA_LAYER);
+ EditorGUILayout.PropertyField(shouldCreateStandardInput, TEXT_CREATE_STANDARD_INPUT);
+ }
+
+ var r = EditorGUILayout.GetControlRect(true, 16f, EditorStyles.objectField);
+ var label = EditorGUI.BeginProperty(r, TEXT_DISPLAY_DEVICE, displayDevice);
+ EditorGUI.BeginChangeCheck();
+ r = EditorGUI.PrefixLabel(r, label);
+ var newDevice = EditorGUI.ObjectField(r, instance.DisplayDevice as Object, typeof(IDisplayDevice), true) as IDisplayDevice;
+ if (EditorGUI.EndChangeCheck())
+ {
+ instance.DisplayDevice = newDevice;
+ EditorUtility.SetDirty(instance);
+ }
+ EditorGUI.EndProperty();
+
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ private void drawLayers()
{
- if (debugMode != null)
- {
- var r = EditorGUILayout.GetControlRect(true, 16f, EditorStyles.objectField);
- var label = EditorGUI.BeginProperty(r, TEXT_DISPLAY_DEVICE, displayDevice);
- EditorGUI.BeginChangeCheck();
- r = EditorGUI.PrefixLabel(r, label);
- var newDevice = EditorGUI.ObjectField(r, instance.DisplayDevice as Object, typeof(IDisplayDevice), true) as IDisplayDevice;
- if (EditorGUI.EndChangeCheck())
- {
- instance.DisplayDevice = newDevice;
- EditorUtility.SetDirty(instance);
- }
- EditorGUI.EndProperty();
-
- drawDebug();
- }
+ var display = GUIElements.Header(TEXT_LAYERS_HEADER, layers);
+ if (display)
+ {
+ EditorGUILayout.LabelField(TEXT_LAYERS_HELP, GUIElements.HelpBox);
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(Application.isPlaying))
+ {
+ layersList.DoLayoutList();
+ }
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ private void drawUnityEvents()
+ {
+ var display = GUIElements.Header(TEXT_USE_UNITY_EVENTS_HEADER, useUnityEvents, useUnityEvents, useUnityEvents_prop);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(!useUnityEvents.boolValue))
+ {
+ EditorGUILayout.PropertyField(OnFrameStart);
+ EditorGUILayout.PropertyField(OnFrameFinish);
+ EditorGUILayout.PropertyField(OnPointersAdd);
+ EditorGUILayout.PropertyField(OnPointersUpdate);
+ EditorGUILayout.PropertyField(OnPointersPress);
+ EditorGUILayout.PropertyField(OnPointersRelease);
+ EditorGUILayout.PropertyField(OnPointersRemove);
+ EditorGUILayout.PropertyField(OnPointersCancel);
+ }
+ EditorGUI.indentLevel--;
+ }
+ }
+
+ private void drawSendMessage()
+ {
+ var display = GUIElements.Header(TEXT_USE_SEND_MESSAGE_HEADER, useSendMessage, useSendMessage, useSendMessage_prop);
+ if (display)
+ {
+ EditorGUI.indentLevel++;
+ using (new EditorGUI.DisabledGroupScope(!useSendMessage.boolValue))
+ {
+ EditorGUILayout.PropertyField(sendMessageTarget, TEXT_SEND_MESSAGE_TARGET);
+
+ var r = EditorGUILayout.GetControlRect(true, 16f, EditorStyles.layerMaskField);
+ var label = EditorGUI.BeginProperty(r, TEXT_SEND_MESSAGE_EVENTS, sendMessageEvents);
+ EditorGUI.BeginChangeCheck();
+ r = EditorGUI.PrefixLabel(r, label);
+ var sMask = (TouchManager.MessageType) EditorGUI.EnumMaskField(r, instance.SendMessageEvents);
+ if (EditorGUI.EndChangeCheck())
+ {
+ instance.SendMessageEvents = sMask;
+ EditorUtility.SetDirty(instance);
+ }
+ EditorGUI.EndProperty();
+ }
+ EditorGUI.indentLevel--;
+ }
}
private void drawDebug()
@@ -203,17 +231,17 @@ private void refresh()
{
if (Application.isPlaying)
{
- var l = TouchManager.Instance.Layers;
layers.arraySize = 0;
- for (var i = 0; i < l.Count; i++)
- {
- layers.arraySize++;
- layers.GetArrayElementAtIndex(layers.arraySize - 1).objectReferenceValue = l[i];
- }
+ LayerManager.Instance.ForEach((l) =>
+ {
+ layers.arraySize++;
+ layers.GetArrayElementAtIndex(layers.arraySize - 1).objectReferenceValue = l;
+ return true;
+ });
}
else
{
- var allLayers = FindObjectsOfType(typeof (TouchLayer)).Cast().ToList();
+ var allLayers = FindObjectsOfType(typeof(TouchLayer)).Cast().ToList();
var toRemove = new List();
for (var i = 0; i < layers.arraySize; i++)
{
diff --git a/Source/Assets/TouchScript/Editor/TouchScriptSettingsWindow.cs b/Source/Assets/TouchScript/Editor/TouchScriptSettingsWindow.cs
index e61eae7ec..8645a087b 100644
--- a/Source/Assets/TouchScript/Editor/TouchScriptSettingsWindow.cs
+++ b/Source/Assets/TouchScript/Editor/TouchScriptSettingsWindow.cs
@@ -8,30 +8,28 @@
namespace TouchScript.Editor
{
-
- [InitializeOnLoad]
+ [InitializeOnLoad]
class TouchScriptSettingsWindow : EditorWindow
{
-
private const string SHOW_AT_STARTUP = "TouchScript.ShowSettingsOnStartup";
- private const string DEFINE_DEBUG = "TOUCHSCRIPT_DEBUG";
- private const string DEFINE_TUIO = "TOUCHSCRIPT_TUIO";
+ private const string DEFINE_DEBUG = "TOUCHSCRIPT_DEBUG";
+ private const string DEFINE_TUIO = "TOUCHSCRIPT_TUIO";
private static bool showAtStartup = true;
- private static TouchScriptSettingsWindowSO so;
+ private static TouchScriptSettingsWindowSO so;
- private static bool initialized;
- private static int width = 500;
- private static int height = 500;
- private static GUIStyle header;
- private static GUIStyle bold;
+ private static bool initialized;
+ private static int width = 500;
+ private static int height = 500;
+ private static GUIStyle header;
+ private static GUIStyle bold;
- private static Dictionary enabledDefines = new Dictionary()
- {
- { DEFINE_DEBUG, false },
- { DEFINE_TUIO, false },
- };
+ private static Dictionary enabledDefines = new Dictionary()
+ {
+ {DEFINE_DEBUG, false},
+ {DEFINE_TUIO, false},
+ };
[MenuItem("Window/TouchScript/Settings", false, 0)]
static void createWindow()
@@ -45,149 +43,146 @@ static void createWindow()
static TouchScriptSettingsWindow()
{
- EditorApplication.update += doShow;
+ EditorApplication.update += doShow;
}
- private static void doShow()
- {
- EditorApplication.update -= doShow;
- showAtStartup = EditorPrefs.GetBool(SHOW_AT_STARTUP, true);
-
- if (so == null)
- {
- var sos = Resources.FindObjectsOfTypeAll();
- if (sos.Length > 0) so = sos[0];
- }
- if (so == null)
- {
- so = ScriptableObject.CreateInstance();
- if (showAtStartup) createWindow();
- }
- }
+ private static void doShow()
+ {
+ EditorApplication.update -= doShow;
+ showAtStartup = EditorPrefs.GetBool(SHOW_AT_STARTUP, true);
+
+ if (so == null)
+ {
+ var sos = Resources.FindObjectsOfTypeAll();
+ if (sos.Length > 0) so = sos[0];
+ }
+ if (so == null)
+ {
+ so = ScriptableObject.CreateInstance();
+ if (showAtStartup) createWindow();
+ }
+ }
private void OnEnable()
{
- updateEnabledDefines();
+ updateEnabledDefines();
}
- private void OnDisable()
- {
- }
+ private void OnDisable() {}
private void OnGUI()
{
- init();
-
- var headerRect = GUILayoutUtility.GetRect(width, 165);
- GUI.Box(headerRect, "v. " + TouchManager.VERSION
- + (string.IsNullOrEmpty(TouchManager.VERSION_SUFFIX) ? "" : " " + TouchManager.VERSION_SUFFIX), header);
-
- EditorGUILayout.BeginHorizontal();
- GUILayout.Space(10);
- EditorGUILayout.BeginVertical();
- GUILayout.Space(10);
-
- EditorGUILayout.LabelField("Thank you for choosing TouchScript!", bold);
-
- EditorGUI.indentLevel++;
- drawListElement("FAQ", "Some of the questions have been already asked multiple times. \nCheck if yours is in the list.",
- "https://github.com/TouchScript/TouchScript/wiki/FAQ");
- drawListElement("Documentation", "Complete up-to-date generated docs with all public API annotated.",
- "http://touchscript.github.io/docs/");
- drawListElement("Official Forum", "Want to ask a question about TouchScript? Use the official Forum.",
- "http://touchprefab.com/index.php");
- drawListElement("Issues", "Found a bug? Feel free to post it in Github Issues.",
- "https://github.com/TouchScript/TouchScript/issues");
- EditorGUI.indentLevel--;
-
- EditorGUILayout.LabelField("Options", bold);
-
- EditorGUI.indentLevel++;
- setDefine(DEFINE_DEBUG, EditorGUILayout.ToggleLeft("Enable Debug Mode", enabledDefines[DEFINE_DEBUG]));
- EditorGUILayout.LabelField("Enables " + DEFINE_DEBUG + " define to turn on some TouchScript debug features.", EditorStyles.miniLabel);
- setDefine(DEFINE_TUIO, EditorGUILayout.ToggleLeft("Enable TUIO", enabledDefines[DEFINE_TUIO]));
- EditorGUILayout.LabelField("Enables " + DEFINE_TUIO + " define, this adds TUIO protocol support.", EditorStyles.miniLabel);
-
- EditorGUILayout.EndVertical();
- GUILayout.Space(10);
- EditorGUILayout.EndHorizontal();
-
- drawShowAtStartup();
+ init();
+
+ var headerRect = GUILayoutUtility.GetRect(width, 165);
+ GUI.Box(headerRect, "v. " + TouchManager.VERSION
+ + (string.IsNullOrEmpty(TouchManager.VERSION_SUFFIX) ? "" : " " + TouchManager.VERSION_SUFFIX), header);
+
+ EditorGUILayout.BeginHorizontal();
+ GUILayout.Space(10);
+ EditorGUILayout.BeginVertical();
+ GUILayout.Space(10);
+
+ EditorGUILayout.LabelField("Thank you for choosing TouchScript!", bold);
+
+ EditorGUI.indentLevel++;
+ drawListElement("FAQ", "Some of the questions have been already asked multiple times. \nCheck if yours is in the list.",
+ "https://github.com/TouchScript/TouchScript/wiki/FAQ");
+ drawListElement("Documentation", "Complete up-to-date generated docs with all public API annotated.",
+ "http://touchscript.github.io/docs/");
+ drawListElement("Official Forum", "Want to ask a question about TouchScript? Use the official Forum.",
+ "http://touchprefab.com/index.php");
+ drawListElement("Issues", "Found a bug? Feel free to post it in Github Issues.",
+ "https://github.com/TouchScript/TouchScript/issues");
+ EditorGUI.indentLevel--;
+
+ EditorGUILayout.LabelField("Options", bold);
+
+ EditorGUI.indentLevel++;
+ setDefine(DEFINE_DEBUG, EditorGUILayout.ToggleLeft("Enable Debug Mode", enabledDefines[DEFINE_DEBUG]));
+ EditorGUILayout.LabelField("Enables " + DEFINE_DEBUG + " define to turn on some TouchScript debug features.", EditorStyles.miniLabel);
+ setDefine(DEFINE_TUIO, EditorGUILayout.ToggleLeft("Enable TUIO", enabledDefines[DEFINE_TUIO]));
+ EditorGUILayout.LabelField("Enables " + DEFINE_TUIO + " define, this adds TUIO protocol support.", EditorStyles.miniLabel);
+
+ EditorGUILayout.EndVertical();
+ GUILayout.Space(10);
+ EditorGUILayout.EndHorizontal();
+
+ drawShowAtStartup();
}
- private void init()
- {
- if (initialized) return;
- initialized = true;
+ private void init()
+ {
+ if (initialized) return;
+ initialized = true;
- header = new GUIStyle();
+ header = new GUIStyle();
header.normal.background = EditorResources.Load("SettingsWindow/Header.png");
header.normal.textColor = Color.white;
- header.padding = new RectOffset(0, 70, 102, 0);
- header.alignment = TextAnchor.UpperRight;
-
- bold = new GUIStyle(EditorStyles.largeLabel);
- bold.fontStyle = FontStyle.Bold;
- bold.fontSize = 18;
- bold.wordWrap = true;
- }
-
- private void drawListElement(string header, string content, string url)
- {
- GUILayout.BeginVertical();
- EditorGUILayout.LabelField("> " + header, EditorStyles.boldLabel);
- EditorGUILayout.LabelField(content, EditorStyles.wordWrappedLabel);
- GUILayout.EndVertical();
-
- if (!string.IsNullOrEmpty(url))
- {
- var rect = GUILayoutUtility.GetLastRect();
- EditorGUIUtility.AddCursorRect(rect, MouseCursor.Link);
- if (Event.current.type == EventType.mouseDown && rect.Contains(Event.current.mousePosition))
- Application.OpenURL(url);
- }
- }
-
- private void drawShowAtStartup()
- {
- bool show = GUI.Toggle(new Rect(10, height - 24, 120, 30), showAtStartup, "Show at startup");
- if (show != showAtStartup)
- {
- showAtStartup = show;
- EditorPrefs.SetBool(SHOW_AT_STARTUP, showAtStartup);
- }
- }
-
- private void updateEnabledDefines()
- {
- var defines = new List(PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup).Split(';'));
- var keys = new List(enabledDefines.Keys);
- foreach (var define in keys)
- {
- if (defines.Contains(define)) enabledDefines[define] = true;
- else enabledDefines[define] = false;
- }
- }
-
- private void setDefine(string name, bool value)
- {
- if (!enabledDefines.ContainsKey(name)) return;
- if (enabledDefines[name] == value) return;
-
- enabledDefines[name] = value;
- var defines = new List(PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup).Split(';'));
- if (value) defines.Add(name);
- else defines.Remove(name);
- PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, string.Join(";", defines.ToArray()));
- }
-
- }
-
- public class TouchScriptSettingsWindowSO : ScriptableObject
- {
- private void Awake()
- {
- hideFlags = HideFlags.HideAndDontSave;
- }
- }
-}
+ header.padding = new RectOffset(0, 70, 102, 0);
+ header.alignment = TextAnchor.UpperRight;
+
+ bold = new GUIStyle(EditorStyles.largeLabel);
+ bold.fontStyle = FontStyle.Bold;
+ bold.fontSize = 18;
+ bold.wordWrap = true;
+ }
+
+ private void drawListElement(string header, string content, string url)
+ {
+ GUILayout.BeginVertical();
+ EditorGUILayout.LabelField("> " + header, EditorStyles.boldLabel);
+ EditorGUILayout.LabelField(content, EditorStyles.wordWrappedLabel);
+ GUILayout.EndVertical();
+
+ if (!string.IsNullOrEmpty(url))
+ {
+ var rect = GUILayoutUtility.GetLastRect();
+ EditorGUIUtility.AddCursorRect(rect, MouseCursor.Link);
+ if (Event.current.type == EventType.mouseDown && rect.Contains(Event.current.mousePosition))
+ Application.OpenURL(url);
+ }
+ }
+
+ private void drawShowAtStartup()
+ {
+ bool show = GUI.Toggle(new Rect(10, height - 24, 120, 30), showAtStartup, "Show at startup");
+ if (show != showAtStartup)
+ {
+ showAtStartup = show;
+ EditorPrefs.SetBool(SHOW_AT_STARTUP, showAtStartup);
+ }
+ }
+
+ private void updateEnabledDefines()
+ {
+ var defines = new List(PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup).Split(';'));
+ var keys = new List(enabledDefines.Keys);
+ foreach (var define in keys)
+ {
+ if (defines.Contains(define)) enabledDefines[define] = true;
+ else enabledDefines[define] = false;
+ }
+ }
+
+ private void setDefine(string name, bool value)
+ {
+ if (!enabledDefines.ContainsKey(name)) return;
+ if (enabledDefines[name] == value) return;
+
+ enabledDefines[name] = value;
+ var defines = new List(PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup).Split(';'));
+ if (value) defines.Add(name);
+ else defines.Remove(name);
+ PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, string.Join(";", defines.ToArray()));
+ }
+ }
+
+ public class TouchScriptSettingsWindowSO : ScriptableObject
+ {
+ private void Awake()
+ {
+ hideFlags = HideFlags.HideAndDontSave;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Utils/GUIElements.cs b/Source/Assets/TouchScript/Editor/Utils/GUIElements.cs
deleted file mode 100644
index 26550800a..000000000
--- a/Source/Assets/TouchScript/Editor/Utils/GUIElements.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * @author Valentin Simonov / http://va.lent.in/
- */
-
-using UnityEngine;
-using UnityEditor;
-using System.Reflection;
-
-namespace TouchScript.Editor.Utils
-{
- internal static class GUIElements
- {
- public static GUIStyle BoxStyle;
- public static GUIStyle BoxLabelStyle;
-
- public static GUIStyle HelpBox;
- public static GUIStyle HeaderStyle;
- public static GUIStyle HeaderCheckbox;
- public static GUIStyle HeaderFoldout;
-
- public static Texture2D PaneOptionsIcon;
-
- static GUIElements()
- {
- BoxStyle = new GUIStyle(GUI.skin.box)
- {
- margin = new RectOffset(0, 0, 1, 0),
- padding = new RectOffset(0, 0, 0, 0),
- contentOffset = new Vector2(0, 0),
- alignment = TextAnchor.MiddleCenter,
- };
- BoxStyle.normal.textColor = GUI.skin.label.normal.textColor;
-
- BoxLabelStyle = new GUIStyle(GUI.skin.label)
- {
- fontSize = 9,
- padding = new RectOffset(0, 0, 5, 0),
- };
-
- HelpBox = new GUIStyle("HelpBox")
- {
- wordWrap = true,
- };
-
- HeaderStyle = new GUIStyle("ShurikenModuleTitle")
- {
- font = (new GUIStyle("Label")).font,
- border = new RectOffset(15, 7, 4, 4),
- fixedHeight = 22,
- contentOffset = new Vector2(20f, -2f),
- };
-
- HeaderCheckbox = new GUIStyle("ShurikenCheckMark");
- HeaderFoldout = new GUIStyle("Foldout");
-
- if (EditorGUIUtility.isProSkin)
- PaneOptionsIcon = (Texture2D)EditorGUIUtility.LoadRequired("Builtin Skins/DarkSkin/Images/pane options.png");
- else
- PaneOptionsIcon = (Texture2D)EditorGUIUtility.LoadRequired("Builtin Skins/LightSkin/Images/pane options.png");
- }
-
- public static bool Header(GUIContent title, SerializedProperty expanded, SerializedProperty enabled = null, PropertyInfo enabledProp = null)
- {
- var rect = GUILayoutUtility.GetRect(16f, 22f, HeaderStyle);
- GUI.Box(rect, title, HeaderStyle);
-
- var display = expanded == null || expanded.isExpanded;
-
- var foldoutRect = new Rect(rect.x + 4f, rect.y + 3f, 13f, 13f);
- var e = Event.current;
-
- if (e.type == EventType.Repaint)
- {
- if (enabled == null) HeaderFoldout.Draw(foldoutRect, false, false, display, false);
- else HeaderCheckbox.Draw(foldoutRect, false, false, enabled.boolValue, false);
- }
-
- if (e.type == EventType.MouseDown)
- {
- if (enabled != null)
- {
- const float kOffset = 2f;
- foldoutRect.x -= kOffset;
- foldoutRect.y -= kOffset;
- foldoutRect.width += kOffset * 2f;
- foldoutRect.height += kOffset * 2f;
-
- if (foldoutRect.Contains(e.mousePosition))
- {
- enabled.boolValue = !enabled.boolValue;
- if (enabledProp != null) enabledProp.SetValue(enabled.serializedObject.targetObject, enabled.boolValue, null);
- e.Use();
- return display;
- }
- }
- if (rect.Contains(e.mousePosition))
- {
- display = !display;
- expanded.isExpanded = !expanded.isExpanded;
- e.Use();
- }
- }
-
- return display;
- }
- }
-}
diff --git a/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/NullToggleDrawer.cs b/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/NullToggleDrawer.cs
index a4ea70aab..3920f081c 100644
--- a/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/NullToggleDrawer.cs
+++ b/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/NullToggleDrawer.cs
@@ -32,13 +32,13 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
switch (property.propertyType)
{
case SerializedPropertyType.ObjectReference:
- property.objectReferenceValue = (Object)getNullValue(property);
+ property.objectReferenceValue = (Object) getNullValue(property);
break;
case SerializedPropertyType.Integer:
- property.intValue = (int)getNullValue(property);
+ property.intValue = (int) getNullValue(property);
break;
case SerializedPropertyType.Float:
- property.floatValue = (float)getNullValue(property);
+ property.floatValue = (float) getNullValue(property);
break;
}
}
@@ -46,7 +46,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
{
EditorGUI.BeginChangeCheck();
EditorGUI.LabelField(new Rect(position.x + 14, position.y + 18, 50, 16), new GUIContent("Value", label.tooltip));
- position = new Rect(position.x + 54, position.y + 18, Mathf.Min(position.width - 54, 100), 16);
+ position = new Rect(position.x + 54, position.y + 18, Mathf.Min(position.width - 54, 100), 16);
switch (property.propertyType)
{
case SerializedPropertyType.ObjectReference:
@@ -139,7 +139,7 @@ private void Begin(Rect position, SerializedProperty property, GUIContent label)
label = EditorGUI.BeginProperty(position, label, property);
label.text = " " + label.text;
position.height = 16;
- EditorGUIUtility.labelWidth = 180;
+ EditorGUIUtility.labelWidth = 180;
expanded = EditorGUI.ToggleLeft(position, label, expanded == true);
}
@@ -161,9 +161,9 @@ private bool isNull(SerializedProperty property)
case SerializedPropertyType.ObjectReference:
return ReferenceEquals(property.objectReferenceValue, getNullValue(property));
case SerializedPropertyType.Integer:
- return property.intValue == (int)getNullValue(property);
+ return property.intValue == (int) getNullValue(property);
case SerializedPropertyType.Float:
- return property.floatValue == (float)getNullValue(property);
+ return property.floatValue == (float) getNullValue(property);
}
return false;
}
@@ -183,4 +183,4 @@ private object getNullValue(SerializedProperty property)
return null;
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/ToggleLeftDrawer.cs b/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/ToggleLeftDrawer.cs
index 2a6e5ae51..c0c456bc4 100644
--- a/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/ToggleLeftDrawer.cs
+++ b/Source/Assets/TouchScript/Editor/Utils/PropertyDrawers/ToggleLeftDrawer.cs
@@ -24,4 +24,4 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
EditorGUI.EndProperty();
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Camera/Camera.unity b/Source/Assets/TouchScript/Examples/Camera/Camera.unity
index aa5a1ebbd..6ced9e1d4 100644
--- a/Source/Assets/TouchScript/Examples/Camera/Camera.unity
+++ b/Source/Assets/TouchScript/Examples/Camera/Camera.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,50 +54,72 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &62216951
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -113,10 +136,10 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -11.64}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1462230477}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!81 &62216954
AudioListener:
m_ObjectHideFlags: 0
@@ -168,6 +191,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -177,10 +202,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 139543608}
- - 114: {fileID: 139543609}
+ - component: {fileID: 139543608}
+ - component: {fileID: 139543609}
m_Layer: 5
m_Name: Rotate
m_TagString: Untagged
@@ -197,12 +222,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 746517019}
- {fileID: 567050690}
m_Father: {fileID: 250857271}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -231,11 +256,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 242343086}
- - 222: {fileID: 242343088}
- - 114: {fileID: 242343087}
+ - component: {fileID: 242343086}
+ - component: {fileID: 242343088}
+ - component: {fileID: 242343087}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -252,10 +277,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -299,10 +324,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -330,6 +355,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -339,7 +366,6 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1679844150}
- {fileID: 624081475}
@@ -347,6 +373,7 @@ RectTransform:
- {fileID: 139543608}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -357,12 +384,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 567050690}
- - 222: {fileID: 567050692}
- - 114: {fileID: 567050691}
- - 114: {fileID: 567050693}
+ - component: {fileID: 567050690}
+ - component: {fileID: 567050692}
+ - component: {fileID: 567050691}
+ - component: {fileID: 567050693}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -379,10 +406,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 139543608}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -486,20 +513,12 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: m_RootOrder
- value: 1
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 930800605}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
- - target: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_IsActive
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
@@ -508,10 +527,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 624081475}
- - 114: {fileID: 624081476}
+ - component: {fileID: 624081475}
+ - component: {fileID: 624081476}
m_Layer: 5
m_Name: Drag
m_TagString: Untagged
@@ -528,12 +547,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1541924794}
- {fileID: 1713463340}
m_Father: {fileID: 250857271}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -562,11 +581,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -583,12 +602,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1981142013}
- {fileID: 1552723601}
m_Father: {fileID: 0}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -622,7 +641,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 740851131}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -631,6 +650,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -639,11 +659,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 746517019}
- - 222: {fileID: 746517021}
- - 114: {fileID: 746517020}
+ - component: {fileID: 746517019}
+ - component: {fileID: 746517021}
+ - component: {fileID: 746517020}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -660,10 +680,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 139543608}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -707,14 +727,14 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
- - 54: {fileID: 930800603}
- - 114: {fileID: 930800604}
- - 114: {fileID: 930800602}
- - 114: {fileID: 930800606}
- - 114: {fileID: 930800605}
+ - component: {fileID: 930800601}
+ - component: {fileID: 930800603}
+ - component: {fileID: 930800604}
+ - component: {fileID: 930800602}
+ - component: {fileID: 930800606}
+ - component: {fileID: 930800605}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -731,13 +751,13 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2135305920}
- {fileID: 1462230477}
- {fileID: 2072767614}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &930800602
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -749,17 +769,40 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 74ae431eff8434b0897d3f7f1cff4311, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 1
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 0
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 1
maxPointers: 1
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 1
screenTransformThreshold: 0.05
minScreenPointsDistance: 0.5
@@ -819,17 +862,40 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 74ae431eff8434b0897d3f7f1cff4311, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 1
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 0
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 2
maxPointers: 10
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.2
minScreenPointsDistance: 0.5
@@ -838,11 +904,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -859,10 +925,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -906,12 +972,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1399100004}
- - 222: {fileID: 1399100006}
- - 114: {fileID: 1399100005}
- - 114: {fileID: 1399100007}
+ - component: {fileID: 1399100004}
+ - component: {fileID: 1399100006}
+ - component: {fileID: 1399100005}
+ - component: {fileID: 1399100007}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -928,10 +994,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -995,12 +1061,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1017,10 +1083,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1086,9 +1152,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1462230477}
+ - component: {fileID: 1462230477}
m_Layer: 0
m_Name: Pivot
m_TagString: Untagged
@@ -1105,21 +1171,21 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 62216952}
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1541924793
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1541924794}
- - 222: {fileID: 1541924796}
- - 114: {fileID: 1541924795}
+ - component: {fileID: 1541924794}
+ - component: {fileID: 1541924796}
+ - component: {fileID: 1541924795}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1136,10 +1202,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 624081475}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1183,12 +1249,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1205,10 +1271,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 156, y: 78}
@@ -1279,10 +1345,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Drag
m_TagString: Untagged
@@ -1299,12 +1365,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1333,12 +1399,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1713463340}
- - 222: {fileID: 1713463343}
- - 114: {fileID: 1713463342}
- - 114: {fileID: 1713463341}
+ - component: {fileID: 1713463340}
+ - component: {fileID: 1713463343}
+ - component: {fileID: 1713463342}
+ - component: {fileID: 1713463341}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1355,10 +1421,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 624081475}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1422,10 +1488,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -1456,10 +1522,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1867657389
Prefab:
m_ObjectHideFlags: 0
@@ -1499,6 +1565,10 @@ Prefab:
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
m_IsPrefabParent: 0
@@ -1507,10 +1577,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1962593004}
- - 114: {fileID: 1962593005}
+ - component: {fileID: 1962593004}
+ - component: {fileID: 1962593005}
m_Layer: 5
m_Name: Zoom
m_TagString: Untagged
@@ -1527,12 +1597,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 242343086}
- {fileID: 1399100004}
m_Father: {fileID: 250857271}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1561,9 +1631,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -1580,11 +1650,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -1595,12 +1665,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2072767614}
- - 33: {fileID: 2072767613}
- - 135: {fileID: 2072767612}
- - 23: {fileID: 2072767611}
+ - component: {fileID: 2072767614}
+ - component: {fileID: 2072767613}
+ - component: {fileID: 2072767612}
+ - component: {fileID: 2072767611}
m_Layer: 0
m_Name: Earth
m_TagString: Untagged
@@ -1617,22 +1687,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 2100000, guid: 6e379d1ec9f5fd949891068175de34fe, type: 2}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!135 &2072767612
SphereCollider:
@@ -1662,19 +1738,19 @@ Transform:
m_LocalRotation: {x: -0.07995039, y: 0.9102414, z: -0.20880757, w: 0.34852263}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 4.296496, y: 4.296493, z: 4.296493}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2135305919
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -1691,10 +1767,10 @@ Transform:
m_LocalRotation: {x: 0.3292459, y: -0.19317472, z: 0.12877093, w: 0.9152589}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -1702,7 +1778,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -1712,6 +1788,7 @@ Light:
m_Shadows:
m_Type: 1
m_Resolution: 3
+ m_CustomResolution: -1
m_Strength: 0.185
m_Bias: 0.1
m_NormalBias: 0.4
@@ -1724,7 +1801,9 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
diff --git a/Source/Assets/TouchScript/Examples/Camera/Camera.unity.meta b/Source/Assets/TouchScript/Examples/Camera/Camera.unity.meta
index b080cc30d..5c8bc3030 100644
--- a/Source/Assets/TouchScript/Examples/Camera/Camera.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Camera/Camera.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 9bc4a96ba8ead427ab54f883160abc15
DefaultImporter:
- userData: "2"
+ userData: "3"
diff --git a/Source/Assets/TouchScript/Examples/Camera/Scripts/CameraController.cs b/Source/Assets/TouchScript/Examples/Camera/Scripts/CameraController.cs
index 73938a3e4..72874fd94 100644
--- a/Source/Assets/TouchScript/Examples/Camera/Scripts/CameraController.cs
+++ b/Source/Assets/TouchScript/Examples/Camera/Scripts/CameraController.cs
@@ -7,9 +7,7 @@
namespace TouchScript.Examples.CameraControl
{
- ///
- /// This component controls camera movement.
- ///
+ ///
public class CameraController : MonoBehaviour
{
public ScreenTransformGesture TwoFingerMoveGesture;
@@ -41,16 +39,16 @@ private void OnDisable()
private void manipulationTransformedHandler(object sender, System.EventArgs e)
{
- var rotation = Quaternion.Euler(ManipulationGesture.DeltaPosition.y/Screen.height*RotationSpeed,
- -ManipulationGesture.DeltaPosition.x/Screen.width*RotationSpeed,
+ var rotation = Quaternion.Euler(ManipulationGesture.DeltaPosition.y / Screen.height * RotationSpeed,
+ -ManipulationGesture.DeltaPosition.x / Screen.width * RotationSpeed,
ManipulationGesture.DeltaRotation);
pivot.localRotation *= rotation;
- cam.transform.localPosition += Vector3.forward*(ManipulationGesture.DeltaScale - 1f)*ZoomSpeed;
+ cam.transform.localPosition += Vector3.forward * (ManipulationGesture.DeltaScale - 1f) * ZoomSpeed;
}
private void twoFingerTransformHandler(object sender, System.EventArgs e)
{
- pivot.localPosition += pivot.rotation*TwoFingerMoveGesture.DeltaPosition*PanSpeed;
+ pivot.localPosition += pivot.rotation * TwoFingerMoveGesture.DeltaPosition * PanSpeed;
}
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity b/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity
index 1e476ecba..a74b7ad80 100644
--- a/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity
+++ b/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,37 +54,59 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &12619638 stripped
GameObject:
@@ -144,14 +167,14 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -168,10 +191,10 @@ Transform:
m_LocalRotation: {x: 0.26945794, y: 0, z: 0, w: 0.96301216}
m_LocalPosition: {x: -1.11, y: 7.79, z: -14.44}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 31.264, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 31.264, y: 0, z: 0}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -184,7 +207,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: Camera
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -244,6 +269,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -257,11 +284,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 242343086}
- - 222: {fileID: 242343088}
- - 114: {fileID: 242343087}
+ - component: {fileID: 242343086}
+ - component: {fileID: 242343088}
+ - component: {fileID: 242343087}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -278,10 +305,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -325,10 +352,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -356,6 +383,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -365,13 +394,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1679844150}
- {fileID: 1962593004}
- {fileID: 841877613}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -488,37 +517,9 @@ Prefab:
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
---- !u!1 &543251037 stripped
-GameObject:
- m_PrefabParentObject: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- m_PrefabInternal: {fileID: 543251036}
---- !u!114 &543251038
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 543251037}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e276ccba4f7314d9988af19f9b3a611b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- advancedProps: 0
- windows8API: 0
- windows7API: 0
- webPlayerTouch: 1
- webGLTouch: 1
- windows8Mouse: 1
- windows7Mouse: 1
- universalWindowsMouse: 1
- emulateSecondMousePointer: 1
--- !u!1001 &556842199
Prefab:
m_ObjectHideFlags: 0
@@ -812,18 +813,20 @@ MeshCollider:
m_Enabled: 1
serializedVersion: 2
m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
m_Mesh: {fileID: 4300006, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
--- !u!1 &724610588
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 724610589}
- - 222: {fileID: 724610592}
- - 114: {fileID: 724610591}
- - 114: {fileID: 724610590}
+ - component: {fileID: 724610589}
+ - component: {fileID: 724610592}
+ - component: {fileID: 724610591}
+ - component: {fileID: 724610590}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -840,10 +843,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 841877613}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -911,11 +914,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -932,12 +935,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1981142013}
- {fileID: 1552723601}
m_Father: {fileID: 0}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -971,7 +974,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 740851131}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -980,6 +983,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -1076,10 +1080,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 841877613}
- - 114: {fileID: 841877614}
+ - component: {fileID: 841877613}
+ - component: {fileID: 841877614}
m_Layer: 5
m_Name: Space
m_TagString: Untagged
@@ -1096,12 +1100,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 900258188}
- {fileID: 724610589}
m_Father: {fileID: 250857271}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1134,11 +1138,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 900258188}
- - 222: {fileID: 900258190}
- - 114: {fileID: 900258189}
+ - component: {fileID: 900258188}
+ - component: {fileID: 900258190}
+ - component: {fileID: 900258189}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1155,10 +1159,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 841877613}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 36.77, y: 0}
@@ -1275,10 +1279,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
- - 114: {fileID: 930800602}
+ - component: {fileID: 930800601}
+ - component: {fileID: 930800602}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -1295,7 +1299,6 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2135305920}
- {fileID: 62216952}
@@ -1303,6 +1306,7 @@ Transform:
- {fileID: 584553677}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &930800602
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1432,11 +1436,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1453,10 +1457,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1560,18 +1564,20 @@ MeshCollider:
m_Enabled: 1
serializedVersion: 2
m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
m_Mesh: {fileID: 4300004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
--- !u!1 &1399100003
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1399100004}
- - 222: {fileID: 1399100006}
- - 114: {fileID: 1399100005}
- - 114: {fileID: 1399100007}
+ - component: {fileID: 1399100004}
+ - component: {fileID: 1399100006}
+ - component: {fileID: 1399100005}
+ - component: {fileID: 1399100007}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1588,10 +1594,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1699,12 +1705,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1721,10 +1727,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1911,12 +1917,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1933,10 +1939,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 178, y: 78}
@@ -2110,10 +2116,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Drag
m_TagString: Untagged
@@ -2130,12 +2136,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2210,10 +2216,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -2244,10 +2250,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1766364327
Prefab:
m_ObjectHideFlags: 0
@@ -2306,18 +2312,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1841925476
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1841925474}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: f91ca003806bd40f7938a006eee71921, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- OverColor: {r: 1, g: 0, b: 0, a: 1}
---- !u!114 &1841925477
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
@@ -2392,10 +2386,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1962593004}
- - 114: {fileID: 1962593005}
+ - component: {fileID: 1962593004}
+ - component: {fileID: 1962593005}
m_Layer: 5
m_Name: Rotate
m_TagString: Untagged
@@ -2412,12 +2406,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 242343086}
- {fileID: 1399100004}
m_Father: {fileID: 250857271}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2534,9 +2528,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -2553,11 +2547,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -2572,13 +2566,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 119514, guid: 4af91eff6c67b4995be4765a62f7eb5d, type: 2}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2027571738}
- - 33: {fileID: 2027571741}
- - 23: {fileID: 2027571740}
- - 114: {fileID: 2027571737}
- - 114: {fileID: 2027571735}
+ - component: {fileID: 2027571738}
+ - component: {fileID: 2027571741}
+ - component: {fileID: 2027571740}
+ - component: {fileID: 2027571737}
+ - component: {fileID: 2027571735}
m_Layer: 0
m_Name: Board
m_TagString: Untagged
@@ -2598,19 +2592,42 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 38e07bff8743d4ee38bf724a7a2b4cbb, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 1
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 2
screenTransformThreshold: 0.1
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &2027571737
@@ -2634,12 +2651,12 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2041409367}
- {fileID: 2130344072}
m_Father: {fileID: 930800601}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &2027571740
MeshRenderer:
m_ObjectHideFlags: 0
@@ -2650,22 +2667,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 2100000, guid: c39504b52f7f64f26b5762f1bb63f09c, type: 2}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &2027571741
MeshFilter:
@@ -2680,13 +2703,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 119512, guid: 4af91eff6c67b4995be4765a62f7eb5d, type: 2}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2041409367}
- - 33: {fileID: 2041409372}
- - 23: {fileID: 2041409369}
- - 65: {fileID: 2041409368}
- - 54: {fileID: 2041409371}
+ - component: {fileID: 2041409367}
+ - component: {fileID: 2041409372}
+ - component: {fileID: 2041409369}
+ - component: {fileID: 2041409368}
+ - component: {fileID: 2041409371}
m_Layer: 0
m_Name: Body
m_TagString: Untagged
@@ -2703,10 +2726,10 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.101, z: 0}
m_LocalScale: {x: 10, y: 0.2, z: 10}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2027571738}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2041409368
BoxCollider:
m_ObjectHideFlags: 0
@@ -2730,22 +2753,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 2100000, guid: bade3b3ccc3024624b44815e95a6af4e, type: 2}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!54 &2041409371
Rigidbody:
@@ -2821,9 +2850,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2130344072}
+ - component: {fileID: 2130344072}
m_Layer: 0
m_Name: Container
m_TagString: Untagged
@@ -2840,7 +2869,6 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1423153197}
- {fileID: 868514750}
@@ -2860,15 +2888,16 @@ Transform:
- {fileID: 1140064800}
m_Father: {fileID: 2027571738}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2135305919
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -2885,10 +2914,10 @@ Transform:
m_LocalRotation: {x: 0.24194291, y: -0.49854365, z: 0.22107579, w: 0.80252314}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -2896,7 +2925,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -2906,6 +2935,7 @@ Light:
m_Shadows:
m_Type: 2
m_Resolution: 3
+ m_CustomResolution: -1
m_Strength: 0.56
m_Bias: 0.1
m_NormalBias: 0.4
@@ -2918,10 +2948,12 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
--- !u!4 &2137966724 stripped
Transform:
m_PrefabParentObject: {fileID: 437898, guid: b4fd857376bb94265b47bcf5b50f67fa, type: 2}
diff --git a/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity.meta b/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity.meta
index 35dcd603c..21cb61b30 100644
--- a/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Checkers/Checkers.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 6ba58961df0a14cad91763f92bda13b9
DefaultImporter:
- userData: "4"
+ userData: "5"
diff --git a/Source/Assets/TouchScript/Examples/Checkers/Scripts/Board.cs b/Source/Assets/TouchScript/Examples/Checkers/Scripts/Board.cs
index 8b8aee113..8355c9702 100644
--- a/Source/Assets/TouchScript/Examples/Checkers/Scripts/Board.cs
+++ b/Source/Assets/TouchScript/Examples/Checkers/Scripts/Board.cs
@@ -7,6 +7,7 @@
namespace TouchScript.Examples.Checkers
{
+ ///
public class Board : MonoBehaviour
{
private PinnedTransformGesture gesture;
diff --git a/Source/Assets/TouchScript/Examples/Checkers/Scripts/Exclusive.cs b/Source/Assets/TouchScript/Examples/Checkers/Scripts/Exclusive.cs
index dd94ceb07..559eb97dc 100644
--- a/Source/Assets/TouchScript/Examples/Checkers/Scripts/Exclusive.cs
+++ b/Source/Assets/TouchScript/Examples/Checkers/Scripts/Exclusive.cs
@@ -9,6 +9,7 @@
namespace TouchScript.Examples.Checkers
{
+ ///
public class Exclusive : MonoBehaviour, IGestureDelegate
{
public TransformGesture Target;
@@ -27,7 +28,7 @@ private void Awake()
private void Update()
{
- if (UnityEngine.Input.GetKey(KeyCode.Space))
+ if (Input.GetKey(KeyCode.Space))
{
exclusive = true;
cachedRenderer.material.SetColor("_SpecColor", Color);
diff --git a/Source/Assets/TouchScript/Examples/Colors/Colors.unity b/Source/Assets/TouchScript/Examples/Colors/Colors.unity
index 7c3e45486..cd5edaf6a 100644
--- a/Source/Assets/TouchScript/Examples/Colors/Colors.unity
+++ b/Source/Assets/TouchScript/Examples/Colors/Colors.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,51 +54,73 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &62216951
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -114,10 +137,10 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -130,7 +153,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: Camera
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 0
hit2DObjects: 1
hitWorldSpaceUI: 0
@@ -190,6 +215,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -199,9 +226,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 68250097}
+ - component: {fileID: 68250097}
m_Layer: 0
m_Name: Container
m_TagString: Untagged
@@ -218,19 +245,19 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &250857269
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -258,6 +285,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -267,12 +296,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1679844150}
- {fileID: 602940323}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -317,58 +346,26 @@ Prefab:
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[1]
- value:
- objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[2]
- value:
- objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
---- !u!1 &543251037 stripped
-GameObject:
- m_PrefabParentObject: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- m_PrefabInternal: {fileID: 543251036}
---- !u!114 &543251038
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 543251037}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e276ccba4f7314d9988af19f9b3a611b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- advancedProps: 0
- windows8API: 0
- windows7API: 0
- webPlayerTouch: 1
- webGLTouch: 1
- windows8Mouse: 1
- windows7Mouse: 1
- universalWindowsMouse: 1
- emulateSecondMousePointer: 1
--- !u!1 &602940322
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 602940323}
- - 114: {fileID: 602940324}
+ - component: {fileID: 602940323}
+ - component: {fileID: 602940324}
m_Layer: 5
m_Name: Scale
m_TagString: Untagged
@@ -385,12 +382,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2046579559}
- {fileID: 1122129733}
m_Father: {fileID: 250857271}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -419,11 +416,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -440,12 +437,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1981142013}
- {fileID: 1552723601}
m_Father: {fileID: 0}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -479,7 +476,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 740851131}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -488,6 +485,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -496,10 +494,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
- - 114: {fileID: 930800602}
+ - component: {fileID: 930800601}
+ - component: {fileID: 930800602}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -516,12 +514,12 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 62216952}
- {fileID: 68250097}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &930800602
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -540,12 +538,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1122129733}
- - 222: {fileID: 1122129736}
- - 114: {fileID: 1122129735}
- - 114: {fileID: 1122129734}
+ - component: {fileID: 1122129733}
+ - component: {fileID: 1122129736}
+ - component: {fileID: 1122129735}
+ - component: {fileID: 1122129734}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -562,10 +560,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 602940323}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 196, y: 0}
@@ -629,11 +627,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -650,10 +648,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -697,12 +695,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -719,10 +717,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 196, y: 0}
@@ -788,12 +786,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -810,10 +808,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 178, y: 78}
@@ -884,10 +882,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Drag
m_TagString: Untagged
@@ -904,12 +902,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -938,10 +936,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -972,10 +970,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1772227325
Prefab:
m_ObjectHideFlags: 0
@@ -1003,9 +1001,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -1022,11 +1020,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -1037,11 +1035,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2046579559}
- - 222: {fileID: 2046579561}
- - 114: {fileID: 2046579560}
+ - component: {fileID: 2046579559}
+ - component: {fileID: 2046579561}
+ - component: {fileID: 2046579560}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1058,10 +1056,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 602940323}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
diff --git a/Source/Assets/TouchScript/Examples/Colors/Colors.unity.meta b/Source/Assets/TouchScript/Examples/Colors/Colors.unity.meta
index e00912d5d..f611b96b5 100644
--- a/Source/Assets/TouchScript/Examples/Colors/Colors.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Colors/Colors.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: c56b29ea5ec5a4713b65552d4a8bd9ac
DefaultImporter:
- userData:
+ userData: "7"
diff --git a/Source/Assets/TouchScript/Examples/Colors/Scripts/Circle.cs b/Source/Assets/TouchScript/Examples/Colors/Scripts/Circle.cs
index 0c0248370..8f1196083 100644
--- a/Source/Assets/TouchScript/Examples/Colors/Scripts/Circle.cs
+++ b/Source/Assets/TouchScript/Examples/Colors/Scripts/Circle.cs
@@ -8,6 +8,7 @@
namespace TouchScript.Examples.Colors
{
+ ///
public class Circle : MonoBehaviour
{
private bool isDestroyed = false;
@@ -35,8 +36,8 @@ private void OnTriggerEnter2D(Collider2D other)
var otherColor = otherCircle.Kill();
var scale =
- Mathf.Sqrt(otherCircle.transform.localScale.x*otherCircle.transform.localScale.x +
- transform.localScale.x*transform.localScale.x);
+ Mathf.Sqrt(otherCircle.transform.localScale.x * otherCircle.transform.localScale.x +
+ transform.localScale.x * transform.localScale.x);
var color = Color.Lerp(GetComponent().sharedMaterial.color, otherColor, .5f);
var obj = Instantiate(gameObject) as GameObject;
diff --git a/Source/Assets/TouchScript/Examples/Colors/Scripts/Colors.cs b/Source/Assets/TouchScript/Examples/Colors/Scripts/Colors.cs
index 2739ecf38..db9a39431 100644
--- a/Source/Assets/TouchScript/Examples/Colors/Scripts/Colors.cs
+++ b/Source/Assets/TouchScript/Examples/Colors/Scripts/Colors.cs
@@ -7,6 +7,7 @@
namespace TouchScript.Examples.Colors
{
+ ///
public class Colors : MonoBehaviour
{
public Transform Prefab;
diff --git a/Source/Assets/TouchScript/Examples/Cube/Cube.unity b/Source/Assets/TouchScript/Examples/Cube/Cube.unity
index 0e64d6a14..d2e80c837 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Cube.unity
+++ b/Source/Assets/TouchScript/Examples/Cube/Cube.unity
@@ -131,6 +131,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
Name: Camera
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -346,42 +347,14 @@ Prefab:
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
- objectReference: {fileID: 1459600544}
+ objectReference: {fileID: 62216953}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[1]
value:
- objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
+ objectReference: {fileID: 1459600544}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
---- !u!1 &543251037 stripped
-GameObject:
- m_PrefabParentObject: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- m_PrefabInternal: {fileID: 543251036}
---- !u!114 &543251038
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 543251037}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e276ccba4f7314d9988af19f9b3a611b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- advancedProps: 0
- windows8API: 0
- windows7API: 0
- webPlayerTouch: 1
- webGLTouch: 1
- windows8Mouse: 1
- windows7Mouse: 1
- universalWindowsMouse: 1
- emulateSecondMousePointer: 1
--- !u!1 &732284827
GameObject:
m_ObjectHideFlags: 0
@@ -765,6 +738,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
m_Name:
m_EditorClassIdentifier:
+ enableSmoothing: 0
+ smoothingFactor: 0.00001
+ positionThreshold: 0.0001
+ rotationThreshold: 0.01
+ scaleThreshold: 0.0001
+ allowChangingFromOutside: 0
--- !u!114 &963048129
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -776,7 +755,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -785,11 +770,29 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 0
projectionPlaneNormal: {x: 0, y: 0, z: 1}
--- !u!1 &1138005899
@@ -993,6 +996,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
Name: RenderTexture Camera
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -1307,7 +1311,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3fd90a8856e1a49eba25728d5aaac9f2, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -1316,6 +1326,8 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
--- !u!23 &1880100170
diff --git a/Source/Assets/TouchScript/Examples/Cube/Cube.unity.meta b/Source/Assets/TouchScript/Examples/Cube/Cube.unity.meta
index 54ac72230..18eee7b08 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Cube.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Cube/Cube.unity.meta
@@ -3,6 +3,6 @@ guid: 179bea80bb29f49ab9d5761fc9d3738b
timeCreated: 1451049198
licenseType: Pro
DefaultImporter:
- userData:
+ userData: "8"
assetBundleName:
assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs b/Source/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs
index f27d32b6d..3fe57c913 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs
+++ b/Source/Assets/TouchScript/Examples/Cube/Scripts/CustomPointerProxy.cs
@@ -2,15 +2,18 @@
* @author Valentin Simonov / http://va.lent.in/
*/
+using TouchScript.Behaviors.Cursors;
using TouchScript.Pointers;
-namespace TouchScript.Examples.Cube
+namespace TouchScript.Examples.Cube
{
- public class CustomPointerProxy : Behaviors.Visualizer.PointerProxy
+ ///
+ public class CustomPointerProxy : PointerCursor
{
- protected override void updateOnce(Pointer pointer) {
+ protected override void updateOnce(IPointer pointer)
+ {
if (pointer.InputSource is RedirectInput) Hide();
-
+
base.updateOnce(pointer);
}
}
diff --git a/Source/Assets/TouchScript/Examples/Cube/Scripts/Init.cs b/Source/Assets/TouchScript/Examples/Cube/Scripts/Init.cs
index 9803930bd..4afc392b7 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Scripts/Init.cs
+++ b/Source/Assets/TouchScript/Examples/Cube/Scripts/Init.cs
@@ -5,16 +5,18 @@
using UnityEngine;
using TouchScript.Layers;
-namespace TouchScript.Examples.Cube
+namespace TouchScript.Examples.Cube
{
- public class Init : MonoBehaviour
+ ///
+ public class Init : MonoBehaviour
{
- void Start () {
+ void Start()
+ {
var d = GetComponent();
- var go = GameObject.Find("Scene Camera");
+ var go = GameObject.Find("Scene Camera");
go.GetComponent().Delegate = d;
go = GameObject.Find("Camera");
- go.GetComponent().Delegate = d;
+ go.GetComponent().Delegate = d;
}
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Cube/Scripts/LayerDelegate.cs b/Source/Assets/TouchScript/Examples/Cube/Scripts/LayerDelegate.cs
index d11bc2887..4c0762420 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Scripts/LayerDelegate.cs
+++ b/Source/Assets/TouchScript/Examples/Cube/Scripts/LayerDelegate.cs
@@ -9,17 +9,17 @@
namespace TouchScript.Examples.Cube
{
+ ///
public class LayerDelegate : MonoBehaviour, ILayerDelegate
{
-
public RedirectInput Source;
public TouchLayer RenderTextureLayer;
public bool ShouldReceivePointer(TouchLayer layer, IPointer pointer)
{
if (layer == RenderTextureLayer)
- return pointer.InputSource == (IInputSource)Source;
- return pointer.InputSource != (IInputSource)Source;
+ return pointer.InputSource == (IInputSource) Source;
+ return pointer.InputSource != (IInputSource) Source;
}
}
-}
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Cube/Scripts/RedirectInput.cs b/Source/Assets/TouchScript/Examples/Cube/Scripts/RedirectInput.cs
index 35628311b..cd87ed47f 100644
--- a/Source/Assets/TouchScript/Examples/Cube/Scripts/RedirectInput.cs
+++ b/Source/Assets/TouchScript/Examples/Cube/Scripts/RedirectInput.cs
@@ -12,9 +12,9 @@
namespace TouchScript.Examples.Cube
{
+ ///
public class RedirectInput : InputSource
{
-
public int Width = 512;
public int Height = 512;
@@ -39,7 +39,7 @@ public override bool CancelPointer(Pointer pointer, bool shouldReturn)
map.Add(pointer.Id, newPointer);
}
}
- return true;
+ return true;
}
protected override void OnEnable()
@@ -76,12 +76,12 @@ private Vector2 processCoords(Vector2 value)
private void pointerPressedHandler(object sender, MetaGestureEventArgs metaGestureEventArgs)
{
var pointer = metaGestureEventArgs.Pointer;
- if (pointer.InputSource == (IInputSource)this) return;
+ if (pointer.InputSource == (IInputSource) this) return;
var newPointer = PointerFactory.Create(pointer.Type, this);
newPointer.CopyFrom(pointer);
newPointer.Position = processCoords(pointer.GetPressData().RaycastHit.textureCoord);
- newPointer.Flags = pointer.Flags | Pointer.FLAG_ARTIFICIAL;
+ newPointer.Flags = pointer.Flags | Pointer.FLAG_ARTIFICIAL | Pointer.FLAG_INTERNAL;
addPointer(newPointer);
pressPointer(newPointer);
map.Add(pointer.Id, newPointer);
@@ -89,9 +89,9 @@ private void pointerPressedHandler(object sender, MetaGestureEventArgs metaGestu
private void pointerUpdatedHandler(object sender, MetaGestureEventArgs metaGestureEventArgs)
{
- var pointer = metaGestureEventArgs.Pointer;
+ var pointer = metaGestureEventArgs.Pointer;
- if (pointer.InputSource == (IInputSource)this) return;
+ if (pointer.InputSource == (IInputSource) this) return;
Pointer newPointer;
if (!map.TryGetValue(pointer.Id, out newPointer)) return;
@@ -105,7 +105,7 @@ private void pointerUpdatedHandler(object sender, MetaGestureEventArgs metaGestu
private void pointerReleasedHandler(object sender, MetaGestureEventArgs metaGestureEventArgs)
{
var pointer = metaGestureEventArgs.Pointer;
- if (pointer.InputSource == (IInputSource)this) return;
+ if (pointer.InputSource == (IInputSource) this) return;
Pointer newPointer;
if (!map.TryGetValue(pointer.Id, out newPointer)) return;
@@ -117,14 +117,12 @@ private void pointerReleasedHandler(object sender, MetaGestureEventArgs metaGest
private void pointerCancelledhandler(object sender, MetaGestureEventArgs metaGestureEventArgs)
{
var pointer = metaGestureEventArgs.Pointer;
- if (pointer.InputSource == (IInputSource)this) return;
+ if (pointer.InputSource == (IInputSource) this) return;
Pointer newPointer;
if (!map.TryGetValue(pointer.Id, out newPointer)) return;
map.Remove(pointer.Id);
cancelPointer(newPointer);
}
-
}
-
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Examples.unity b/Source/Assets/TouchScript/Examples/Examples.unity
index f6e0f851d..e68c675ed 100644
--- a/Source/Assets/TouchScript/Examples/Examples.unity
+++ b/Source/Assets/TouchScript/Examples/Examples.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,48 +54,70 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &15691937
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 15691938}
- - 222: {fileID: 15691940}
- - 114: {fileID: 15691939}
+ - component: {fileID: 15691938}
+ - component: {fileID: 15691940}
+ - component: {fileID: 15691939}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -111,10 +134,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1037999862}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -165,11 +188,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 16824282}
- - 222: {fileID: 16824284}
- - 114: {fileID: 16824283}
+ - component: {fileID: 16824282}
+ - component: {fileID: 16824284}
+ - component: {fileID: 16824283}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -186,10 +209,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 758236082}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -239,10 +262,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 37557109}
- - 114: {fileID: 37557110}
+ - component: {fileID: 37557109}
+ - component: {fileID: 37557110}
m_Layer: 5
m_Name: Examples
m_TagString: Untagged
@@ -259,12 +282,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1317055114}
- {fileID: 767854197}
m_Father: {fileID: 2032927211}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -287,13 +310,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -310,10 +333,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!81 &62216954
AudioListener:
m_ObjectHideFlags: 0
@@ -365,6 +388,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -374,13 +399,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 96104532}
- - 222: {fileID: 96104536}
- - 114: {fileID: 96104535}
- - 114: {fileID: 96104534}
- - 114: {fileID: 96104533}
+ - component: {fileID: 96104532}
+ - component: {fileID: 96104536}
+ - component: {fileID: 96104535}
+ - component: {fileID: 96104534}
+ - component: {fileID: 96104533}
m_Layer: 5
m_Name: Previous
m_TagString: Untagged
@@ -397,11 +422,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1784197137}
m_Father: {fileID: 666412329}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -515,10 +540,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 174295523}
- - 114: {fileID: 174295522}
+ - component: {fileID: 174295523}
+ - component: {fileID: 174295522}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -549,21 +574,21 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1654745587}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &201561626
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 201561627}
- - 222: {fileID: 201561630}
- - 114: {fileID: 201561629}
- - 114: {fileID: 201561628}
+ - component: {fileID: 201561627}
+ - component: {fileID: 201561630}
+ - component: {fileID: 201561629}
+ - component: {fileID: 201561628}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -580,10 +605,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 870787322}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -690,11 +715,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 299753859}
- - 222: {fileID: 299753861}
- - 114: {fileID: 299753860}
+ - component: {fileID: 299753859}
+ - component: {fileID: 299753861}
+ - component: {fileID: 299753860}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -711,10 +736,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1037999862}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -758,12 +783,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 309713871}
- - 222: {fileID: 309713874}
- - 114: {fileID: 309713873}
- - 114: {fileID: 309713872}
+ - component: {fileID: 309713871}
+ - component: {fileID: 309713874}
+ - component: {fileID: 309713873}
+ - component: {fileID: 309713872}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -780,10 +805,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.6333333, y: 1.6333333, z: 1.6333333}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1402896514}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -847,12 +872,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 321008078}
- - 222: {fileID: 321008081}
- - 114: {fileID: 321008080}
- - 114: {fileID: 321008079}
+ - component: {fileID: 321008078}
+ - component: {fileID: 321008081}
+ - component: {fileID: 321008080}
+ - component: {fileID: 321008079}
m_Layer: 5
m_Name: Portal
m_TagString: Untagged
@@ -869,14 +894,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1449561975}
- {fileID: 1241691652}
- {fileID: 1894139120}
- {fileID: 329812103}
m_Father: {fileID: 2098255038}
- m_RootOrder: 6
+ m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -938,11 +963,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 329812103}
- - 222: {fileID: 329812105}
- - 114: {fileID: 329812104}
+ - component: {fileID: 329812103}
+ - component: {fileID: 329812105}
+ - component: {fileID: 329812104}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -959,10 +984,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 321008078}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -1006,12 +1031,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 341179473}
- - 222: {fileID: 341179476}
- - 114: {fileID: 341179475}
- - 114: {fileID: 341179474}
+ - component: {fileID: 341179473}
+ - component: {fileID: 341179476}
+ - component: {fileID: 341179475}
+ - component: {fileID: 341179474}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -1028,10 +1053,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 574950114}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -1138,12 +1163,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 357107825}
- - 222: {fileID: 357107828}
- - 114: {fileID: 357107827}
- - 114: {fileID: 357107826}
+ - component: {fileID: 357107825}
+ - component: {fileID: 357107828}
+ - component: {fileID: 357107827}
+ - component: {fileID: 357107826}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -1160,10 +1185,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1037999862}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -1227,12 +1252,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 363049655}
- - 222: {fileID: 363049658}
- - 114: {fileID: 363049657}
- - 114: {fileID: 363049656}
+ - component: {fileID: 363049655}
+ - component: {fileID: 363049658}
+ - component: {fileID: 363049657}
+ - component: {fileID: 363049656}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -1249,10 +1274,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 758236082}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -1359,11 +1384,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 385551183}
- - 222: {fileID: 385551185}
- - 114: {fileID: 385551184}
+ - component: {fileID: 385551183}
+ - component: {fileID: 385551185}
+ - component: {fileID: 385551184}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1380,10 +1405,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1004776690}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -1433,12 +1458,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 406504771}
- - 222: {fileID: 406504774}
- - 114: {fileID: 406504773}
- - 114: {fileID: 406504772}
+ - component: {fileID: 406504771}
+ - component: {fileID: 406504774}
+ - component: {fileID: 406504773}
+ - component: {fileID: 406504772}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -1455,10 +1480,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1037999862}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -1565,11 +1590,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 452970292}
- - 222: {fileID: 452970294}
- - 114: {fileID: 452970293}
+ - component: {fileID: 452970292}
+ - component: {fileID: 452970294}
+ - component: {fileID: 452970293}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1586,10 +1611,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 870787322}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -1633,12 +1658,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 507770921}
- - 222: {fileID: 507770920}
- - 114: {fileID: 507770919}
- - 114: {fileID: 507770918}
+ - component: {fileID: 507770921}
+ - component: {fileID: 507770920}
+ - component: {fileID: 507770919}
+ - component: {fileID: 507770918}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -1708,10 +1733,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 621592926}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -1722,11 +1747,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 558528359}
- - 222: {fileID: 558528361}
- - 114: {fileID: 558528360}
+ - component: {fileID: 558528359}
+ - component: {fileID: 558528361}
+ - component: {fileID: 558528360}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1743,10 +1768,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2076713667}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -1790,12 +1815,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 574950114}
- - 222: {fileID: 574950117}
- - 114: {fileID: 574950116}
- - 114: {fileID: 574950115}
+ - component: {fileID: 574950114}
+ - component: {fileID: 574950117}
+ - component: {fileID: 574950116}
+ - component: {fileID: 574950115}
m_Layer: 5
m_Name: Taps
m_TagString: Untagged
@@ -1812,14 +1837,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1800191864}
- {fileID: 745674114}
- {fileID: 341179473}
- {fileID: 865431078}
m_Father: {fileID: 2098255038}
- m_RootOrder: 0
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1881,11 +1906,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 595145115}
- - 222: {fileID: 595145117}
- - 114: {fileID: 595145116}
+ - component: {fileID: 595145115}
+ - component: {fileID: 595145117}
+ - component: {fileID: 595145116}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1902,10 +1927,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 601448587}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -1956,12 +1981,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 601448587}
- - 222: {fileID: 601448590}
- - 114: {fileID: 601448589}
- - 114: {fileID: 601448588}
+ - component: {fileID: 601448587}
+ - component: {fileID: 601448590}
+ - component: {fileID: 601448589}
+ - component: {fileID: 601448588}
m_Layer: 5
m_Name: Raw Input
m_TagString: Untagged
@@ -1978,14 +2003,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1260024592}
- {fileID: 595145115}
- {fileID: 2001542684}
- {fileID: 2073758707}
m_Father: {fileID: 2098255038}
- m_RootOrder: 8
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2047,12 +2072,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 606054179}
- - 114: {fileID: 606054182}
- - 222: {fileID: 606054181}
- - 114: {fileID: 606054180}
+ - component: {fileID: 606054179}
+ - component: {fileID: 606054182}
+ - component: {fileID: 606054181}
+ - component: {fileID: 606054180}
m_Layer: 5
m_Name: Viewport
m_TagString: Untagged
@@ -2069,11 +2094,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2098255038}
m_Father: {fileID: 1317055114}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 25, y: -43}
@@ -2129,12 +2154,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 621592926}
- - 222: {fileID: 621592929}
- - 114: {fileID: 621592928}
- - 114: {fileID: 621592927}
+ - component: {fileID: 621592926}
+ - component: {fileID: 621592929}
+ - component: {fileID: 621592928}
+ - component: {fileID: 621592927}
m_Layer: 5
m_Name: Cube
m_TagString: Untagged
@@ -2151,14 +2176,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 507770921}
- {fileID: 749901011}
- {fileID: 842217637}
- {fileID: 2088901649}
m_Father: {fileID: 2098255038}
- m_RootOrder: 5
+ m_RootOrder: 7
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2220,10 +2245,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 666412329}
- - 114: {fileID: 666412330}
+ - component: {fileID: 666412329}
+ - component: {fileID: 666412330}
m_Layer: 5
m_Name: Buttons
m_TagString: Untagged
@@ -2240,13 +2265,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 96104532}
- {fileID: 1412835668}
- {fileID: 1778454010}
m_Father: {fileID: 2032927211}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -141, y: 35}
@@ -2272,16 +2297,18 @@ MonoBehaviour:
m_Spacing: 2
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!1 &700544018
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 700544019}
- - 222: {fileID: 700544021}
- - 114: {fileID: 700544020}
+ - component: {fileID: 700544019}
+ - component: {fileID: 700544021}
+ - component: {fileID: 700544020}
m_Layer: 5
m_Name: Ribbon
m_TagString: Untagged
@@ -2298,11 +2325,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1924054934}
m_Father: {fileID: 1317055114}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.9607719}
m_AnchorMax: {x: 0.5, y: 0.9607719}
m_AnchoredPosition: {x: 0.000020981002, y: 7.3999023}
@@ -2346,11 +2373,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 745674114}
- - 222: {fileID: 745674116}
- - 114: {fileID: 745674115}
+ - component: {fileID: 745674114}
+ - component: {fileID: 745674116}
+ - component: {fileID: 745674115}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -2367,10 +2394,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 574950114}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -2420,11 +2447,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 749901011}
- - 222: {fileID: 749901013}
- - 114: {fileID: 749901012}
+ - component: {fileID: 749901011}
+ - component: {fileID: 749901013}
+ - component: {fileID: 749901012}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -2441,10 +2468,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 621592926}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -2494,12 +2521,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 758236082}
- - 222: {fileID: 758236085}
- - 114: {fileID: 758236084}
- - 114: {fileID: 758236083}
+ - component: {fileID: 758236082}
+ - component: {fileID: 758236085}
+ - component: {fileID: 758236084}
+ - component: {fileID: 758236083}
m_Layer: 5
m_Name: Checkers
m_TagString: Untagged
@@ -2516,14 +2543,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1280257797}
- {fileID: 16824282}
- {fileID: 363049655}
- {fileID: 1987127154}
m_Father: {fileID: 2098255038}
- m_RootOrder: 2
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2585,12 +2612,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 767854197}
- - 222: {fileID: 767854200}
- - 114: {fileID: 767854199}
- - 114: {fileID: 767854198}
+ - component: {fileID: 767854197}
+ - component: {fileID: 767854200}
+ - component: {fileID: 767854199}
+ - component: {fileID: 767854198}
m_Layer: 5
m_Name: Close
m_TagString: Untagged
@@ -2607,10 +2634,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 37557109}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -31.199997, y: -39.700195}
@@ -2706,12 +2733,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 801696179}
- - 222: {fileID: 801696182}
- - 114: {fileID: 801696181}
- - 114: {fileID: 801696180}
+ - component: {fileID: 801696179}
+ - component: {fileID: 801696182}
+ - component: {fileID: 801696181}
+ - component: {fileID: 801696180}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -2728,10 +2755,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2076713667}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -2790,17 +2817,106 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 801696178}
+--- !u!1 &812982524
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 812982525}
+ - component: {fileID: 812982528}
+ - component: {fileID: 812982527}
+ - component: {fileID: 812982526}
+ m_Layer: 5
+ m_Name: Title
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &812982525
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 812982524}
+ 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: 1920151151}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 33.699997, y: 21.6}
+ m_SizeDelta: {x: -94.8, y: -68.2}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &812982526
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 812982524}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -900027084, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5}
+ m_EffectDistance: {x: 1, y: -1}
+ m_UseGraphicAlpha: 0
+--- !u!114 &812982527
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 812982524}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 12800000, guid: e423173afdece4d3fa49ed8e89391fce, type: 3}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 1
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: pull
+--- !u!222 &812982528
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 812982524}
--- !u!1 &842217636
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 842217637}
- - 222: {fileID: 842217640}
- - 114: {fileID: 842217639}
- - 114: {fileID: 842217638}
+ - component: {fileID: 842217637}
+ - component: {fileID: 842217640}
+ - component: {fileID: 842217639}
+ - component: {fileID: 842217638}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -2817,10 +2933,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 621592926}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -2927,11 +3043,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 865431078}
- - 222: {fileID: 865431080}
- - 114: {fileID: 865431079}
+ - component: {fileID: 865431078}
+ - component: {fileID: 865431080}
+ - component: {fileID: 865431079}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -2948,10 +3064,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 574950114}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -2995,12 +3111,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 870787322}
- - 222: {fileID: 870787325}
- - 114: {fileID: 870787324}
- - 114: {fileID: 870787323}
+ - component: {fileID: 870787322}
+ - component: {fileID: 870787325}
+ - component: {fileID: 870787324}
+ - component: {fileID: 870787323}
m_Layer: 5
m_Name: Camera
m_TagString: Untagged
@@ -3017,14 +3133,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 879805661}
- {fileID: 1030186641}
- {fileID: 201561627}
- {fileID: 452970292}
m_Father: {fileID: 2098255038}
- m_RootOrder: 1
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3086,12 +3202,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 879805661}
- - 222: {fileID: 879805664}
- - 114: {fileID: 879805663}
- - 114: {fileID: 879805662}
+ - component: {fileID: 879805661}
+ - component: {fileID: 879805664}
+ - component: {fileID: 879805663}
+ - component: {fileID: 879805662}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -3108,10 +3224,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 870787322}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -3175,12 +3291,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 962873577}
- - 222: {fileID: 962873580}
- - 114: {fileID: 962873579}
- - 114: {fileID: 962873578}
+ - component: {fileID: 962873577}
+ - component: {fileID: 962873580}
+ - component: {fileID: 962873579}
+ - component: {fileID: 962873578}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -3197,10 +3313,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1004776690}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -3307,12 +3423,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1004776690}
- - 222: {fileID: 1004776693}
- - 114: {fileID: 1004776692}
- - 114: {fileID: 1004776691}
+ - component: {fileID: 1004776690}
+ - component: {fileID: 1004776693}
+ - component: {fileID: 1004776692}
+ - component: {fileID: 1004776691}
m_Layer: 5
m_Name: Multiuser
m_TagString: Untagged
@@ -3329,14 +3445,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2008717908}
- {fileID: 385551183}
- {fileID: 962873577}
- {fileID: 1608867050}
m_Father: {fileID: 2098255038}
- m_RootOrder: 4
+ m_RootOrder: 8
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3398,11 +3514,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1030186641}
- - 222: {fileID: 1030186643}
- - 114: {fileID: 1030186642}
+ - component: {fileID: 1030186641}
+ - component: {fileID: 1030186643}
+ - component: {fileID: 1030186642}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -3419,10 +3535,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 870787322}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -3473,12 +3589,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1037999862}
- - 222: {fileID: 1037999865}
- - 114: {fileID: 1037999864}
- - 114: {fileID: 1037999863}
+ - component: {fileID: 1037999862}
+ - component: {fileID: 1037999865}
+ - component: {fileID: 1037999864}
+ - component: {fileID: 1037999863}
m_Layer: 5
m_Name: Colors
m_TagString: Untagged
@@ -3495,14 +3611,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 357107825}
- {fileID: 15691938}
- {fileID: 406504771}
- {fileID: 299753859}
m_Father: {fileID: 2098255038}
- m_RootOrder: 7
+ m_RootOrder: 6
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3564,11 +3680,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1168732683}
- - 222: {fileID: 1168732685}
- - 114: {fileID: 1168732684}
+ - component: {fileID: 1168732683}
+ - component: {fileID: 1168732685}
+ - component: {fileID: 1168732684}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -3585,10 +3701,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2076713667}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -3638,12 +3754,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1173809306}
- - 222: {fileID: 1173809309}
- - 114: {fileID: 1173809308}
- - 114: {fileID: 1173809307}
+ - component: {fileID: 1173809306}
+ - component: {fileID: 1173809309}
+ - component: {fileID: 1173809308}
+ - component: {fileID: 1173809307}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -3660,10 +3776,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1778454010}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -1}
@@ -3727,11 +3843,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1241691652}
- - 222: {fileID: 1241691654}
- - 114: {fileID: 1241691653}
+ - component: {fileID: 1241691652}
+ - component: {fileID: 1241691654}
+ - component: {fileID: 1241691653}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -3748,10 +3864,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 321008078}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
@@ -3801,12 +3917,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1260024592}
- - 222: {fileID: 1260024595}
- - 114: {fileID: 1260024594}
- - 114: {fileID: 1260024593}
+ - component: {fileID: 1260024592}
+ - component: {fileID: 1260024595}
+ - component: {fileID: 1260024594}
+ - component: {fileID: 1260024593}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -3823,10 +3939,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 601448587}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -3890,12 +4006,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1280257797}
- - 222: {fileID: 1280257800}
- - 114: {fileID: 1280257799}
- - 114: {fileID: 1280257798}
+ - component: {fileID: 1280257797}
+ - component: {fileID: 1280257800}
+ - component: {fileID: 1280257799}
+ - component: {fileID: 1280257798}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -3912,10 +4028,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 758236082}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -3979,12 +4095,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1317055114}
- - 114: {fileID: 1317055117}
- - 222: {fileID: 1317055116}
- - 114: {fileID: 1317055115}
+ - component: {fileID: 1317055114}
+ - component: {fileID: 1317055117}
+ - component: {fileID: 1317055116}
+ - component: {fileID: 1317055115}
m_Layer: 5
m_Name: Examples List
m_TagString: Untagged
@@ -4001,12 +4117,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 606054179}
- {fileID: 700544019}
m_Father: {fileID: 37557109}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0, y: -10}
@@ -4081,12 +4197,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1361172027}
- - 222: {fileID: 1361172030}
- - 114: {fileID: 1361172029}
- - 114: {fileID: 1361172028}
+ - component: {fileID: 1361172027}
+ - component: {fileID: 1361172030}
+ - component: {fileID: 1361172029}
+ - component: {fileID: 1361172028}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -4103,10 +4219,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2076713667}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -4213,12 +4329,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1402896514}
- - 223: {fileID: 1402896517}
- - 114: {fileID: 1402896516}
- - 114: {fileID: 1402896515}
+ - component: {fileID: 1402896514}
+ - component: {fileID: 1402896517}
+ - component: {fileID: 1402896516}
+ - component: {fileID: 1402896515}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -4235,11 +4351,11 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 309713871}
m_Father: {fileID: 0}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4284,7 +4400,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1402896513}
m_Enabled: 0
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -4293,21 +4409,90 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
+--- !u!1 &1411566800
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1411566801}
+ - component: {fileID: 1411566803}
+ - component: {fileID: 1411566802}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1411566801
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1411566800}
+ 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: 1920151151}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: -86.3, y: 3.8}
+ m_SizeDelta: {x: 46, y: 54}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1411566802
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1411566800}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: ed91d97df020e4a8cb289e68e82485be, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 1
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1411566803
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1411566800}
--- !u!1 &1412835664
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1412835668}
- - 222: {fileID: 1412835667}
- - 114: {fileID: 1412835666}
- - 114: {fileID: 1412835665}
- - 114: {fileID: 1412835669}
+ - component: {fileID: 1412835668}
+ - component: {fileID: 1412835667}
+ - component: {fileID: 1412835666}
+ - component: {fileID: 1412835665}
+ - component: {fileID: 1412835669}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -4409,11 +4594,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1487808224}
m_Father: {fileID: 666412329}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4442,12 +4627,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1449561975}
- - 222: {fileID: 1449561978}
- - 114: {fileID: 1449561977}
- - 114: {fileID: 1449561976}
+ - component: {fileID: 1449561975}
+ - component: {fileID: 1449561978}
+ - component: {fileID: 1449561977}
+ - component: {fileID: 1449561976}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -4464,10 +4649,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 321008078}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -4531,12 +4716,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1487808224}
- - 222: {fileID: 1487808226}
- - 114: {fileID: 1487808225}
- - 114: {fileID: 1487808227}
+ - component: {fileID: 1487808224}
+ - component: {fileID: 1487808226}
+ - component: {fileID: 1487808225}
+ - component: {fileID: 1487808227}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -4553,10 +4738,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1412835668}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 2}
@@ -4615,36 +4800,242 @@ MonoBehaviour:
m_EffectColor: {r: 0, g: 0, b: 0, a: 0.297}
m_EffectDistance: {x: 1, y: -1}
m_UseGraphicAlpha: 1
---- !u!1 &1608867049
+--- !u!1 &1562323887
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1608867050}
- - 222: {fileID: 1608867052}
- - 114: {fileID: 1608867051}
+ - component: {fileID: 1562323888}
+ - component: {fileID: 1562323890}
+ - component: {fileID: 1562323889}
m_Layer: 5
- m_Name: Image
+ m_Name: Description
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!224 &1608867050
+--- !u!224 &1562323888
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1608867049}
+ m_GameObject: {fileID: 1562323887}
+ 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: 1920151151}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 15.699997, y: -4.8999996}
+ m_SizeDelta: {x: -131.9, y: -51.2}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1562323889
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1562323887}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 8
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 8
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: Shows how to write a custom gesture.
+--- !u!222 &1562323890
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1562323887}
+--- !u!1 &1567954097
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1567954098}
+ - component: {fileID: 1567954101}
+ - component: {fileID: 1567954100}
+ - component: {fileID: 1567954099}
+ m_Layer: 5
+ m_Name: Button
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1567954098
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1567954097}
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: 1920151151}
+ m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 100, y: -4.9}
+ m_SizeDelta: {x: 36.7, y: 36.6}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1567954099
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1567954097}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.75735295, g: 1, b: 0.769067, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 1567954100}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 1654745588}
+ m_MethodName: LoadLevel
+ m_Mode: 5
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument: Pull
+ m_BoolArgument: 0
+ m_CallState: 2
+ - m_Target: {fileID: 37557110}
+ m_MethodName: ShowHide
+ m_Mode: 1
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+--- !u!114 &1567954100
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1567954097}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 5410db89f39a24e0fa785adf88e19b01, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 1
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1567954101
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1567954097}
+--- !u!1 &1608867049
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1608867050}
+ - component: {fileID: 1608867052}
+ - component: {fileID: 1608867051}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1608867050
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1608867049}
+ 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: 1004776690}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -4688,11 +5079,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1654745587}
- - 114: {fileID: 1654745588}
- - 114: {fileID: 1654745589}
+ - component: {fileID: 1654745587}
+ - component: {fileID: 1654745588}
+ - component: {fileID: 1654745589}
m_Layer: 0
m_Name: Examples
m_TagString: Untagged
@@ -4709,12 +5100,12 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 174295523}
- {fileID: 2032927211}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1654745588
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -4738,7 +5129,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: ScreenSpace UI Layer
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 0
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -4752,13 +5145,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1778454010}
- - 222: {fileID: 1778454014}
- - 114: {fileID: 1778454013}
- - 114: {fileID: 1778454012}
- - 114: {fileID: 1778454011}
+ - component: {fileID: 1778454010}
+ - component: {fileID: 1778454014}
+ - component: {fileID: 1778454013}
+ - component: {fileID: 1778454012}
+ - component: {fileID: 1778454011}
m_Layer: 5
m_Name: Next
m_TagString: Untagged
@@ -4775,11 +5168,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1173809306}
m_Father: {fileID: 666412329}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4893,12 +5286,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1784197137}
- - 222: {fileID: 1784197140}
- - 114: {fileID: 1784197139}
- - 114: {fileID: 1784197138}
+ - component: {fileID: 1784197137}
+ - component: {fileID: 1784197140}
+ - component: {fileID: 1784197139}
+ - component: {fileID: 1784197138}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -4915,10 +5308,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 96104532}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -2}
@@ -4982,12 +5375,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1800191864}
- - 222: {fileID: 1800191867}
- - 114: {fileID: 1800191866}
- - 114: {fileID: 1800191865}
+ - component: {fileID: 1800191864}
+ - component: {fileID: 1800191867}
+ - component: {fileID: 1800191866}
+ - component: {fileID: 1800191865}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -5004,10 +5397,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 574950114}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -5071,12 +5464,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1894139120}
- - 222: {fileID: 1894139123}
- - 114: {fileID: 1894139122}
- - 114: {fileID: 1894139121}
+ - component: {fileID: 1894139120}
+ - component: {fileID: 1894139123}
+ - component: {fileID: 1894139122}
+ - component: {fileID: 1894139121}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -5093,10 +5486,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 321008078}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -5198,17 +5591,108 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1894139119}
+--- !u!1 &1920151150
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1920151151}
+ - component: {fileID: 1920151154}
+ - component: {fileID: 1920151153}
+ - component: {fileID: 1920151152}
+ m_Layer: 5
+ m_Name: Pull
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1920151151
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1920151150}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0.99999774, y: 0.99999774, z: 0.99999774}
+ m_Children:
+ - {fileID: 812982525}
+ - {fileID: 1562323888}
+ - {fileID: 1567954098}
+ - {fileID: 1411566801}
+ m_Father: {fileID: 2098255038}
+ m_RootOrder: 9
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1920151152
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1920151150}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: 80
+ m_PreferredWidth: -1
+ m_PreferredHeight: 80
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &1920151153
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1920151150}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: b8fce26041bc947319fee43a8ec9bb5d, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1920151154
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1920151150}
--- !u!1 &1924054933
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1924054934}
- - 222: {fileID: 1924054937}
- - 114: {fileID: 1924054936}
- - 114: {fileID: 1924054935}
+ - component: {fileID: 1924054934}
+ - component: {fileID: 1924054937}
+ - component: {fileID: 1924054936}
+ - component: {fileID: 1924054935}
m_Layer: 5
m_Name: Examples
m_TagString: Untagged
@@ -5225,10 +5709,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 700544019}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -0.000024319, y: 7.9}
@@ -5292,11 +5776,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1987127154}
- - 222: {fileID: 1987127156}
- - 114: {fileID: 1987127155}
+ - component: {fileID: 1987127154}
+ - component: {fileID: 1987127156}
+ - component: {fileID: 1987127155}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -5313,10 +5797,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 758236082}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -5360,12 +5844,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2001542684}
- - 222: {fileID: 2001542687}
- - 114: {fileID: 2001542686}
- - 114: {fileID: 2001542685}
+ - component: {fileID: 2001542684}
+ - component: {fileID: 2001542687}
+ - component: {fileID: 2001542686}
+ - component: {fileID: 2001542685}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -5382,10 +5866,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 601448587}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 100, y: -4.9}
@@ -5492,12 +5976,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2008717908}
- - 222: {fileID: 2008717911}
- - 114: {fileID: 2008717910}
- - 114: {fileID: 2008717909}
+ - component: {fileID: 2008717908}
+ - component: {fileID: 2008717911}
+ - component: {fileID: 2008717910}
+ - component: {fileID: 2008717909}
m_Layer: 5
m_Name: Title
m_TagString: Untagged
@@ -5514,10 +5998,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1004776690}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 33.699997, y: 21.6}
@@ -5581,12 +6065,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2032927211}
- - 223: {fileID: 2032927214}
- - 114: {fileID: 2032927213}
- - 114: {fileID: 2032927212}
+ - component: {fileID: 2032927211}
+ - component: {fileID: 2032927214}
+ - component: {fileID: 2032927213}
+ - component: {fileID: 2032927212}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -5603,12 +6087,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 666412329}
- {fileID: 37557109}
m_Father: {fileID: 1654745587}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5658,7 +6142,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2032927210}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -5667,6 +6151,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -5675,11 +6160,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2073758707}
- - 222: {fileID: 2073758709}
- - 114: {fileID: 2073758708}
+ - component: {fileID: 2073758707}
+ - component: {fileID: 2073758709}
+ - component: {fileID: 2073758708}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -5696,10 +6181,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 601448587}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -5743,12 +6228,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2076713667}
- - 222: {fileID: 2076713670}
- - 114: {fileID: 2076713669}
- - 114: {fileID: 2076713668}
+ - component: {fileID: 2076713667}
+ - component: {fileID: 2076713670}
+ - component: {fileID: 2076713669}
+ - component: {fileID: 2076713668}
m_Layer: 5
m_Name: Photos
m_TagString: Untagged
@@ -5765,7 +6250,6 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 801696179}
- {fileID: 1168732683}
@@ -5773,6 +6257,7 @@ RectTransform:
- {fileID: 558528359}
m_Father: {fileID: 2098255038}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5834,11 +6319,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2088901649}
- - 222: {fileID: 2088901651}
- - 114: {fileID: 2088901650}
+ - component: {fileID: 2088901649}
+ - component: {fileID: 2088901651}
+ - component: {fileID: 2088901650}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -5855,10 +6340,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 621592926}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -86.3, y: 3.8}
@@ -5902,10 +6387,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2098255038}
- - 114: {fileID: 2098255039}
+ - component: {fileID: 2098255038}
+ - component: {fileID: 2098255039}
m_Layer: 5
m_Name: Content
m_TagString: Untagged
@@ -5922,23 +6407,24 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
+ - {fileID: 601448587}
- {fileID: 574950114}
- {fileID: 870787322}
- - {fileID: 758236082}
- {fileID: 2076713667}
- - {fileID: 1004776690}
- - {fileID: 621592926}
+ - {fileID: 758236082}
- {fileID: 321008078}
- {fileID: 1037999862}
- - {fileID: 601448587}
+ - {fileID: 621592926}
+ - {fileID: 1004776690}
+ - {fileID: 1920151151}
m_Father: {fileID: 606054179}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 734}
+ m_SizeDelta: {x: 0, y: 815}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2098255039
MonoBehaviour:
@@ -5960,3 +6446,5 @@ MonoBehaviour:
m_Spacing: 2
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
diff --git a/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity b/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity
index be61f342d..a208c35ad 100644
--- a/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity
+++ b/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity
@@ -728,7 +728,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a878a6ff128243dfb1d89ca0273f059, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -737,8 +743,15 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTap:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
numberOfTapsRequired: 1
timeLimit: Infinity
distanceLimit: Infinity
@@ -939,7 +952,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a878a6ff128243dfb1d89ca0273f059, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -948,8 +967,15 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTap:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
numberOfTapsRequired: 1
timeLimit: Infinity
distanceLimit: Infinity
@@ -1074,37 +1100,9 @@ Prefab:
propertyPath: layers.Array.data[4]
value:
objectReference: {fileID: 2041906757}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
---- !u!1 &543251037 stripped
-GameObject:
- m_PrefabParentObject: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- m_PrefabInternal: {fileID: 543251036}
---- !u!114 &543251038
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 543251037}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e276ccba4f7314d9988af19f9b3a611b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- advancedProps: 0
- windows8API: 0
- windows7API: 0
- webPlayerTouch: 1
- webGLTouch: 1
- windows8Mouse: 1
- windows7Mouse: 1
- universalWindowsMouse: 1
- emulateSecondMousePointer: 1
--- !u!1001 &583512110
Prefab:
m_ObjectHideFlags: 0
@@ -1394,7 +1392,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -1403,11 +1407,29 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 1
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 0
projectionPlaneNormal: {x: 0, y: 0, z: 1}
--- !u!4 &739470077 stripped
@@ -1670,6 +1692,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
Name: Right 3D Camera
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -2000,7 +2023,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a878a6ff128243dfb1d89ca0273f059, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -2009,8 +2038,15 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTap:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
numberOfTapsRequired: 1
timeLimit: Infinity
distanceLimit: Infinity
@@ -2160,7 +2196,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 38e07bff8743d4ee38bf724a7a2b4cbb, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -2169,10 +2211,28 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 2
screenTransformThreshold: 0.05
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &1164346784
@@ -2632,7 +2692,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 38e07bff8743d4ee38bf724a7a2b4cbb, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -2641,10 +2707,28 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 2
screenTransformThreshold: 0.05
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &1388179444
@@ -2837,6 +2921,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
Name: 2D Camera
advancedProps: 0
+ hitProps: 0
hit3DObjects: 0
hit2DObjects: 1
hitWorldSpaceUI: 0
@@ -3557,6 +3642,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
Name: Left 3D Camera
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -3643,7 +3729,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
@@ -3652,11 +3744,29 @@ MonoBehaviour:
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 1
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 0
projectionPlaneNormal: {x: 0, y: 0, z: 1}
--- !u!1001 &2057195942
diff --git a/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity.meta b/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity.meta
index 77bd0faba..ec0b25d69 100644
--- a/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Multiuser/Multiuser.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 3b34d0a4b336446dd98f5f9951fe6480
DefaultImporter:
- userData:
+ userData: "9"
diff --git a/Source/Assets/TouchScript/Examples/Multiuser/Scripts/Logo.cs b/Source/Assets/TouchScript/Examples/Multiuser/Scripts/Logo.cs
index 34ccd9468..a7ec42026 100644
--- a/Source/Assets/TouchScript/Examples/Multiuser/Scripts/Logo.cs
+++ b/Source/Assets/TouchScript/Examples/Multiuser/Scripts/Logo.cs
@@ -9,10 +9,10 @@
namespace TouchScript.Examples.Multiuser
{
+ ///
public class Logo : MonoBehaviour
{
- private static Color[] COLORS = new[]
- {Color.yellow, Color.red, Color.magenta, Color.green, Color.cyan, Color.blue};
+ private static Color[] COLORS = new[] {Color.yellow, Color.red, Color.magenta, Color.green, Color.cyan, Color.blue};
private void OnEnable()
{
diff --git a/Source/Assets/TouchScript/Examples/Photos/Photos.unity b/Source/Assets/TouchScript/Examples/Photos/Photos.unity
index 79d8a9d36..98d433d84 100644
--- a/Source/Assets/TouchScript/Examples/Photos/Photos.unity
+++ b/Source/Assets/TouchScript/Examples/Photos/Photos.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,48 +54,70 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &44638783
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 44638786}
- - 222: {fileID: 44638785}
- - 114: {fileID: 44638784}
+ - component: {fileID: 44638786}
+ - component: {fileID: 44638785}
+ - component: {fileID: 44638784}
m_Layer: 0
m_Name: Image
m_TagString: Untagged
@@ -115,7 +138,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -144,10 +167,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 94606778}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -158,14 +181,14 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
@@ -182,10 +205,10 @@ Transform:
m_LocalRotation: {x: -0.2620868, y: 0.3669622, z: -0.108559854, w: -0.88592553}
m_LocalPosition: {x: 5.56, y: 4.82, z: -5.46}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 32.96, y: -45, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 32.96, y: -45, z: 0}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -198,7 +221,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: Main Camera
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 0
hit2DObjects: 0
hitWorldSpaceUI: 1
@@ -258,6 +283,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -267,12 +294,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 94606778}
- - 222: {fileID: 94606781}
- - 114: {fileID: 94606780}
- - 114: {fileID: 94606779}
+ - component: {fileID: 94606778}
+ - component: {fileID: 94606781}
+ - component: {fileID: 94606780}
+ - component: {fileID: 94606779}
m_Layer: 0
m_Name: Add Button
m_TagString: Untagged
@@ -289,12 +316,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 346878481}
- {fileID: 44638786}
m_Father: {fileID: 1301221420}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.6024834, y: 0.31418145}
m_AnchoredPosition: {x: 7, y: 4.5}
@@ -390,11 +417,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 101996207}
- - 222: {fileID: 101996209}
- - 114: {fileID: 101996208}
+ - component: {fileID: 101996207}
+ - component: {fileID: 101996209}
+ - component: {fileID: 101996208}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -411,10 +438,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2107589903}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.8}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -433,7 +460,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -458,11 +485,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 107321542}
- - 222: {fileID: 107321544}
- - 114: {fileID: 107321543}
+ - component: {fileID: 107321542}
+ - component: {fileID: 107321544}
+ - component: {fileID: 107321543}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -479,10 +506,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 411870819}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -501,7 +528,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -526,11 +553,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 142216716}
- - 222: {fileID: 142216718}
- - 114: {fileID: 142216717}
+ - component: {fileID: 142216716}
+ - component: {fileID: 142216718}
+ - component: {fileID: 142216717}
m_Layer: 0
m_Name: Text
m_TagString: Untagged
@@ -547,10 +574,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -59}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1932435999}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 74, y: -57}
@@ -569,7 +596,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -600,12 +627,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 187227222}
- - 222: {fileID: 187227225}
- - 114: {fileID: 187227224}
- - 114: {fileID: 187227223}
+ - component: {fileID: 187227222}
+ - component: {fileID: 187227225}
+ - component: {fileID: 187227224}
+ - component: {fileID: 187227223}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -622,7 +649,6 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 411870819}
- {fileID: 1406281477}
@@ -630,6 +656,7 @@ RectTransform:
- {fileID: 701351979}
m_Father: {fileID: 2107589903}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.8}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0.5}
@@ -655,6 +682,8 @@ MonoBehaviour:
m_Spacing: 4
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!114 &187227224
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -668,7 +697,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -693,12 +722,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 204253028}
- - 223: {fileID: 204253031}
- - 114: {fileID: 204253030}
- - 114: {fileID: 204253029}
+ - component: {fileID: 204253028}
+ - component: {fileID: 204253031}
+ - component: {fileID: 204253030}
+ - component: {fileID: 204253029}
m_Layer: 0
m_Name: Camera Canvas
m_TagString: Untagged
@@ -715,11 +744,11 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1236964526}
m_Father: {fileID: 930800601}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -769,7 +798,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 204253027}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 1
m_Camera: {fileID: 62216957}
m_PlaneDistance: 3
@@ -778,6 +807,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 1
m_TargetDisplay: 0
@@ -786,10 +816,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 231102985}
- - 114: {fileID: 231102986}
+ - component: {fileID: 231102985}
+ - component: {fileID: 231102986}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -806,13 +836,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 620448983}
- {fileID: 1169177132}
- {fileID: 647493035}
m_Father: {fileID: 660229293}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -838,20 +868,22 @@ MonoBehaviour:
m_Spacing: -10
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!1 &238072896
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 238072899}
- - 222: {fileID: 238072898}
- - 114: {fileID: 238072897}
- - 114: {fileID: 238072905}
- - 114: {fileID: 238072901}
- - 114: {fileID: 238072900}
- - 114: {fileID: 238072902}
+ - component: {fileID: 238072899}
+ - component: {fileID: 238072898}
+ - component: {fileID: 238072897}
+ - component: {fileID: 238072905}
+ - component: {fileID: 238072901}
+ - component: {fileID: 238072900}
+ - component: {fileID: 238072902}
m_Layer: 0
m_Name: Image 1
m_TagString: Untagged
@@ -900,12 +932,12 @@ RectTransform:
m_LocalRotation: {x: 0.000000041385746, y: 0.000000010372778, z: 0.17927851, w: 0.9837984}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 20.6555}
m_Children:
- {fileID: 1593048785}
- {fileID: 994844643}
m_Father: {fileID: 1979221409}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 20.6555}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -161, y: 123.99954}
@@ -922,10 +954,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
m_Name:
m_EditorClassIdentifier:
- enableSmoothing: 0
+ enableSmoothing: 1
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &238072901
@@ -939,20 +971,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &238072902
@@ -966,17 +1021,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &238072905
MonoBehaviour:
@@ -995,11 +1062,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 281947296}
- - 222: {fileID: 281947298}
- - 114: {fileID: 281947297}
+ - component: {fileID: 281947296}
+ - component: {fileID: 281947298}
+ - component: {fileID: 281947297}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1016,10 +1083,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 647493035}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1063,11 +1130,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 290456373}
- - 222: {fileID: 290456375}
- - 114: {fileID: 290456374}
+ - component: {fileID: 290456373}
+ - component: {fileID: 290456375}
+ - component: {fileID: 290456374}
m_Layer: 0
m_Name: Image
m_TagString: Untagged
@@ -1084,10 +1151,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 25.4}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1236964526}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 3.855}
@@ -1106,7 +1173,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -1131,11 +1198,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 327443543}
- - 222: {fileID: 327443545}
- - 114: {fileID: 327443544}
+ - component: {fileID: 327443543}
+ - component: {fileID: 327443545}
+ - component: {fileID: 327443544}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1152,10 +1219,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1169177132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1199,11 +1266,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 346878481}
- - 222: {fileID: 346878483}
- - 114: {fileID: 346878482}
+ - component: {fileID: 346878481}
+ - component: {fileID: 346878483}
+ - component: {fileID: 346878482}
m_Layer: 0
m_Name: Text
m_TagString: Untagged
@@ -1220,10 +1287,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 94606778}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.08590757, y: 0.21797578}
m_AnchorMax: {x: 0.91627955, y: 0.79047644}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1242,7 +1309,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -1273,12 +1340,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 411870819}
- - 222: {fileID: 411870818}
- - 114: {fileID: 411870817}
- - 114: {fileID: 411870816}
+ - component: {fileID: 411870819}
+ - component: {fileID: 411870818}
+ - component: {fileID: 411870817}
+ - component: {fileID: 411870816}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -1380,12 +1447,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 107321542}
- {fileID: 2077422342}
m_Father: {fileID: 187227222}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1396,11 +1463,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 418595745}
- - 223: {fileID: 418595748}
- - 114: {fileID: 418595747}
+ - component: {fileID: 418595745}
+ - component: {fileID: 418595748}
+ - component: {fileID: 418595747}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -1417,12 +1484,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 660229293}
- {fileID: 1414219394}
m_Father: {fileID: 0}
- m_RootOrder: 4
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1456,7 +1523,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 418595744}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -1465,6 +1532,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -1473,15 +1541,15 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 449324827}
- - 222: {fileID: 449324833}
- - 114: {fileID: 449324832}
- - 114: {fileID: 449324828}
- - 114: {fileID: 449324831}
- - 114: {fileID: 449324830}
- - 114: {fileID: 449324829}
+ - component: {fileID: 449324827}
+ - component: {fileID: 449324833}
+ - component: {fileID: 449324832}
+ - component: {fileID: 449324828}
+ - component: {fileID: 449324831}
+ - component: {fileID: 449324830}
+ - component: {fileID: 449324829}
m_Layer: 0
m_Name: Image 6
m_TagString: Untagged
@@ -1498,12 +1566,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0.24805124, w: 0.96874696}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1674922492}
- {fileID: 1402680836}
m_Father: {fileID: 1979221409}
m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 250, y: 69}
@@ -1532,17 +1600,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &449324830
MonoBehaviour:
@@ -1558,7 +1638,7 @@ MonoBehaviour:
enableSmoothing: 0
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &449324831
@@ -1572,20 +1652,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &449324832
@@ -1625,11 +1728,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 494057711}
- - 222: {fileID: 494057713}
- - 114: {fileID: 494057712}
+ - component: {fileID: 494057711}
+ - component: {fileID: 494057713}
+ - component: {fileID: 494057712}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1646,10 +1749,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 620448983}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1693,15 +1796,15 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 536919388}
- - 222: {fileID: 536919394}
- - 114: {fileID: 536919393}
- - 114: {fileID: 536919389}
- - 114: {fileID: 536919392}
- - 114: {fileID: 536919391}
- - 114: {fileID: 536919390}
+ - component: {fileID: 536919388}
+ - component: {fileID: 536919394}
+ - component: {fileID: 536919393}
+ - component: {fileID: 536919389}
+ - component: {fileID: 536919392}
+ - component: {fileID: 536919391}
+ - component: {fileID: 536919390}
m_Layer: 0
m_Name: Image 4
m_TagString: Untagged
@@ -1718,12 +1821,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0.24805124, w: 0.96874696}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 28.7244}
m_Children:
- {fileID: 1065855870}
- {fileID: 1772489001}
m_Father: {fileID: 1979221409}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 28.7244}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 223, y: 293}
@@ -1752,17 +1855,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &536919391
MonoBehaviour:
@@ -1778,7 +1893,7 @@ MonoBehaviour:
enableSmoothing: 0
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &536919392
@@ -1792,20 +1907,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &536919393
@@ -1879,22 +2017,14 @@ Prefab:
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[1]
- value:
- objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[2]
- value:
- objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
@@ -1903,12 +2033,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 551049735}
- - 222: {fileID: 551049738}
- - 114: {fileID: 551049737}
- - 114: {fileID: 551049736}
+ - component: {fileID: 551049735}
+ - component: {fileID: 551049738}
+ - component: {fileID: 551049737}
+ - component: {fileID: 551049736}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1925,10 +2055,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 647493035}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1994,11 +2124,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 581803647}
- - 222: {fileID: 581803649}
- - 114: {fileID: 581803648}
+ - component: {fileID: 581803647}
+ - component: {fileID: 581803649}
+ - component: {fileID: 581803648}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -2015,10 +2145,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 886654112}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2037,7 +2167,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -2062,11 +2192,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 585113474}
- - 222: {fileID: 585113476}
- - 114: {fileID: 585113475}
+ - component: {fileID: 585113474}
+ - component: {fileID: 585113476}
+ - component: {fileID: 585113475}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -2083,10 +2213,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 701351979}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2105,7 +2235,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -2130,10 +2260,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 620448983}
- - 114: {fileID: 620448984}
+ - component: {fileID: 620448983}
+ - component: {fileID: 620448984}
m_Layer: 5
m_Name: Move
m_TagString: Untagged
@@ -2150,12 +2280,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 494057711}
- {fileID: 899875349}
m_Father: {fileID: 231102985}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2184,11 +2314,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 634725412}
- - 222: {fileID: 634725414}
- - 114: {fileID: 634725413}
+ - component: {fileID: 634725412}
+ - component: {fileID: 634725414}
+ - component: {fileID: 634725413}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -2205,10 +2335,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1485721903}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2227,7 +2357,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -2252,10 +2382,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 647493035}
- - 114: {fileID: 647493036}
+ - component: {fileID: 647493035}
+ - component: {fileID: 647493036}
m_Layer: 5
m_Name: Color
m_TagString: Untagged
@@ -2272,12 +2402,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 281947296}
- {fileID: 551049735}
m_Father: {fileID: 231102985}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2306,11 +2436,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 651643064}
- - 114: {fileID: 651643063}
- - 114: {fileID: 651643061}
+ - component: {fileID: 651643064}
+ - component: {fileID: 651643063}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -2318,23 +2447,6 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!114 &651643061
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 651643060}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 803d2abe167ae40a0957010be5cfb7d1, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- HorizontalAxis: Horizontal
- VerticalAxis: Vertical
- SubmitButton: Submit
- CancelButton: Cancel
- InputActionsPerSecond: 10
- RepeatDelay: 0.5
--- !u!114 &651643063
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -2358,18 +2470,18 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 3
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &660229292
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 660229293}
+ - component: {fileID: 660229293}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -2386,11 +2498,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 231102985}
m_Father: {fileID: 418595745}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -2401,11 +2513,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 663465965}
- - 222: {fileID: 663465967}
- - 114: {fileID: 663465966}
+ - component: {fileID: 663465965}
+ - component: {fileID: 663465967}
+ - component: {fileID: 663465966}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -2422,10 +2534,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1979821161}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2444,7 +2556,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -2469,11 +2581,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 689392537}
- - 222: {fileID: 689392539}
- - 114: {fileID: 689392538}
+ - component: {fileID: 689392537}
+ - component: {fileID: 689392539}
+ - component: {fileID: 689392538}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -2490,10 +2602,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1406281477}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2512,7 +2624,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -2537,12 +2649,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 701351979}
- - 222: {fileID: 701351983}
- - 114: {fileID: 701351982}
- - 114: {fileID: 701351981}
+ - component: {fileID: 701351979}
+ - component: {fileID: 701351983}
+ - component: {fileID: 701351982}
+ - component: {fileID: 701351981}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -2559,12 +2671,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 585113474}
- {fileID: 1615394527}
m_Father: {fileID: 187227222}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -2660,15 +2772,15 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 886654112}
- - 222: {fileID: 886654118}
- - 114: {fileID: 886654117}
- - 114: {fileID: 886654120}
- - 114: {fileID: 886654115}
- - 114: {fileID: 886654114}
- - 114: {fileID: 886654113}
+ - component: {fileID: 886654112}
+ - component: {fileID: 886654118}
+ - component: {fileID: 886654117}
+ - component: {fileID: 886654120}
+ - component: {fileID: 886654115}
+ - component: {fileID: 886654114}
+ - component: {fileID: 886654113}
m_Layer: 0
m_Name: Image 2
m_TagString: Untagged
@@ -2685,12 +2797,12 @@ RectTransform:
m_LocalRotation: {x: 0.00000003982022, y: 0.000000006836789, z: 0.24805123, w: 0.96874696}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 581803647}
- {fileID: 1423800608}
m_Father: {fileID: 1979221409}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 218, y: -143.99887}
@@ -2707,17 +2819,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &886654114
MonoBehaviour:
@@ -2730,10 +2854,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
m_Name:
m_EditorClassIdentifier:
- enableSmoothing: 0
+ enableSmoothing: 1
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &886654115
@@ -2747,20 +2871,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &886654117
@@ -2812,10 +2959,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 894414302}
- - 20: {fileID: 894414306}
+ - component: {fileID: 894414302}
+ - component: {fileID: 894414306}
m_Layer: 0
m_Name: Camera
m_TagString: Untagged
@@ -2832,10 +2979,10 @@ Transform:
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071067}
m_LocalPosition: {x: 0, y: 9.32, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1292123036}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!20 &894414306
Camera:
m_ObjectHideFlags: 0
@@ -2866,6 +3013,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -2875,12 +3024,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 899875349}
- - 222: {fileID: 899875352}
- - 114: {fileID: 899875351}
- - 114: {fileID: 899875350}
+ - component: {fileID: 899875349}
+ - component: {fileID: 899875352}
+ - component: {fileID: 899875351}
+ - component: {fileID: 899875350}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -2897,10 +3046,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 620448983}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -2964,9 +3113,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
+ - component: {fileID: 930800601}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -2983,7 +3132,6 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1292123036}
- {fileID: 2135305920}
@@ -2992,16 +3140,17 @@ Transform:
- {fileID: 2107589903}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &982847339
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 982847340}
- - 222: {fileID: 982847342}
- - 114: {fileID: 982847341}
+ - component: {fileID: 982847340}
+ - component: {fileID: 982847342}
+ - component: {fileID: 982847341}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -3018,10 +3167,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1101956163}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3040,7 +3189,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3065,12 +3214,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 994844643}
- - 222: {fileID: 994844647}
- - 114: {fileID: 994844646}
- - 114: {fileID: 994844645}
+ - component: {fileID: 994844643}
+ - component: {fileID: 994844647}
+ - component: {fileID: 994844646}
+ - component: {fileID: 994844645}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -3087,10 +3236,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 238072899}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -3186,11 +3335,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1027187498}
- - 222: {fileID: 1027187500}
- - 114: {fileID: 1027187499}
+ - component: {fileID: 1027187498}
+ - component: {fileID: 1027187500}
+ - component: {fileID: 1027187499}
m_Layer: 0
m_Name: Text
m_TagString: Untagged
@@ -3207,13 +3356,13 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0.000027779}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1236964526}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.30900002, y: 0}
m_AnchorMax: {x: 1, y: 0}
- m_AnchoredPosition: {x: -0.13402, y: -21.1}
+ m_AnchoredPosition: {x: -0.13401794, y: -21.09999}
m_SizeDelta: {x: -0.26796, y: 29.8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1027187499
@@ -3229,7 +3378,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3260,11 +3409,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1056464759}
- - 222: {fileID: 1056464761}
- - 114: {fileID: 1056464760}
+ - component: {fileID: 1056464759}
+ - component: {fileID: 1056464761}
+ - component: {fileID: 1056464760}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -3281,13 +3430,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2107589903}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.69750005, y: 0.69600004}
m_AnchorMax: {x: 1, y: 0.8}
- m_AnchoredPosition: {x: 1.1, y: -6}
+ m_AnchoredPosition: {x: 1.1000061, y: -6}
m_SizeDelta: {x: -30.2, y: -12}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1056464760
@@ -3303,7 +3452,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3334,11 +3483,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1065855870}
- - 222: {fileID: 1065855872}
- - 114: {fileID: 1065855871}
+ - component: {fileID: 1065855870}
+ - component: {fileID: 1065855872}
+ - component: {fileID: 1065855871}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -3355,10 +3504,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 536919388}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3377,7 +3526,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3402,12 +3551,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1101956163}
- - 222: {fileID: 1101956167}
- - 114: {fileID: 1101956166}
- - 114: {fileID: 1101956165}
+ - component: {fileID: 1101956163}
+ - component: {fileID: 1101956167}
+ - component: {fileID: 1101956166}
+ - component: {fileID: 1101956165}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -3424,12 +3573,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 982847340}
- {fileID: 1820795547}
m_Father: {fileID: 187227222}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3525,10 +3674,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1169177132}
- - 114: {fileID: 1169177133}
+ - component: {fileID: 1169177132}
+ - component: {fileID: 1169177133}
m_Layer: 5
m_Name: Add
m_TagString: Untagged
@@ -3545,12 +3694,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 327443543}
- {fileID: 1430826382}
m_Father: {fileID: 231102985}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3579,11 +3728,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1236964526}
- - 222: {fileID: 1236964528}
- - 114: {fileID: 1236964527}
+ - component: {fileID: 1236964526}
+ - component: {fileID: 1236964528}
+ - component: {fileID: 1236964527}
m_Layer: 0
m_Name: Panel
m_TagString: Untagged
@@ -3600,7 +3749,6 @@ RectTransform:
m_LocalRotation: {x: 0.040250417, y: 0.38025388, z: -0.00021144397, w: 0.9240059}
m_LocalPosition: {x: 0, y: 0, z: -12}
m_LocalScale: {x: 0.6, y: 0.6, z: 0.6}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1027187498}
- {fileID: 290456373}
@@ -3608,6 +3756,7 @@ RectTransform:
- {fileID: 1301221420}
m_Father: {fileID: 204253028}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.62780094, y: 0}
m_AnchorMax: {x: 1, y: 0.6333225}
m_AnchoredPosition: {x: -8, y: -10}
@@ -3626,7 +3775,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3651,11 +3800,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1276931409}
- - 222: {fileID: 1276931411}
- - 114: {fileID: 1276931410}
+ - component: {fileID: 1276931409}
+ - component: {fileID: 1276931411}
+ - component: {fileID: 1276931410}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -3672,10 +3821,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1406281477}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3694,7 +3843,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3725,12 +3874,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1292123036}
- - 33: {fileID: 1292123039}
- - 64: {fileID: 1292123038}
- - 23: {fileID: 1292123037}
+ - component: {fileID: 1292123036}
+ - component: {fileID: 1292123039}
+ - component: {fileID: 1292123038}
+ - component: {fileID: 1292123037}
m_Layer: 0
m_Name: World Space Plane
m_TagString: Untagged
@@ -3747,12 +3896,12 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1932435999}
- {fileID: 894414302}
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &1292123037
MeshRenderer:
m_ObjectHideFlags: 0
@@ -3762,22 +3911,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!64 &1292123038
MeshCollider:
@@ -3790,6 +3945,8 @@ MeshCollider:
m_Enabled: 1
serializedVersion: 2
m_Convex: 0
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!33 &1292123039
MeshFilter:
@@ -3803,11 +3960,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1301221420}
- - 222: {fileID: 1301221422}
- - 114: {fileID: 1301221421}
+ - component: {fileID: 1301221420}
+ - component: {fileID: 1301221422}
+ - component: {fileID: 1301221421}
m_Layer: 0
m_Name: Panel
m_TagString: Untagged
@@ -3824,11 +3981,11 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0.000007119311}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 94606778}
m_Father: {fileID: 1236964526}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -3847,7 +4004,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -3872,12 +4029,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1402680836}
- - 222: {fileID: 1402680840}
- - 114: {fileID: 1402680839}
- - 114: {fileID: 1402680838}
+ - component: {fileID: 1402680836}
+ - component: {fileID: 1402680840}
+ - component: {fileID: 1402680839}
+ - component: {fileID: 1402680838}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -3894,10 +4051,10 @@ RectTransform:
m_LocalRotation: {x: 0.0000006631017, y: -0.00000014901161, z: -0.07035693, w: 0.9975219}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 449324827}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -3993,12 +4150,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1406281477}
- - 222: {fileID: 1406281481}
- - 114: {fileID: 1406281480}
- - 114: {fileID: 1406281479}
+ - component: {fileID: 1406281477}
+ - component: {fileID: 1406281481}
+ - component: {fileID: 1406281480}
+ - component: {fileID: 1406281479}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
@@ -4015,12 +4172,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 689392537}
- {fileID: 1276931409}
m_Father: {fileID: 187227222}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4116,12 +4273,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1414219394}
- - 222: {fileID: 1414219393}
- - 114: {fileID: 1414219392}
- - 114: {fileID: 1414219391}
+ - component: {fileID: 1414219394}
+ - component: {fileID: 1414219393}
+ - component: {fileID: 1414219392}
+ - component: {fileID: 1414219391}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -4192,13 +4349,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 418595745}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 156, y: 48.3}
+ m_AnchoredPosition: {x: 156, y: 48.300003}
m_SizeDelta: {x: 276, y: 68.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1423800607
@@ -4206,12 +4363,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1423800608}
- - 222: {fileID: 1423800612}
- - 114: {fileID: 1423800611}
- - 114: {fileID: 1423800610}
+ - component: {fileID: 1423800608}
+ - component: {fileID: 1423800612}
+ - component: {fileID: 1423800611}
+ - component: {fileID: 1423800610}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -4228,10 +4385,10 @@ RectTransform:
m_LocalRotation: {x: 0.0000006631017, y: -0.00000014901161, z: -0.07035693, w: 0.9975219}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 886654112}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -4327,12 +4484,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1430826382}
- - 222: {fileID: 1430826385}
- - 114: {fileID: 1430826384}
- - 114: {fileID: 1430826383}
+ - component: {fileID: 1430826382}
+ - component: {fileID: 1430826385}
+ - component: {fileID: 1430826384}
+ - component: {fileID: 1430826383}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -4349,10 +4506,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1169177132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -4418,11 +4575,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1477172502}
- - 222: {fileID: 1477172504}
- - 114: {fileID: 1477172503}
+ - component: {fileID: 1477172502}
+ - component: {fileID: 1477172504}
+ - component: {fileID: 1477172503}
m_Layer: 0
m_Name: RawImage
m_TagString: Untagged
@@ -4439,10 +4596,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1.0000001, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1236964526}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.000019073486, y: 0.00004196167}
@@ -4461,7 +4618,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -4485,15 +4642,15 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1485721903}
- - 222: {fileID: 1485721909}
- - 114: {fileID: 1485721908}
- - 114: {fileID: 1485721907}
- - 114: {fileID: 1485721906}
- - 114: {fileID: 1485721905}
- - 114: {fileID: 1485721904}
+ - component: {fileID: 1485721903}
+ - component: {fileID: 1485721909}
+ - component: {fileID: 1485721908}
+ - component: {fileID: 1485721907}
+ - component: {fileID: 1485721906}
+ - component: {fileID: 1485721905}
+ - component: {fileID: 1485721904}
m_Layer: 0
m_Name: Image 5
m_TagString: Untagged
@@ -4510,12 +4667,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0.24805124, w: 0.96874696}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 634725412}
- {fileID: 2041974587}
m_Father: {fileID: 1979221409}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 4, y: 14}
@@ -4532,17 +4689,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &1485721905
MonoBehaviour:
@@ -4558,7 +4727,7 @@ MonoBehaviour:
enableSmoothing: 0
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &1485721906
@@ -4572,20 +4741,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &1485721907
@@ -4637,11 +4829,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1593048785}
- - 222: {fileID: 1593048787}
- - 114: {fileID: 1593048786}
+ - component: {fileID: 1593048785}
+ - component: {fileID: 1593048787}
+ - component: {fileID: 1593048786}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -4658,10 +4850,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 238072899}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4680,7 +4872,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -4705,11 +4897,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1615394527}
- - 222: {fileID: 1615394529}
- - 114: {fileID: 1615394528}
+ - component: {fileID: 1615394527}
+ - component: {fileID: 1615394529}
+ - component: {fileID: 1615394528}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -4726,10 +4918,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 701351979}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4748,7 +4940,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -4779,11 +4971,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1674922492}
- - 222: {fileID: 1674922494}
- - 114: {fileID: 1674922493}
+ - component: {fileID: 1674922492}
+ - component: {fileID: 1674922494}
+ - component: {fileID: 1674922493}
m_Layer: 0
m_Name: Border
m_TagString: Untagged
@@ -4800,10 +4992,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 449324827}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -4822,7 +5014,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -4857,12 +5049,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1772489001}
- - 222: {fileID: 1772489005}
- - 114: {fileID: 1772489004}
- - 114: {fileID: 1772489003}
+ - component: {fileID: 1772489001}
+ - component: {fileID: 1772489005}
+ - component: {fileID: 1772489004}
+ - component: {fileID: 1772489003}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -4879,10 +5071,10 @@ RectTransform:
m_LocalRotation: {x: 0.0000006631017, y: -0.00000014901161, z: -0.07035693, w: 0.9975219}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 536919388}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -4978,11 +5170,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1820795547}
- - 222: {fileID: 1820795549}
- - 114: {fileID: 1820795548}
+ - component: {fileID: 1820795547}
+ - component: {fileID: 1820795549}
+ - component: {fileID: 1820795548}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -4999,10 +5191,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1101956163}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5021,7 +5213,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -5052,12 +5244,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1932435999}
- - 223: {fileID: 1932436002}
- - 114: {fileID: 1932436001}
- - 114: {fileID: 1932436000}
+ - component: {fileID: 1932435999}
+ - component: {fileID: 1932436002}
+ - component: {fileID: 1932436001}
+ - component: {fileID: 1932436000}
m_Layer: 0
m_Name: World Space Canvas
m_TagString: Untagged
@@ -5074,13 +5266,13 @@ RectTransform:
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071067}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.01, y: 0.01, z: 0.01}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2015117398}
- {fileID: 1979221409}
- {fileID: 142216716}
m_Father: {fileID: 1292123036}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0.01001}
@@ -5130,7 +5322,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1932435998}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 2
m_Camera: {fileID: 62216957}
m_PlaneDistance: 100
@@ -5139,6 +5331,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -5147,13 +5340,13 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1979221409}
- - 222: {fileID: 1979221411}
- - 114: {fileID: 1979221410}
- - 114: {fileID: 1979221412}
- - 114: {fileID: 1979221413}
+ - component: {fileID: 1979221409}
+ - component: {fileID: 1979221411}
+ - component: {fileID: 1979221410}
+ - component: {fileID: 1979221412}
+ - component: {fileID: 1979221413}
m_Layer: 0
m_Name: Field
m_TagString: Untagged
@@ -5170,7 +5363,6 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -25}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 238072899}
- {fileID: 886654112}
@@ -5180,6 +5372,7 @@ RectTransform:
- {fileID: 449324827}
m_Father: {fileID: 1932435999}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.000002682209}
@@ -5198,7 +5391,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -5252,15 +5445,15 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1979821161}
- - 222: {fileID: 1979821167}
- - 114: {fileID: 1979821166}
- - 114: {fileID: 1979821165}
- - 114: {fileID: 1979821164}
- - 114: {fileID: 1979821163}
- - 114: {fileID: 1979821162}
+ - component: {fileID: 1979821161}
+ - component: {fileID: 1979821167}
+ - component: {fileID: 1979821166}
+ - component: {fileID: 1979821165}
+ - component: {fileID: 1979821164}
+ - component: {fileID: 1979821163}
+ - component: {fileID: 1979821162}
m_Layer: 0
m_Name: Image 3
m_TagString: Untagged
@@ -5277,12 +5470,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0.24805124, w: 0.96874696}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 663465965}
- {fileID: 2082518918}
m_Father: {fileID: 1979221409}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -141, y: -231}
@@ -5299,17 +5492,29 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
--- !u!114 &1979821163
MonoBehaviour:
@@ -5325,7 +5530,7 @@ MonoBehaviour:
enableSmoothing: 1
smoothingFactor: 0.0001
positionThreshold: 0.0001
- rotationThreshold: 0.01
+ rotationThreshold: 0.1
scaleThreshold: 0.0001
allowChangingFromOutside: 0
--- !u!114 &1979821164
@@ -5339,20 +5544,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
type: 7
screenTransformThreshold: 0.1
minScreenPointsDistance: 0.5
+ projectionProps: 0
projection: 2
projectionPlaneNormal: {x: 0, y: 1, z: 0}
--- !u!114 &1979821165
@@ -5404,11 +5632,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2015117398}
- - 222: {fileID: 2015117400}
- - 114: {fileID: 2015117399}
+ - component: {fileID: 2015117398}
+ - component: {fileID: 2015117400}
+ - component: {fileID: 2015117399}
m_Layer: 0
m_Name: Checkerboard
m_TagString: Untagged
@@ -5425,10 +5653,10 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -25}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1932435999}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5447,7 +5675,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.09411765}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -5472,12 +5700,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2041974587}
- - 222: {fileID: 2041974591}
- - 114: {fileID: 2041974590}
- - 114: {fileID: 2041974589}
+ - component: {fileID: 2041974587}
+ - component: {fileID: 2041974591}
+ - component: {fileID: 2041974590}
+ - component: {fileID: 2041974589}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -5494,10 +5722,10 @@ RectTransform:
m_LocalRotation: {x: 0.0000006631017, y: -0.00000014901161, z: -0.07035693, w: 0.9975219}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1485721903}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -5593,11 +5821,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2077422342}
- - 222: {fileID: 2077422344}
- - 114: {fileID: 2077422343}
+ - component: {fileID: 2077422342}
+ - component: {fileID: 2077422344}
+ - component: {fileID: 2077422343}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -5614,10 +5842,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 411870819}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5636,7 +5864,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
- m_RaycastTarget: 1
+ m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
@@ -5667,12 +5895,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2082518918}
- - 222: {fileID: 2082518922}
- - 114: {fileID: 2082518921}
- - 114: {fileID: 2082518920}
+ - component: {fileID: 2082518918}
+ - component: {fileID: 2082518922}
+ - component: {fileID: 2082518921}
+ - component: {fileID: 2082518920}
m_Layer: 0
m_Name: Close
m_TagString: Untagged
@@ -5689,10 +5917,10 @@ RectTransform:
m_LocalRotation: {x: 0.0000006631017, y: -0.00000014901161, z: -0.07035693, w: 0.9975219}
m_LocalPosition: {x: 0, y: 0, z: -5}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1979821161}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 18, y: -18}
@@ -5788,12 +6016,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 2107589903}
- - 223: {fileID: 2107589906}
- - 114: {fileID: 2107589905}
- - 114: {fileID: 2107589904}
+ - component: {fileID: 2107589903}
+ - component: {fileID: 2107589906}
+ - component: {fileID: 2107589905}
+ - component: {fileID: 2107589904}
m_Layer: 5
m_Name: ScreenSpace Canvas
m_TagString: Untagged
@@ -5810,13 +6038,13 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 101996207}
- {fileID: 187227222}
- {fileID: 1056464759}
m_Father: {fileID: 930800601}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -5866,7 +6094,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2107589902}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -5875,6 +6103,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -5883,10 +6112,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -5903,10 +6132,10 @@ Transform:
m_LocalRotation: {x: 0.4222682, y: -0.4847204, z: -0.017199006, w: 0.7657936}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -5914,7 +6143,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -5924,6 +6153,7 @@ Light:
m_Shadows:
m_Type: 1
m_Resolution: -1
+ m_CustomResolution: -1
m_Strength: 0.2
m_Bias: 0.05
m_NormalBias: 0.4
@@ -5936,7 +6166,9 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
diff --git a/Source/Assets/TouchScript/Examples/Photos/Photos.unity.meta b/Source/Assets/TouchScript/Examples/Photos/Photos.unity.meta
index 161e2ebac..6499da86b 100644
--- a/Source/Assets/TouchScript/Examples/Photos/Photos.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Photos/Photos.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: e43bdd4f3bf144b74b4726208781dd66
DefaultImporter:
- userData: "3"
+ userData: "4"
diff --git a/Source/Assets/TouchScript/Examples/Photos/Scripts/Container.cs b/Source/Assets/TouchScript/Examples/Photos/Scripts/Container.cs
index 8d394061f..df0c095cc 100644
--- a/Source/Assets/TouchScript/Examples/Photos/Scripts/Container.cs
+++ b/Source/Assets/TouchScript/Examples/Photos/Scripts/Container.cs
@@ -7,6 +7,7 @@
namespace TouchScript.Examples.Photos
{
+ ///
public class Container : MonoBehaviour
{
public int Width = 500;
@@ -19,8 +20,8 @@ public void Add()
clone.transform.SetParent(transform);
clone.transform.localScale = Vector3.one;
clone.transform.localRotation = Quaternion.Euler(0f, 0f, Random.Range(0f, 360f));
- clone.transform.localPosition = new Vector3(Random.Range(-Width/2, Width/2),
- Random.Range(-Height/2, Height/2), toClone.localPosition.z);
+ clone.transform.localPosition = new Vector3(Random.Range(-Width / 2, Width / 2),
+ Random.Range(-Height / 2, Height / 2), toClone.localPosition.z);
initChild(clone.transform);
}
diff --git a/Source/Assets/TouchScript/Examples/Photos/Scripts/SetColor.cs b/Source/Assets/TouchScript/Examples/Photos/Scripts/SetColor.cs
index 950a56604..e37fd5bbe 100644
--- a/Source/Assets/TouchScript/Examples/Photos/Scripts/SetColor.cs
+++ b/Source/Assets/TouchScript/Examples/Photos/Scripts/SetColor.cs
@@ -8,6 +8,7 @@
namespace TouchScript.Examples.UI
{
+ ///
public class SetColor : MonoBehaviour
{
public List Colors;
diff --git a/Source/Assets/TouchScript/Examples/Portal/Portal.unity b/Source/Assets/TouchScript/Examples/Portal/Portal.unity
index e2096f8ba..c07cc2bdb 100644
--- a/Source/Assets/TouchScript/Examples/Portal/Portal.unity
+++ b/Source/Assets/TouchScript/Examples/Portal/Portal.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,51 +54,73 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &62216951
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -114,11 +137,11 @@ Transform:
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071067}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 89.980194, y: 0, z: 0}
m_Children:
- {fileID: 498618157}
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 89.980194, y: 0, z: 0}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -131,11 +154,13 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: Camera
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
- hitScreenSpaceUI: 0
+ hitScreenSpaceUI: 1
layerMask:
serializedVersion: 2
m_Bits: 4294967295
@@ -191,19 +216,89 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
+--- !u!1 &161419863
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 161419864}
+ - component: {fileID: 161419866}
+ - component: {fileID: 161419865}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &161419864
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 161419863}
+ 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: 1005780168}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 31, y: 0}
+ m_SizeDelta: {x: 60, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &161419865
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 161419863}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 26489b03725f747f998c39661c2583b5, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &161419866
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 161419863}
--- !u!1 &250857269
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -231,6 +326,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -240,225 +337,25 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
+ - {fileID: 1005780168}
- {fileID: 1679844150}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
---- !u!1 &481822342
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 481822343}
- - 33: {fileID: 481822346}
- - 23: {fileID: 481822345}
- - 114: {fileID: 481822344}
- - 135: {fileID: 481822347}
- - 114: {fileID: 481822349}
- - 114: {fileID: 481822348}
- - 114: {fileID: 481822351}
- - 114: {fileID: 481822350}
- - 54: {fileID: 481822352}
- m_Layer: 0
- m_Name: Planet
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &481822343
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: -4.3, y: -6.06, z: 0.4}
- m_LocalScale: {x: 5, y: 5, z: 5}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_Children: []
- m_Father: {fileID: 1158035086}
- m_RootOrder: 3
---- !u!114 &481822344
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- Speed: 100
- RotationSpeed: 40
- FallSpeed: 0.01
---- !u!23 &481822345
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_CastShadows: 0
- m_ReceiveShadows: 0
- m_Materials:
- - {fileID: 2100000, guid: 10bd026932ba047dcaca956b30263df6, type: 2}
- m_SubsetIndices:
- m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
- m_ProbeAnchor: {fileID: 0}
- m_ScaleInLightmap: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingOrder: 0
---- !u!33 &481822346
-MeshFilter:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
---- !u!135 &481822347
-SphereCollider:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Radius: 0.5
- m_Center: {x: 0, y: 0.0000009536743, z: -0.00000023841858}
---- !u!114 &481822348
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- enableSmoothing: 0
- smoothingFactor: 0.0001
- positionThreshold: 0.0001
- rotationThreshold: 0.01
- scaleThreshold: 0.0001
- allowChangingFromOutside: 0
---- !u!114 &481822349
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- type: 1
- screenTransformThreshold: 0.1
- minScreenPointsDistance: 0.5
- projection: 1
- projectionPlaneNormal: {x: 0, y: 0, z: 1}
---- !u!114 &481822350
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!114 &481822351
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!54 &481822352
-Rigidbody:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 481822342}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
--- !u!1 &498618156
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 498618157}
+ - component: {fileID: 498618157}
m_Layer: 0
m_Name: Stuff
m_TagString: Untagged
@@ -475,12 +372,12 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2.15, y: 0, z: 10}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1283428183}
- {fileID: 1158035086}
m_Father: {fileID: 62216952}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &543251036
Prefab:
m_ObjectHideFlags: 0
@@ -520,105 +417,281 @@ Prefab:
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
---- !u!1 &740851131
+--- !u!1 &587840591
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 587840592}
+ - component: {fileID: 587840596}
+ - component: {fileID: 587840595}
+ - component: {fileID: 587840594}
+ - component: {fileID: 587840593}
m_Layer: 5
- m_Name: Canvas
+ m_Name: Spawner 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!224 &740851132
+--- !u!224 &587840592
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 740851131}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_GameObject: {fileID: 587840591}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 782750265}
+ m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_Children:
- - {fileID: 1981142013}
- - {fileID: 1552723601}
- m_Father: {fileID: 0}
- m_RootOrder: 3
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0, y: 0}
---- !u!114 &740851134
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 282, y: -120}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &587840593
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 740851131}
+ m_GameObject: {fileID: 587840591}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Script: {fileID: 11500000, guid: 712d87efeee01774088f382a8449caab, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_UiScaleMode: 1
- m_ReferencePixelsPerUnit: 100
- m_ScaleFactor: 1
- m_ReferenceResolution: {x: 640, y: 480}
- m_ScreenMatchMode: 0
- m_MatchWidthOrHeight: 1
- m_PhysicalUnit: 3
- m_FallbackScreenDPI: 96
- m_DefaultSpriteDPI: 96
- m_DynamicPixelsPerUnit: 1
---- !u!223 &740851135
-Canvas:
+ Prefab: {fileID: 4252442136654676, guid: bff70878d8bdbdd409be0cca1fc3cfce, type: 2}
+ Position: {fileID: 699119955}
+--- !u!114 &587840594
+MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 740851131}
+ m_GameObject: {fileID: 587840591}
m_Enabled: 1
- serializedVersion: 2
- m_RenderMode: 0
- m_Camera: {fileID: 0}
- m_PlaneDistance: 100
- m_PixelPerfect: 0
- m_ReceivesEvents: 1
- m_OverrideSorting: 0
- m_OverridePixelPerfect: 0
- m_SortingBucketNormalizedSize: 0
- m_SortingLayerID: 0
- m_SortingOrder: 0
- m_TargetDisplay: 0
---- !u!1 &762219656
-GameObject:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
- m_Component:
- - 4: {fileID: 762219657}
- - 33: {fileID: 762219661}
- - 23: {fileID: 762219659}
- - 114: {fileID: 762219658}
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &587840595
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 587840591}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 533b9df4691d947d9921a0053b5ce231, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &587840596
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 587840591}
+--- !u!1 &699119954
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 699119955}
+ m_Layer: 0
+ m_Name: Planet 2 Position
+ m_TagString: Untagged
+ m_Icon: {fileID: -964228994112308473, guid: 0000000000000000d000000000000000, type: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &699119955
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 699119954}
+ m_LocalRotation: {x: -0.00000005960465, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 9.3, y: -4.8, z: 0.3}
+ m_LocalScale: {x: 5, y: 4.999998, z: 4.999998}
+ m_Children: []
+ m_Father: {fileID: 1158035086}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &718339113
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 718339114}
+ m_Layer: 0
+ m_Name: Planet 4 Position
+ m_TagString: Untagged
+ m_Icon: {fileID: -964228994112308473, guid: 0000000000000000d000000000000000, type: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &718339114
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 718339113}
+ m_LocalRotation: {x: -0.00000005960465, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -12, y: 0.7, z: 0.3}
+ m_LocalScale: {x: 5, y: 4.999998, z: 4.999998}
+ m_Children: []
+ m_Father: {fileID: 1158035086}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &740851131
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
+ m_Layer: 5
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &740851132
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children:
+ - {fileID: 1981142013}
+ - {fileID: 1552723601}
+ m_Father: {fileID: 0}
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!114 &740851134
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_UiScaleMode: 1
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 640, y: 480}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 1
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+--- !u!223 &740851135
+Canvas:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_Enabled: 1
+ serializedVersion: 3
+ m_RenderMode: 0
+ m_Camera: {fileID: 0}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 1
+ m_TargetDisplay: 0
+--- !u!1 &762219656
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 762219657}
+ - component: {fileID: 762219661}
+ - component: {fileID: 762219659}
+ - component: {fileID: 762219658}
m_Layer: 0
m_Name: Quad
m_TagString: Untagged
@@ -635,10 +708,10 @@ Transform:
m_LocalRotation: {x: -0.00000005960465, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.1}
m_LocalScale: {x: 6, y: 6, z: 6}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1283428183}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &762219658
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -660,22 +733,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 2100000, guid: 2105a6ce9f7624161ba30eefc0d839f3, type: 2}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &762219661
MeshFilter:
@@ -684,448 +763,433 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 762219656}
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
---- !u!1 &851559560
+--- !u!1 &782750261
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 851559561}
- - 33: {fileID: 851559563}
- - 23: {fileID: 851559562}
- - 114: {fileID: 851559564}
- - 135: {fileID: 851559567}
- - 114: {fileID: 851559566}
- - 114: {fileID: 851559565}
- - 114: {fileID: 851559569}
- - 114: {fileID: 851559568}
- - 54: {fileID: 851559570}
- m_Layer: 0
- m_Name: Planet
+ - component: {fileID: 782750265}
+ - component: {fileID: 782750264}
+ - component: {fileID: 782750262}
+ - component: {fileID: 782750263}
+ m_Layer: 5
+ m_Name: Game Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!4 &851559561
-Transform:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 7.01, y: -3.64, z: 0.1}
- m_LocalScale: {x: 5, y: 5, z: 5}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_Children: []
- m_Father: {fileID: 1158035086}
- m_RootOrder: 0
---- !u!23 &851559562
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
- m_Enabled: 1
- m_CastShadows: 0
- m_ReceiveShadows: 0
- m_Materials:
- - {fileID: 2100000, guid: 150b901d18f3f45d08b29f50aaec86b9, type: 2}
- m_SubsetIndices:
- m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
- m_ProbeAnchor: {fileID: 0}
- m_ScaleInLightmap: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingOrder: 0
---- !u!33 &851559563
-MeshFilter:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
- m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
---- !u!114 &851559564
+--- !u!114 &782750262
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
+ m_GameObject: {fileID: 782750261}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
+ m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
- Speed: 100
- RotationSpeed: 10
- FallSpeed: 0.01
---- !u!114 &851559565
+ m_IgnoreReversedGraphics: 1
+ m_BlockingObjects: 0
+ m_BlockingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+--- !u!114 &782750263
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
+ m_GameObject: {fileID: 782750261}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
- enableSmoothing: 0
- smoothingFactor: 0.0001
- positionThreshold: 0.0001
- rotationThreshold: 0.01
- scaleThreshold: 0.0001
- allowChangingFromOutside: 0
---- !u!114 &851559566
-MonoBehaviour:
+ m_UiScaleMode: 1
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 640, y: 480}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 1
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+--- !u!223 &782750264
+Canvas:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
+ m_GameObject: {fileID: 782750261}
m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- type: 1
- screenTransformThreshold: 0.1
- minScreenPointsDistance: 0.5
- projection: 1
- projectionPlaneNormal: {x: 0, y: 0, z: 1}
---- !u!135 &851559567
-SphereCollider:
+ serializedVersion: 3
+ m_RenderMode: 0
+ m_Camera: {fileID: 0}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 0
+ m_TargetDisplay: 0
+--- !u!224 &782750265
+RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Radius: 0.5
- m_Center: {x: 0, y: -0.00000047683716, z: -0.00000023841858}
---- !u!114 &851559568
+ m_GameObject: {fileID: 782750261}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children:
+ - {fileID: 965152938}
+ - {fileID: 587840592}
+ - {fileID: 1732869220}
+ - {fileID: 1247142069}
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!1 &854248630
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 854248631}
+ - component: {fileID: 854248634}
+ - component: {fileID: 854248633}
+ - component: {fileID: 854248632}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &854248631
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 854248630}
+ 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: 1005780168}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 193, y: 0}
+ m_SizeDelta: {x: 235, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &854248632
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
+ m_GameObject: {fileID: 854248630}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Script: {fileID: 1573420865, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!114 &851559569
+ m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
+ m_EffectDistance: {x: 1, y: -1}
+ m_UseGraphicAlpha: 1
+--- !u!114 &854248633
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
+ m_GameObject: {fileID: 854248630}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!54 &851559570
-Rigidbody:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: Press a Unity logo to spawn a planet.
+--- !u!222 &854248634
+CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 851559560}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
---- !u!1 &893756805
+ m_GameObject: {fileID: 854248630}
+--- !u!1 &930800600
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 893756806}
- - 33: {fileID: 893756809}
- - 23: {fileID: 893756808}
- - 114: {fileID: 893756807}
- - 135: {fileID: 893756810}
- - 114: {fileID: 893756812}
- - 114: {fileID: 893756811}
- - 114: {fileID: 893756814}
- - 114: {fileID: 893756813}
- - 54: {fileID: 893756815}
+ - component: {fileID: 930800601}
m_Layer: 0
- m_Name: Planet
+ m_Name: Scene
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!4 &893756806
+--- !u!4 &930800601
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 6.24, y: 6.08, z: 0.3}
- m_LocalScale: {x: 5, y: 5, z: 5}
+ m_GameObject: {fileID: 930800600}
+ 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:
+ - {fileID: 2135305920}
+ - {fileID: 62216952}
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_Children: []
- m_Father: {fileID: 1158035086}
- m_RootOrder: 2
---- !u!114 &893756807
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- Speed: 100
- RotationSpeed: 30
- FallSpeed: 0.01
---- !u!23 &893756808
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_Enabled: 1
- m_CastShadows: 0
- m_ReceiveShadows: 0
- m_Materials:
- - {fileID: 2100000, guid: 148079725ce574b75ae65e81f6be1567, type: 2}
- m_SubsetIndices:
- m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
- m_ProbeAnchor: {fileID: 0}
- m_ScaleInLightmap: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingOrder: 0
---- !u!33 &893756809
-MeshFilter:
+--- !u!1 &965152937
+GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
---- !u!135 &893756810
-SphereCollider:
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 965152938}
+ - component: {fileID: 965152942}
+ - component: {fileID: 965152941}
+ - component: {fileID: 965152940}
+ - component: {fileID: 965152939}
+ m_Layer: 5
+ m_Name: Spawner 1
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &965152938
+RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Radius: 0.5
- m_Center: {x: 0, y: -0.00000071525574, z: -0.00000023841858}
---- !u!114 &893756811
+ m_GameObject: {fileID: 965152937}
+ 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: 782750265}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 259, y: 126}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &965152939
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
+ m_GameObject: {fileID: 965152937}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Script: {fileID: 11500000, guid: 712d87efeee01774088f382a8449caab, type: 3}
m_Name:
m_EditorClassIdentifier:
- enableSmoothing: 0
- smoothingFactor: 0.0001
- positionThreshold: 0.0001
- rotationThreshold: 0.01
- scaleThreshold: 0.0001
- allowChangingFromOutside: 0
---- !u!114 &893756812
+ Prefab: {fileID: 4587602474649486, guid: 7c0291284cacbcf4d93907ef9bfae4b9, type: 2}
+ Position: {fileID: 1730821178}
+--- !u!114 &965152940
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
+ m_GameObject: {fileID: 965152937}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
- type: 1
- screenTransformThreshold: 0.1
- minScreenPointsDistance: 0.5
- projection: 1
- projectionPlaneNormal: {x: 0, y: 0, z: 1}
---- !u!114 &893756813
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &965152941
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
+ m_GameObject: {fileID: 965152937}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!114 &893756814
-MonoBehaviour:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 533b9df4691d947d9921a0053b5ce231, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &965152942
+CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!54 &893756815
-Rigidbody:
+ m_GameObject: {fileID: 965152937}
+--- !u!1 &1005780167
+GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 893756805}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
---- !u!1 &930800600
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1005780168}
+ - component: {fileID: 1005780169}
+ m_Layer: 5
+ m_Name: Press
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1005780168
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1005780167}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0.9999968, y: 0.9999968, z: 0.9999968}
+ m_Children:
+ - {fileID: 161419864}
+ - {fileID: 854248631}
+ m_Father: {fileID: 250857271}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1005780169
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1005780167}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: 60
+ m_PreferredWidth: -1
+ m_PreferredHeight: 60
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!1 &1090564253
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
+ - component: {fileID: 1090564254}
m_Layer: 0
- m_Name: Scene
+ m_Name: Planet 3 Position
m_TagString: Untagged
- m_Icon: {fileID: 0}
+ m_Icon: {fileID: -964228994112308473, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!4 &930800601
+--- !u!4 &1090564254
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 930800600}
- 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_Children:
- - {fileID: 2135305920}
- - {fileID: 62216952}
- m_Father: {fileID: 0}
+ m_GameObject: {fileID: 1090564253}
+ m_LocalRotation: {x: -0.00000005960465, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -2, y: -7.3, z: 0.3}
+ m_LocalScale: {x: 5, y: 4.999998, z: 4.999998}
+ m_Children: []
+ m_Father: {fileID: 1158035086}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1138005899
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -1142,10 +1206,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1189,9 +1253,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1158035086}
+ - component: {fileID: 1158035086}
m_Layer: 0
m_Name: Planets
m_TagString: Untagged
@@ -1208,225 +1272,143 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0, z: 1.59}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- - {fileID: 851559561}
- - {fileID: 1166789652}
- - {fileID: 893756806}
- - {fileID: 481822343}
+ - {fileID: 1730821178}
+ - {fileID: 699119955}
+ - {fileID: 1090564254}
+ - {fileID: 718339114}
m_Father: {fileID: 498618157}
m_RootOrder: 1
---- !u!1 &1166789651
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1247142068
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1166789652}
- - 33: {fileID: 1166789655}
- - 23: {fileID: 1166789654}
- - 114: {fileID: 1166789653}
- - 135: {fileID: 1166789656}
- - 114: {fileID: 1166789658}
- - 114: {fileID: 1166789657}
- - 114: {fileID: 1166789660}
- - 114: {fileID: 1166789659}
- - 54: {fileID: 1166789661}
- m_Layer: 0
- m_Name: Planet
+ - component: {fileID: 1247142069}
+ - component: {fileID: 1247142073}
+ - component: {fileID: 1247142072}
+ - component: {fileID: 1247142071}
+ - component: {fileID: 1247142070}
+ m_Layer: 5
+ m_Name: Spawner 4
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!4 &1166789652
-Transform:
+--- !u!224 &1247142069
+RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: -8.32, y: 4.82, z: 0.2}
- m_LocalScale: {x: 5, y: 5, z: 5}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_GameObject: {fileID: 1247142068}
+ 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: 1158035086}
- m_RootOrder: 1
---- !u!114 &1166789653
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- Speed: 100
- RotationSpeed: 20
- FallSpeed: 0.01
---- !u!23 &1166789654
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_Enabled: 1
- m_CastShadows: 0
- m_ReceiveShadows: 0
- m_Materials:
- - {fileID: 2100000, guid: 0ed169bc21381479799fe7ba05d2939b, type: 2}
- m_SubsetIndices:
- m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
- m_ProbeAnchor: {fileID: 0}
- m_ScaleInLightmap: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingOrder: 0
---- !u!33 &1166789655
-MeshFilter:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
---- !u!135 &1166789656
-SphereCollider:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Radius: 0.5
- m_Center: {x: 0, y: -0.00000047683716, z: -0.00000023841858}
---- !u!114 &1166789657
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- enableSmoothing: 0
- smoothingFactor: 0.0001
- positionThreshold: 0.0001
- rotationThreshold: 0.01
- scaleThreshold: 0.0001
- allowChangingFromOutside: 0
---- !u!114 &1166789658
+ m_Father: {fileID: 782750265}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: -251, y: 14}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1247142070
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
+ m_GameObject: {fileID: 1247142068}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Script: {fileID: 11500000, guid: 712d87efeee01774088f382a8449caab, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- type: 1
- screenTransformThreshold: 0.1
- minScreenPointsDistance: 0.5
- projection: 1
- projectionPlaneNormal: {x: 0, y: 0, z: 1}
---- !u!114 &1166789659
+ Prefab: {fileID: 4567459449971028, guid: 4d11e87ec08ce584a818342513bf6616, type: 2}
+ Position: {fileID: 718339114}
+--- !u!114 &1247142071
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
+ m_GameObject: {fileID: 1247142068}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
m_Name:
m_EditorClassIdentifier:
debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
ignoreChildren: 0
---- !u!114 &1166789660
+--- !u!114 &1247142072
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
+ m_GameObject: {fileID: 1247142068}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
- advancedProps: 0
- minPointers: 0
- maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
- useSendMessage: 0
- sendStateChangeMessages: 0
- sendMessageTarget: {fileID: 0}
- requireGestureToFail: {fileID: 0}
- friendlyGestures: []
- ignoreChildren: 0
---- !u!54 &1166789661
-Rigidbody:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 533b9df4691d947d9921a0053b5ce231, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1247142073
+CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 1166789651}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
+ m_GameObject: {fileID: 1247142068}
--- !u!1 &1283428182
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1283428183}
- - 135: {fileID: 1283428184}
- - 114: {fileID: 1283428185}
+ - component: {fileID: 1283428183}
+ - component: {fileID: 1283428184}
+ - component: {fileID: 1283428185}
m_Layer: 0
m_Name: Vortex
m_TagString: Untagged
@@ -1443,12 +1425,12 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 2}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1762297559}
- {fileID: 762219657}
m_Father: {fileID: 498618157}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!135 &1283428184
SphereCollider:
m_ObjectHideFlags: 0
@@ -1477,12 +1459,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1499,10 +1481,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1566,12 +1548,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1588,14 +1570,14 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
- m_AnchoredPosition: {x: 178, y: 78}
- m_SizeDelta: {x: 320, y: 128}
+ m_AnchoredPosition: {x: 178, y: 90}
+ m_SizeDelta: {x: 320, y: 151}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1552723602
MonoBehaviour:
@@ -1632,7 +1614,7 @@ MonoBehaviour:
m_Text: 'Portal
- This example shows how to cancel a gesture.
+ This example shows how to cancel a gesture or "give" its pointers to another gesture.
When you drag a planet close to the portal TransformGesture is cancelled and the
@@ -1663,10 +1645,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Drag
m_TagString: Untagged
@@ -1683,12 +1665,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
- m_RootOrder: 0
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1712,17 +1694,164 @@ MonoBehaviour:
m_PreferredHeight: 60
m_FlexibleWidth: -1
m_FlexibleHeight: -1
+--- !u!1 &1730821177
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1730821178}
+ m_Layer: 0
+ m_Name: Planet 1 Position
+ m_TagString: Untagged
+ m_Icon: {fileID: -964228994112308473, guid: 0000000000000000d000000000000000, type: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1730821178
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1730821177}
+ m_LocalRotation: {x: -0.00000005960465, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 8.23, y: 5.06, z: 0.3}
+ m_LocalScale: {x: 5, y: 5, z: 5}
+ m_Children: []
+ m_Father: {fileID: 1158035086}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1732869219
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1732869220}
+ - component: {fileID: 1732869224}
+ - component: {fileID: 1732869223}
+ - component: {fileID: 1732869222}
+ - component: {fileID: 1732869221}
+ m_Layer: 5
+ m_Name: Spawner 3
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1732869220
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1732869219}
+ 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: 782750265}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 2, y: -186}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1732869221
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1732869219}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 712d87efeee01774088f382a8449caab, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Prefab: {fileID: 4675551579099594, guid: e6c45ad0ad3ece84b91f569ca505eba9, type: 2}
+ Position: {fileID: 1090564254}
+--- !u!114 &1732869222
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1732869219}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 1
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &1732869223
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1732869219}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 533b9df4691d947d9921a0053b5ce231, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1732869224
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1732869219}
--- !u!1 &1762297554
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1762297559}
- - 33: {fileID: 1762297558}
- - 23: {fileID: 1762297556}
- - 114: {fileID: 1762297555}
+ - component: {fileID: 1762297559}
+ - component: {fileID: 1762297558}
+ - component: {fileID: 1762297556}
+ - component: {fileID: 1762297555}
m_Layer: 0
m_Name: Quad
m_TagString: Untagged
@@ -1751,22 +1880,28 @@ MeshRenderer:
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 2100000, guid: 2105a6ce9f7624161ba30eefc0d839f3, type: 2}
- m_SubsetIndices:
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
- m_UseLightProbes: 0
- m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
+ m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &1762297558
MeshFilter:
@@ -1784,19 +1919,19 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 10, y: 10, z: 10}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1283428183}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1764701046
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -1827,10 +1962,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
- m_RootOrder: 4
+ m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1772227325
Prefab:
m_ObjectHideFlags: 0
@@ -1858,9 +1993,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -1877,11 +2012,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -1892,10 +2027,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -1912,10 +2047,10 @@ Transform:
m_LocalRotation: {x: 0.24194291, y: -0.49854365, z: 0.22107579, w: 0.80252314}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -1923,7 +2058,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -1933,6 +2068,7 @@ Light:
m_Shadows:
m_Type: 2
m_Resolution: 3
+ m_CustomResolution: -1
m_Strength: 0.56
m_Bias: 0.1
m_NormalBias: 0.4
@@ -1945,7 +2081,9 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
diff --git a/Source/Assets/TouchScript/Examples/Portal/Portal.unity.meta b/Source/Assets/TouchScript/Examples/Portal/Portal.unity.meta
index 2bb2a8c8b..bc963d131 100644
--- a/Source/Assets/TouchScript/Examples/Portal/Portal.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Portal/Portal.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 20ddca9320eeb4eb28b7ce5fcb289923
DefaultImporter:
- userData:
+ userData: "6"
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs.meta b/Source/Assets/TouchScript/Examples/Portal/Prefabs.meta
new file mode 100644
index 000000000..f46a58b2c
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 04d6b05909265f14b959a306ec367037
+folderAsset: yes
+timeCreated: 1500762512
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab
new file mode 100644
index 000000000..a2f61d994
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab
@@ -0,0 +1,273 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1723810235303300}
+ m_IsPrefabParent: 1
+--- !u!1 &1723810235303300
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4587602474649486}
+ - component: {fileID: 33699283477361520}
+ - component: {fileID: 23136522374025466}
+ - component: {fileID: 114451894822869470}
+ - component: {fileID: 135508365643771480}
+ - component: {fileID: 114826848715069466}
+ - component: {fileID: 114536039364076494}
+ - component: {fileID: 114380460329550602}
+ - component: {fileID: 114610899262215960}
+ - component: {fileID: 54030889479251752}
+ m_Layer: 0
+ m_Name: Planet 1
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4587602474649486
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 5, y: 5, z: 5}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &23136522374025466
+MeshRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 148079725ce574b75ae65e81f6be1567, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &33699283477361520
+MeshFilter:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!54 &54030889479251752
+Rigidbody:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!114 &114380460329550602
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114451894822869470
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Speed: 100
+ RotationSpeed: 30
+ FallSpeed: 0.01
+--- !u!114 &114536039364076494
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ enableSmoothing: 0
+ smoothingFactor: 0.0001
+ positionThreshold: 0.0001
+ rotationThreshold: 0.01
+ scaleThreshold: 0.0001
+ allowChangingFromOutside: 0
+--- !u!114 &114610899262215960
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnRelease:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114826848715069466
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ type: 1
+ screenTransformThreshold: 0.1
+ minScreenPointsDistance: 0.5
+ projectionProps: 0
+ projection: 1
+ projectionPlaneNormal: {x: 0, y: 0, z: 1}
+--- !u!135 &135508365643771480
+SphereCollider:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1723810235303300}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: -0.00000071525574, z: -0.00000023841858}
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab.meta b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab.meta
new file mode 100644
index 000000000..85636ffe9
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 1.prefab.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 7c0291284cacbcf4d93907ef9bfae4b9
+timeCreated: 1500762519
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab
new file mode 100644
index 000000000..baa1e6e82
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab
@@ -0,0 +1,273 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1732047919889238}
+ m_IsPrefabParent: 1
+--- !u!1 &1732047919889238
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4252442136654676}
+ - component: {fileID: 33531297961261376}
+ - component: {fileID: 23305764506643510}
+ - component: {fileID: 114932396362750984}
+ - component: {fileID: 135434814455161676}
+ - component: {fileID: 114329650201689084}
+ - component: {fileID: 114489562153011798}
+ - component: {fileID: 114347950312683466}
+ - component: {fileID: 114602335792670362}
+ - component: {fileID: 54986752027795250}
+ m_Layer: 0
+ m_Name: Planet 2
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4252442136654676
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 5, y: 5, z: 5}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &23305764506643510
+MeshRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 150b901d18f3f45d08b29f50aaec86b9, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &33531297961261376
+MeshFilter:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!54 &54986752027795250
+Rigidbody:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!114 &114329650201689084
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ type: 1
+ screenTransformThreshold: 0.1
+ minScreenPointsDistance: 0.5
+ projectionProps: 0
+ projection: 1
+ projectionPlaneNormal: {x: 0, y: 0, z: 1}
+--- !u!114 &114347950312683466
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114489562153011798
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ enableSmoothing: 0
+ smoothingFactor: 0.0001
+ positionThreshold: 0.0001
+ rotationThreshold: 0.01
+ scaleThreshold: 0.0001
+ allowChangingFromOutside: 0
+--- !u!114 &114602335792670362
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnRelease:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114932396362750984
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Speed: 100
+ RotationSpeed: 10
+ FallSpeed: 0.01
+--- !u!135 &135434814455161676
+SphereCollider:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1732047919889238}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: -0.00000047683716, z: -0.00000023841858}
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab.meta b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab.meta
new file mode 100644
index 000000000..7acc63971
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 2.prefab.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: bff70878d8bdbdd409be0cca1fc3cfce
+timeCreated: 1500762529
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab
new file mode 100644
index 000000000..cb583414c
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab
@@ -0,0 +1,273 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1069462480597282}
+ m_IsPrefabParent: 1
+--- !u!1 &1069462480597282
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4675551579099594}
+ - component: {fileID: 33212346599330584}
+ - component: {fileID: 23284574870311418}
+ - component: {fileID: 114146275313109388}
+ - component: {fileID: 135509675147651788}
+ - component: {fileID: 114408875339017466}
+ - component: {fileID: 114920083122602460}
+ - component: {fileID: 114757214019137374}
+ - component: {fileID: 114574854580529156}
+ - component: {fileID: 54113724369616440}
+ m_Layer: 0
+ m_Name: Planet 3
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4675551579099594
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 5, y: 5, z: 5}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &23284574870311418
+MeshRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 10bd026932ba047dcaca956b30263df6, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &33212346599330584
+MeshFilter:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!54 &54113724369616440
+Rigidbody:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!114 &114146275313109388
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Speed: 100
+ RotationSpeed: 40
+ FallSpeed: 0.01
+--- !u!114 &114408875339017466
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ type: 1
+ screenTransformThreshold: 0.1
+ minScreenPointsDistance: 0.5
+ projectionProps: 0
+ projection: 1
+ projectionPlaneNormal: {x: 0, y: 0, z: 1}
+--- !u!114 &114574854580529156
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnRelease:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114757214019137374
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114920083122602460
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ enableSmoothing: 0
+ smoothingFactor: 0.0001
+ positionThreshold: 0.0001
+ rotationThreshold: 0.01
+ scaleThreshold: 0.0001
+ allowChangingFromOutside: 0
+--- !u!135 &135509675147651788
+SphereCollider:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1069462480597282}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: 0.0000009536743, z: -0.00000023841858}
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab.meta b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab.meta
new file mode 100644
index 000000000..0a794aa06
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 3.prefab.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: e6c45ad0ad3ece84b91f569ca505eba9
+timeCreated: 1500762542
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab
new file mode 100644
index 000000000..a309dbbd3
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab
@@ -0,0 +1,273 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1680841336266350}
+ m_IsPrefabParent: 1
+--- !u!1 &1680841336266350
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4567459449971028}
+ - component: {fileID: 33214459495948154}
+ - component: {fileID: 23155191792782146}
+ - component: {fileID: 114421577017359426}
+ - component: {fileID: 135886790604417350}
+ - component: {fileID: 114367742515556682}
+ - component: {fileID: 114222141242542914}
+ - component: {fileID: 114974252932633120}
+ - component: {fileID: 114634450885023396}
+ - component: {fileID: 54059909185387790}
+ m_Layer: 0
+ m_Name: Planet 4
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4567459449971028
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_LocalRotation: {x: -0.00000008940697, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 5, y: 5, z: 5}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &23155191792782146
+MeshRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 0ed169bc21381479799fe7ba05d2939b, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &33214459495948154
+MeshFilter:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!54 &54059909185387790
+Rigidbody:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!114 &114222141242542914
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 978a486d8ecf8437cbb87e8534908895, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ enableSmoothing: 0
+ smoothingFactor: 0.0001
+ positionThreshold: 0.0001
+ rotationThreshold: 0.01
+ scaleThreshold: 0.0001
+ allowChangingFromOutside: 0
+--- !u!114 &114367742515556682
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11ea9930ecb674732bee27116520fad8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnTransformStart:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransform:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ OnTransformComplete:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ type: 1
+ screenTransformThreshold: 0.1
+ minScreenPointsDistance: 0.5
+ projectionProps: 0
+ projection: 1
+ projectionPlaneNormal: {x: 0, y: 0, z: 1}
+--- !u!114 &114421577017359426
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 11cabe64e6b9945c88b060d042861428, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Speed: 100
+ RotationSpeed: 20
+ FallSpeed: 0.01
+--- !u!114 &114634450885023396
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 141e75b9b7edb42df80a22a14f03ae4b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnRelease:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!114 &114974252932633120
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c6be551879cd14d739b0188844ef2c60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ combinePointers: 0
+ combinePointersInterval: 0.3
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+ OnPress:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ ignoreChildren: 0
+--- !u!135 &135886790604417350
+SphereCollider:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1680841336266350}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Radius: 0.5
+ m_Center: {x: 0, y: -0.00000047683716, z: -0.00000023841858}
diff --git a/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab.meta b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab.meta
new file mode 100644
index 000000000..767bf248d
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Prefabs/Planet 4.prefab.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 4d11e87ec08ce584a818342513bf6616
+timeCreated: 1500762549
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Scripts/Planet.cs b/Source/Assets/TouchScript/Examples/Portal/Scripts/Planet.cs
index 5fde18802..b2e04a0ba 100644
--- a/Source/Assets/TouchScript/Examples/Portal/Scripts/Planet.cs
+++ b/Source/Assets/TouchScript/Examples/Portal/Scripts/Planet.cs
@@ -8,6 +8,7 @@
namespace TouchScript.Examples.Portal
{
+ ///
public class Planet : MonoBehaviour
{
private enum PlanetStatus
@@ -48,7 +49,7 @@ private void Update()
{
case PlanetStatus.Free:
transform.RotateAround(transform.parent.position, Vector3.up,
- Speed*Time.deltaTime/transform.localPosition.sqrMagnitude);
+ Speed * Time.unscaledDeltaTime / transform.localPosition.sqrMagnitude);
break;
case PlanetStatus.Manual:
break;
@@ -59,7 +60,7 @@ private void Update()
break;
}
- transform.Rotate(0, 0, Time.deltaTime*RotationSpeed);
+ transform.Rotate(0, 0, Time.unscaledDeltaTime * RotationSpeed);
}
void pressedhandler(object sender, System.EventArgs e)
diff --git a/Source/Assets/TouchScript/Examples/Portal/Scripts/Rotator.cs b/Source/Assets/TouchScript/Examples/Portal/Scripts/Rotator.cs
index 2e51297d1..4b5f86ca0 100644
--- a/Source/Assets/TouchScript/Examples/Portal/Scripts/Rotator.cs
+++ b/Source/Assets/TouchScript/Examples/Portal/Scripts/Rotator.cs
@@ -6,13 +6,14 @@
namespace TouchScript.Examples.Portal
{
+ ///
public class Rotator : MonoBehaviour
{
public float RotationSpeed = 1f;
void Update()
{
- transform.localRotation *= Quaternion.Euler(0, 0, Time.deltaTime*RotationSpeed);
+ transform.localRotation *= Quaternion.Euler(0, 0, Time.unscaledDeltaTime * RotationSpeed);
}
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs b/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs
new file mode 100644
index 000000000..29e377c44
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs
@@ -0,0 +1,40 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using System;
+using TouchScript.Gestures;
+using UnityEngine;
+
+namespace TouchScript.Examples.Portal
+{
+ ///
+ public class Spawner : MonoBehaviour
+ {
+ public Transform Prefab;
+ public Transform Position;
+
+ private PressGesture press;
+
+ private void OnEnable()
+ {
+ press = GetComponent();
+ press.Pressed += pressHandler;
+ }
+
+ private void OnDisable()
+ {
+ press.Pressed -= pressHandler;
+ }
+
+ private void pressHandler(object sender, EventArgs eventArgs)
+ {
+ var target = Instantiate(Prefab, Position.parent);
+ target.position = Position.position;
+
+ LayerManager.Instance.SetExclusive(target);
+ press.Cancel(true, true);
+ LayerManager.Instance.ClearExclusive();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs.meta b/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs.meta
new file mode 100644
index 000000000..5ee5b0f6c
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Portal/Scripts/Spawner.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 712d87efeee01774088f382a8449caab
+timeCreated: 1500762320
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Portal/Scripts/Vortex.cs b/Source/Assets/TouchScript/Examples/Portal/Scripts/Vortex.cs
index fa59ba387..bc42ec982 100644
--- a/Source/Assets/TouchScript/Examples/Portal/Scripts/Vortex.cs
+++ b/Source/Assets/TouchScript/Examples/Portal/Scripts/Vortex.cs
@@ -6,6 +6,7 @@
namespace TouchScript.Examples.Portal
{
+ ///
public class Vortex : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
diff --git a/Source/Assets/TouchScript/Examples/Pull.meta b/Source/Assets/TouchScript/Examples/Pull.meta
new file mode 100644
index 000000000..00e830361
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 1a092b00a4e374c60a1f1b5af1727a4c
+folderAsset: yes
+timeCreated: 1501590523
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Materials.meta b/Source/Assets/TouchScript/Examples/Pull/Materials.meta
new file mode 100644
index 000000000..41948a301
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Materials.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 0d02fe6a7404f4fa8b9b5214e052cd7d
+folderAsset: yes
+timeCreated: 1501599114
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat b/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat
new file mode 100644
index 000000000..a11dc3831
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat
@@ -0,0 +1,76 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Green
+ m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords:
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_DoubleSidedGI: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _GlossMapScale: 1
+ - _Glossiness: 0.5
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 0, g: 1, b: 0.048275948, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
diff --git a/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat.meta b/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat.meta
new file mode 100644
index 000000000..4ff475c12
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Materials/Green.mat.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 6a7cc3aeb872a43c9b48602411ff0128
+timeCreated: 1501599163
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Prefabs.meta b/Source/Assets/TouchScript/Examples/Pull/Prefabs.meta
new file mode 100644
index 000000000..26c7eed13
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Prefabs.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: e930c60b631064c8282b18e4fd304215
+folderAsset: yes
+timeCreated: 1501590612
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab b/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab
new file mode 100644
index 000000000..6d1afd749
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab
@@ -0,0 +1,276 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1583770791137080}
+ m_IsPrefabParent: 1
+--- !u!1 &1187127904395504
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4273383945290788}
+ - component: {fileID: 120722583279136224}
+ m_Layer: 0
+ m_Name: Line
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &1583770791137080
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 4092497047216208}
+ - component: {fileID: 33076793992048592}
+ - component: {fileID: 65806177754892914}
+ - component: {fileID: 23586366584321034}
+ - component: {fileID: 54930536093548728}
+ - component: {fileID: 114518461671103506}
+ - component: {fileID: 114334082651901656}
+ m_Layer: 0
+ m_Name: Cube
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4092497047216208
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0.02, y: 0.69, z: -2.33}
+ m_LocalScale: {x: 1.5896826, y: 1.589683, z: 1.589683}
+ m_Children:
+ - {fileID: 4273383945290788}
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!4 &4273383945290788
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1187127904395504}
+ 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: 4092497047216208}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!23 &23586366584321034
+MeshRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &33076793992048592
+MeshFilter:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!54 &54930536093548728
+Rigidbody:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!65 &65806177754892914
+BoxCollider:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!114 &114334082651901656
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 057fc4dd3742040c9b65eac0a4e3cac7, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ ForceMultiplier: 100
+ Line: {fileID: 120722583279136224}
+--- !u!114 &114518461671103506
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1583770791137080}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 767c446d703184f6faf8a12a85d591eb, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 0
+ generalProps: 0
+ limitsProps: 0
+ advancedProps: 0
+ minPointers: 0
+ maxPointers: 0
+ useSendMessage: 0
+ sendStateChangeMessages: 0
+ sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
+ requireGestureToFail: {fileID: 0}
+ friendlyGestures: []
+--- !u!120 &120722583279136224
+LineRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1187127904395504}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 0
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 6a7cc3aeb872a43c9b48602411ff0128, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_Positions:
+ - {x: 0, y: 0, z: 0}
+ - {x: 0, y: 0, z: 10}
+ m_Parameters:
+ serializedVersion: 2
+ widthMultiplier: 1
+ widthCurve:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 2
+ time: 0
+ value: 0.2
+ inSlope: 0
+ outSlope: 0
+ tangentMode: 0
+ - serializedVersion: 2
+ time: 1
+ value: 0.2
+ inSlope: 0
+ outSlope: 0
+ tangentMode: 0
+ m_PreInfinity: 2
+ m_PostInfinity: 2
+ m_RotationOrder: 4
+ colorGradient:
+ serializedVersion: 2
+ key0: {r: 1, g: 1, b: 1, a: 1}
+ key1: {r: 1, g: 1, b: 1, a: 1}
+ key2: {r: 0, g: 0, b: 0, a: 0}
+ key3: {r: 0, g: 0, b: 0, a: 0}
+ key4: {r: 0, g: 0, b: 0, a: 0}
+ key5: {r: 0, g: 0, b: 0, a: 0}
+ key6: {r: 0, g: 0, b: 0, a: 0}
+ key7: {r: 0, g: 0, b: 0, a: 0}
+ ctime0: 0
+ ctime1: 65535
+ ctime2: 0
+ ctime3: 0
+ ctime4: 0
+ ctime5: 0
+ ctime6: 0
+ ctime7: 0
+ atime0: 0
+ atime1: 65535
+ atime2: 0
+ atime3: 0
+ atime4: 0
+ atime5: 0
+ atime6: 0
+ atime7: 0
+ m_Mode: 0
+ m_NumColorKeys: 2
+ m_NumAlphaKeys: 2
+ numCornerVertices: 0
+ numCapVertices: 0
+ alignment: 0
+ textureMode: 0
+ m_UseWorldSpace: 1
+ m_Loop: 0
diff --git a/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab.meta b/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab.meta
new file mode 100644
index 000000000..eb5fb7666
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Prefabs/Cube.prefab.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 21a4063eaa6b1410f8b9be15c9d964df
+timeCreated: 1501590642
+licenseType: Pro
+NativeFormatImporter:
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Pull.unity b/Source/Assets/TouchScript/Examples/Pull/Pull.unity
new file mode 100644
index 000000000..6ed0b637b
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Pull.unity
@@ -0,0 +1,1990 @@
+%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: 8
+ 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.2, g: 0.2, b: 0.2, a: 1}
+ m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
+ m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
+ 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, g: 0, b: 0, a: 1}
+--- !u!157 &4
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_GIWorkflowMode: 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: 8
+ m_Resolution: 1
+ m_BakeResolution: 50
+ m_TextureWidth: 1024
+ m_TextureHeight: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 0
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 1024
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
+ m_LightingDataAsset: {fileID: 0}
+ m_ShadowMaskMode: 2
+--- !u!196 &5
+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.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &43919907
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 43919908}
+ - component: {fileID: 43919912}
+ - component: {fileID: 43919911}
+ - component: {fileID: 43919910}
+ - component: {fileID: 43919909}
+ m_Layer: 0
+ m_Name: Static Cube (5)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &43919908
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 43919907}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -6.04, y: 0.69, z: 0.21}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 6
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &43919909
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 43919907}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &43919910
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 43919907}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &43919911
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 43919907}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &43919912
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 43919907}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &62216951
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
+ m_Layer: 0
+ m_Name: Scene Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &62216952
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_LocalRotation: {x: 0.26945794, y: 0, z: 0, w: 0.96301216}
+ m_LocalPosition: {x: -1.11, y: 10.1, z: -17.45}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 930800601}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 31.264, y: 0, z: 0}
+--- !u!114 &62216953
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7e5768c36d1bb4acea50bd233372843a, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ Name: Scene Camera
+ basicEditor: 1
+ advancedProps: 0
+ hitProps: 0
+ hit3DObjects: 1
+ hit2DObjects: 0
+ hitWorldSpaceUI: 0
+ hitScreenSpaceUI: 0
+ layerMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ useHitFilters: 0
+--- !u!81 &62216954
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_Enabled: 1
+--- !u!124 &62216955
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_Enabled: 1
+--- !u!92 &62216956
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_Enabled: 1
+--- !u!20 &62216957
+Camera:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 62216951}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1}
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: 0.3
+ far clip plane: 40
+ field of view: 30
+ 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_AllowMSAA: 1
+ m_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+ m_StereoMirrorMode: 0
+--- !u!1 &250857269
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
+ m_Layer: 5
+ m_Name: List
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &250857270
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 250857269}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Padding:
+ m_Left: 0
+ m_Right: 0
+ m_Top: 0
+ m_Bottom: 0
+ m_ChildAlignment: 0
+ m_Spacing: 0
+ m_ChildForceExpandWidth: 1
+ m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
+--- !u!224 &250857271
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 250857269}
+ 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:
+ - {fileID: 922779737}
+ - {fileID: 1679844150}
+ m_Father: {fileID: 1981142013}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &312263519
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 312263520}
+ m_Layer: 0
+ m_Name: Container
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &312263520
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 312263519}
+ 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:
+ - {fileID: 497908867}
+ - {fileID: 1348713904}
+ - {fileID: 1523632846}
+ - {fileID: 703341282}
+ - {fileID: 2086987748}
+ - {fileID: 525512062}
+ - {fileID: 43919908}
+ m_Father: {fileID: 930800601}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!4 &497908867 stripped
+Transform:
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 1411228864}
+--- !u!1 &525512061
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 525512062}
+ - component: {fileID: 525512066}
+ - component: {fileID: 525512065}
+ - component: {fileID: 525512064}
+ - component: {fileID: 525512063}
+ m_Layer: 0
+ m_Name: Static Cube (4)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &525512062
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 525512061}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -4.27, y: 0.69, z: 2.94}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &525512063
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 525512061}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &525512064
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 525512061}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &525512065
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 525512061}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &525512066
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 525512061}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1001 &543251036
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: layers.Array.size
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: layers.Array.data[0]
+ value:
+ objectReference: {fileID: 62216953}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ m_IsPrefabParent: 0
+--- !u!4 &584553677 stripped
+Transform:
+ m_PrefabParentObject: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ m_PrefabInternal: {fileID: 599866430}
+--- !u!1001 &599866430
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 930800601}
+ m_Modifications:
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0.04
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: -12.97
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0.26
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0.36056674
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.9327335
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_RootOrder
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalScale.x
+ value: 17
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalScale.y
+ value: 17
+ objectReference: {fileID: 0}
+ - target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_LocalScale.z
+ value: 17
+ objectReference: {fileID: 0}
+ - target: {fileID: 100004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ propertyPath: m_IsActive
+ value: 1
+ objectReference: {fileID: 0}
+ m_RemovedComponents:
+ - {fileID: 9500000, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ m_ParentPrefab: {fileID: 100100000, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ m_IsPrefabParent: 0
+--- !u!1 &703341281
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 703341282}
+ - component: {fileID: 703341286}
+ - component: {fileID: 703341285}
+ - component: {fileID: 703341284}
+ - component: {fileID: 703341283}
+ m_Layer: 0
+ m_Name: Static Cube (2)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &703341282
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 703341281}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 1.55, y: 0.69, z: 5.28}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &703341283
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 703341281}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &703341284
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 703341281}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &703341285
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 703341281}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &703341286
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 703341281}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &721853795 stripped
+GameObject:
+ m_PrefabParentObject: {fileID: 100006, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ m_PrefabInternal: {fileID: 599866430}
+--- !u!64 &721853799
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 721853795}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
+ m_Mesh: {fileID: 4300006, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+--- !u!1 &740851131
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
+ m_Layer: 5
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &740851132
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children:
+ - {fileID: 1981142013}
+ - {fileID: 1552723601}
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!114 &740851134
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_UiScaleMode: 1
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 640, y: 480}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 1
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+--- !u!223 &740851135
+Canvas:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 740851131}
+ m_Enabled: 1
+ serializedVersion: 3
+ m_RenderMode: 0
+ m_Camera: {fileID: 0}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
+ m_SortingLayerID: 0
+ m_SortingOrder: 0
+ m_TargetDisplay: 0
+--- !u!1 &922779735
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 922779737}
+ - component: {fileID: 922779736}
+ m_Layer: 5
+ m_Name: Drag
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &922779736
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 922779735}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: 60
+ m_PreferredWidth: -1
+ m_PreferredHeight: 60
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!224 &922779737
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 922779735}
+ 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:
+ - {fileID: 1149683276}
+ - {fileID: 1166494019}
+ m_Father: {fileID: 250857271}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &930800600
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 930800601}
+ m_Layer: 0
+ m_Name: Scene
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &930800601
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 930800600}
+ 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:
+ - {fileID: 2135305920}
+ - {fileID: 62216952}
+ - {fileID: 584553677}
+ - {fileID: 312263520}
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1138005899
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1138005900
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1138005899}
+ 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: 1679844150}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 31, y: 0}
+ m_SizeDelta: {x: 60, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1138005901
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1138005899}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 26489b03725f747f998c39661c2583b5, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1138005902
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1138005899}
+--- !u!1 &1149683275
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1149683276}
+ - component: {fileID: 1149683278}
+ - component: {fileID: 1149683277}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1149683276
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1149683275}
+ 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: 922779737}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 31, y: 0}
+ m_SizeDelta: {x: 60, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1149683277
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1149683275}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: dcd0c08ae57e04a64bd2388ac4057dc6, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1149683278
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1149683275}
+--- !u!1 &1166494018
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1166494019}
+ - component: {fileID: 1166494022}
+ - component: {fileID: 1166494021}
+ - component: {fileID: 1166494020}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1166494019
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1166494018}
+ 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: 922779737}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 177.5, y: 0}
+ m_SizeDelta: {x: 204.7, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1166494020
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1166494018}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1573420865, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
+ m_EffectDistance: {x: 1, y: -1}
+ m_UseGraphicAlpha: 1
+--- !u!114 &1166494021
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1166494018}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: "Press and drag \nthe central cube"
+--- !u!222 &1166494022
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1166494018}
+--- !u!1 &1271849413 stripped
+GameObject:
+ m_PrefabParentObject: {fileID: 100008, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+ m_PrefabInternal: {fileID: 599866430}
+--- !u!64 &1271849417
+MeshCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1271849413}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
+ m_Mesh: {fileID: 4300004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
+--- !u!1 &1348713903
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1348713904}
+ - component: {fileID: 1348713908}
+ - component: {fileID: 1348713907}
+ - component: {fileID: 1348713906}
+ - component: {fileID: 1348713905}
+ m_Layer: 0
+ m_Name: Static Cube
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1348713904
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1348713903}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 5.97, y: 0.69, z: 0.26}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &1348713905
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1348713903}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &1348713906
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1348713903}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &1348713907
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1348713903}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1348713908
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1348713903}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1408280580
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1408280581
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1408280580}
+ 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: 1679844150}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 177.5, y: 0}
+ m_SizeDelta: {x: 204.7, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1408280582
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1408280580}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: "Release the touch \nto apply the force"
+--- !u!222 &1408280583
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1408280580}
+--- !u!114 &1408280584
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1408280580}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1573420865, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
+ m_EffectDistance: {x: 1, y: -1}
+ m_UseGraphicAlpha: 1
+--- !u!1001 &1411228864
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 312263520}
+ m_Modifications:
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0.02
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0.69
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: -2.33
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ propertyPath: m_RootOrder
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 100100000, guid: 21a4063eaa6b1410f8b9be15c9d964df, type: 2}
+ m_IsPrefabParent: 0
+--- !u!1 &1523632845
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1523632846}
+ - component: {fileID: 1523632850}
+ - component: {fileID: 1523632849}
+ - component: {fileID: 1523632848}
+ - component: {fileID: 1523632847}
+ m_Layer: 0
+ m_Name: Static Cube (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1523632846
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1523632845}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 4.45, y: 0.69, z: 3.53}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &1523632847
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1523632845}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &1523632848
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1523632845}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &1523632849
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1523632845}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1523632850
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1523632845}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1552723600
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
+ m_Layer: 5
+ m_Name: Description
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1552723601
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1552723600}
+ 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: 740851132}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 178, y: 58}
+ m_SizeDelta: {x: 320, y: 88}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1552723602
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1552723600}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 14
+ m_FontStyle: 0
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 0
+ m_AlignByGeometry: 0
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: "Pull\n\x03\nThis example shows how to write a custom gesture.\nPullGesture
+ on the central cube is written specially for this scene."
+--- !u!222 &1552723603
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1552723600}
+--- !u!114 &1552723604
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1552723600}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1573420865, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
+ m_EffectDistance: {x: 1, y: -1}
+ m_UseGraphicAlpha: 1
+--- !u!1 &1679844149
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
+ m_Layer: 5
+ m_Name: Tap
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1679844150
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1679844149}
+ 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:
+ - {fileID: 1138005900}
+ - {fileID: 1408280581}
+ m_Father: {fileID: 250857271}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1679844151
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1679844149}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: 60
+ m_PreferredWidth: -1
+ m_PreferredHeight: 60
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!1 &1764701046
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
+ m_Layer: 0
+ m_Name: EventSystem
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1764701049
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1764701046}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_FirstSelected: {fileID: 0}
+ m_sendNavigationEvents: 1
+ m_DragThreshold: 5
+--- !u!4 &1764701050
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1764701046}
+ 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: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1001 &1772227325
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_RootOrder
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 11400000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: useDPI
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_IsActive
+ value: 1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 100100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ m_IsPrefabParent: 0
+--- !u!1 &1981142012
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1981142013}
+ m_Layer: 5
+ m_Name: Panel
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1981142013
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1981142012}
+ 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:
+ - {fileID: 250857271}
+ m_Father: {fileID: 740851132}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0.25263783, y: 1}
+ m_AnchoredPosition: {x: 5, y: 50}
+ m_SizeDelta: {x: -10, y: -120}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &2086987747
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 1583770791137080, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 2086987748}
+ - component: {fileID: 2086987752}
+ - component: {fileID: 2086987751}
+ - component: {fileID: 2086987750}
+ - component: {fileID: 2086987749}
+ m_Layer: 0
+ m_Name: Static Cube (3)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &2086987748
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 4092497047216208, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2086987747}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -1.71, y: 0.69, z: 5.16}
+ m_LocalScale: {x: 1.58968, y: 1.58968, z: 1.58968}
+ m_Children: []
+ m_Father: {fileID: 312263520}
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!54 &2086987749
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 54930536093548728, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2086987747}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &2086987750
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 23586366584321034, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2086987747}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 2100000, guid: 69c151168e0de486b9df0688ff9e4891, type: 2}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &2086987751
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 65806177754892914, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2086987747}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &2086987752
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 33076793992048592, guid: 21a4063eaa6b1410f8b9be15c9d964df,
+ type: 2}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2086987747}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &2135305919
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
+ m_Layer: 0
+ m_Name: Directional light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &2135305920
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2135305919}
+ m_LocalRotation: {x: 0.24194291, y: -0.49854365, z: 0.22107579, w: 0.80252314}
+ m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 930800601}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 37.5, y: -60.899998, z: 8.2324}
+--- !u!108 &2135305921
+Light:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2135305919}
+ m_Enabled: 1
+ serializedVersion: 8
+ m_Type: 1
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 1.3
+ m_Range: 10
+ m_SpotAngle: 30
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 2
+ m_Resolution: 3
+ m_CustomResolution: -1
+ m_Strength: 0.56
+ m_Bias: 0.1
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0
diff --git a/Source/Assets/TouchScript/Examples/Pull/Pull.unity.meta b/Source/Assets/TouchScript/Examples/Pull/Pull.unity.meta
new file mode 100644
index 000000000..208dcabb4
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Pull.unity.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 6696ec8da4feb4725bf860ab58fa830f
+timeCreated: 1501590562
+licenseType: Pro
+DefaultImporter:
+ userData: "10"
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Scripts.meta b/Source/Assets/TouchScript/Examples/Pull/Scripts.meta
new file mode 100644
index 000000000..d9a665ab9
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Scripts.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: d450e111ead04433cb8527f73c6a561a
+folderAsset: yes
+timeCreated: 1501591264
+licenseType: Pro
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs b/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs
new file mode 100644
index 000000000..a16196f05
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs
@@ -0,0 +1,104 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using UnityEngine;
+
+namespace TouchScript.Tutorial
+{
+ public class Logic : MonoBehaviour
+ {
+ // Force multiplier
+ public float ForceMultiplier = 100f;
+ public LineRenderer Line;
+
+ private PullGesture gesture;
+ private Rigidbody body;
+
+ private Vector3 forceToApply;
+ private bool shouldApplyForce = false;
+
+ private void OnEnable()
+ {
+ body = GetComponent();
+ gesture = GetComponent();
+
+ Line.enabled = false;
+
+ gesture.Pressed += pressedHandler;
+ gesture.Pulled += pulledHandler;
+ gesture.Released += releasedHandler;
+ gesture.Cancelled += cancelledHandler;
+
+ releaseObject();
+ }
+
+ private void OnDisable()
+ {
+ gesture.Pressed -= pressedHandler;
+ gesture.Pulled -= pulledHandler;
+ gesture.Released -= releasedHandler;
+ gesture.Cancelled -= cancelledHandler;
+ }
+
+ private void FixedUpdate()
+ {
+ // Apply force in FixedUpdate to make physics happy
+ if (shouldApplyForce)
+ {
+ body.AddForce(forceToApply);
+ shouldApplyForce = false;
+ }
+ }
+
+ // Switch to manual mode
+ private void takeObject()
+ {
+ body.isKinematic = true;
+ Line.enabled = true;
+ updateLine();
+ }
+
+ // Switch to automatic mode
+ private void releaseObject()
+ {
+ body.isKinematic = false;
+ Line.enabled = false;
+ }
+
+ // Push the object when the gesture is ended
+ private void pushObject()
+ {
+ forceToApply = ForceMultiplier * gesture.Force;
+ shouldApplyForce = true;
+ }
+
+ // Update the line
+ private void updateLine()
+ {
+ Line.SetPosition(0, gesture.StartPosition);
+ Line.SetPosition(1, gesture.Position);
+ }
+
+ private void pressedHandler(object sender, System.EventArgs e)
+ {
+ takeObject();
+ }
+
+ private void pulledHandler(object sender, System.EventArgs e)
+ {
+ updateLine();
+ }
+
+ private void releasedHandler(object sender, System.EventArgs e)
+ {
+ releaseObject();
+ pushObject();
+ }
+
+ private void cancelledHandler(object sender, System.EventArgs e)
+ {
+ releaseObject();
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs.meta b/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs.meta
new file mode 100644
index 000000000..0e939ac08
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Scripts/Logic.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 057fc4dd3742040c9b65eac0a4e3cac7
+timeCreated: 1501597106
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs b/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs
new file mode 100644
index 000000000..f02eaf50f
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs
@@ -0,0 +1,171 @@
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using System.Collections.Generic;
+using UnityEngine;
+using TouchScript.Gestures;
+using TouchScript.Pointers;
+using System;
+using TouchScript.Layers;
+
+// Let's put our gesture into a namespace so it wouldn't clash with other classes in our project
+namespace TouchScript.Tutorial
+{
+ // The class must inherit from Gesture
+ public class PullGesture : Gesture
+ {
+ public event EventHandler Pressed
+ {
+ add { pressedInvoker += value; }
+ remove { pressedInvoker -= value; }
+ }
+
+ public event EventHandler Pulled
+ {
+ add { pulledInvoker += value; }
+ remove { pulledInvoker -= value; }
+ }
+
+ public event EventHandler Released
+ {
+ add { releasedInvoker += value; }
+ remove { releasedInvoker -= value; }
+ }
+
+ public Vector3 StartPosition
+ {
+ get
+ {
+ switch (State)
+ {
+ case GestureState.Began:
+ case GestureState.Changed:
+ case GestureState.Ended:
+ return startPosition;
+ default:
+ return transform.position;
+ }
+ }
+ }
+
+ public Vector3 Position
+ {
+ get
+ {
+ switch (State)
+ {
+ case GestureState.Began:
+ case GestureState.Changed:
+ case GestureState.Ended:
+ return projection.ProjectTo(primaryPointer.Position, plane);
+ default:
+ return transform.position;
+ }
+ }
+ }
+
+ public Vector3 Force
+ {
+ get { return StartPosition - Position; }
+ }
+
+ // Needed to overcome iOS AOT limitations
+ private EventHandler pressedInvoker, pulledInvoker, releasedInvoker;
+
+ // The only pointer we are interested in
+ private Pointer primaryPointer;
+
+ // Layer projection parameters
+ private ProjectionParams projection;
+
+ // 3D plane to project to
+ private Plane plane;
+
+ // The world coordinates of the point where the gesture started
+ private Vector3 startPosition;
+
+ // Pointers pressed this frame
+ protected override void pointersPressed(IList pointers)
+ {
+ if (State == GestureState.Idle)
+ {
+ primaryPointer = pointers[0];
+ projection = primaryPointer.GetPressData().Layer.GetProjectionParams(primaryPointer);
+ plane = new Plane(Vector3.up, transform.position);
+ startPosition = projection.ProjectTo(primaryPointer.Position, plane);
+
+ // Start the gesture
+ setState(GestureState.Began);
+ }
+ }
+
+ // Pointers updated this frame
+ protected override void pointersUpdated(IList pointers)
+ {
+ foreach (var p in pointers)
+ {
+ if (p.Id == primaryPointer.Id)
+ {
+ // If the pointer we are interested in moved, change the state
+ setState(GestureState.Changed);
+ return;
+ }
+ }
+ }
+
+ // Pointers released this frame
+ protected override void pointersReleased(IList pointers)
+ {
+ foreach (var p in pointers)
+ {
+ if (p.Id == primaryPointer.Id)
+ {
+ // If the pointer we are interested was released, end the gesture
+ setState(GestureState.Ended);
+ return;
+ }
+ }
+ }
+
+ // Pointers cancelled this frame
+ protected override void pointersCancelled(IList pointers)
+ {
+ foreach (var p in pointers)
+ {
+ if (p.Id == primaryPointer.Id)
+ {
+ // If the pointer we are interested was cancelled, cancel the gesture
+ setState(GestureState.Cancelled);
+ return;
+ }
+ }
+ }
+
+ // Called when the gesture transitions to Began state
+ protected override void onBegan()
+ {
+ if (pressedInvoker != null) pressedInvoker(this, EventArgs.Empty);
+ }
+
+ // Called when the gesture transitions to Ended or Recognized states
+ protected override void onRecognized()
+ {
+ if (releasedInvoker != null) releasedInvoker(this, EventArgs.Empty);
+ }
+
+ // Called when the gesture transitions to Changed state
+ protected override void onChanged()
+ {
+ if (pulledInvoker != null) pulledInvoker(this, EventArgs.Empty);
+// Debug.LogFormat("Start position: {0}, current position: {1}, force: {2}", StartPosition, Position, Force.magnitude);
+ }
+
+ // This method is called when gesture is reset when recognized or failed
+ protected override void reset()
+ {
+ base.reset();
+ primaryPointer = null;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs.meta b/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs.meta
new file mode 100644
index 000000000..e041b4880
--- /dev/null
+++ b/Source/Assets/TouchScript/Examples/Pull/Scripts/PullGesture.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 767c446d703184f6faf8a12a85d591eb
+timeCreated: 1501591283
+licenseType: Pro
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity b/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity
index 922e8cd9d..a892f4c41 100644
--- a/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity
+++ b/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,51 +54,73 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &62216951
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
@@ -114,10 +137,10 @@ Transform:
m_LocalRotation: {x: 0.97875386, y: 0, z: 0, w: 0.20503876}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 23.6635, y: -180, z: -180}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 23.6635, y: -180, z: -180}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -181,6 +204,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -190,10 +215,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -221,6 +246,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -230,11 +257,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1679844150}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -279,59 +306,109 @@ Prefab:
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[0]
- value:
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
+ propertyPath: shouldCreateCameraLayer
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ m_IsPrefabParent: 0
+--- !u!1001 &630877083
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: shouldCreateStandardInput
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: shouldCreateCameraLayer
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
- m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ m_ParentPrefab: {fileID: 100100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
m_IsPrefabParent: 0
---- !u!1 &543251037 stripped
-GameObject:
- m_PrefabParentObject: {fileID: 100002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- m_PrefabInternal: {fileID: 543251036}
---- !u!114 &543251038
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 543251037}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e276ccba4f7314d9988af19f9b3a611b, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- advancedProps: 0
- windows8API: 0
- windows7API: 0
- webPlayerTouch: 1
- webGLTouch: 1
- windows8Mouse: 1
- windows7Mouse: 1
- universalWindowsMouse: 1
- emulateSecondMousePointer: 1
--- !u!1 &740851131
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -348,12 +425,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1981142013}
- {fileID: 1552723601}
m_Father: {fileID: 0}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -387,7 +464,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 740851131}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -396,6 +473,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -404,9 +482,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
+ - component: {fileID: 930800601}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -423,22 +501,22 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2135305920}
- {fileID: 62216952}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1138005899
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -455,10 +533,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -502,12 +580,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -524,10 +602,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -591,12 +669,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -613,10 +691,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 178, y: 48.2}
@@ -684,10 +762,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Touch
m_TagString: Untagged
@@ -704,12 +782,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -738,10 +816,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -772,40 +850,18 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
---- !u!1001 &1772227325
-Prefab:
- m_ObjectHideFlags: 0
- serializedVersion: 2
- m_Modification:
- m_TransformParent: {fileID: 0}
- m_Modifications:
- - target: {fileID: 11400000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
- - target: {fileID: 100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- propertyPath: m_IsActive
- value: 1
- objectReference: {fileID: 0}
- - target: {fileID: 400000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- propertyPath: m_RootOrder
- value: 1
- objectReference: {fileID: 0}
- m_RemovedComponents: []
- m_ParentPrefab: {fileID: 100100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- m_IsPrefabParent: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1981142012
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -822,11 +878,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -837,10 +893,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -857,10 +913,10 @@ Transform:
m_LocalRotation: {x: 0.32484895, y: -0.86744815, z: 0.043405317, w: 0.37432998}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -868,7 +924,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -878,6 +934,7 @@ Light:
m_Shadows:
m_Type: 2
m_Resolution: 3
+ m_CustomResolution: -1
m_Strength: 0.56
m_Bias: 0.1
m_NormalBias: 0.4
@@ -890,7 +947,9 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
diff --git a/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity.meta b/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity.meta
index 1cdb91458..803330be1 100644
--- a/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity.meta
+++ b/Source/Assets/TouchScript/Examples/RawInput/RawInput.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 9ee061879a6b743808a9f9056a52d885
DefaultImporter:
- userData:
+ userData: "1"
diff --git a/Source/Assets/TouchScript/Examples/RawInput/Scripts/Ball.cs b/Source/Assets/TouchScript/Examples/RawInput/Scripts/Ball.cs
index aff73a9b6..1a2cfc856 100644
--- a/Source/Assets/TouchScript/Examples/RawInput/Scripts/Ball.cs
+++ b/Source/Assets/TouchScript/Examples/RawInput/Scripts/Ball.cs
@@ -6,6 +6,7 @@
namespace TouchScript.Examples.RawInput
{
+ ///
public class Ball : MonoBehaviour
{
public float Speed = 1f;
@@ -13,7 +14,7 @@ public class Ball : MonoBehaviour
private void Update()
{
Speed *= 1.01f;
- transform.position += transform.forward*Speed*Time.deltaTime;
+ transform.position += transform.forward * Speed * Time.unscaledDeltaTime;
if (Speed > 1000) Destroy(gameObject);
}
}
diff --git a/Source/Assets/TouchScript/Examples/RawInput/Scripts/Spawner.cs b/Source/Assets/TouchScript/Examples/RawInput/Scripts/Spawner.cs
index b7f6fd2ae..a4c1a89ae 100644
--- a/Source/Assets/TouchScript/Examples/RawInput/Scripts/Spawner.cs
+++ b/Source/Assets/TouchScript/Examples/RawInput/Scripts/Spawner.cs
@@ -6,6 +6,7 @@
namespace TouchScript.Examples.RawInput
{
+ ///
public class Spawner : MonoBehaviour
{
public GameObject Prefab;
diff --git a/Source/Assets/TouchScript/Examples/Taps/Scripts/Break.cs b/Source/Assets/TouchScript/Examples/Taps/Scripts/Break.cs
index 6ce9ba248..4ec3f7129 100644
--- a/Source/Assets/TouchScript/Examples/Taps/Scripts/Break.cs
+++ b/Source/Assets/TouchScript/Examples/Taps/Scripts/Break.cs
@@ -9,6 +9,7 @@
namespace TouchScript.Examples.Tap
{
+ ///
public class Break : MonoBehaviour
{
public float Power = 10.0f;
@@ -51,7 +52,7 @@ private void Update()
{
if (growing)
{
- growingTime += Time.deltaTime;
+ growingTime += Time.unscaledDeltaTime;
rnd.material.color = Color.Lerp(Color.white, Color.red, growingTime);
}
}
@@ -87,9 +88,9 @@ private void longPressedHandler(object sender, GestureStateChangeEventArgs e)
var cube = obj.transform;
cube.parent = transform.parent;
cube.name = "Cube";
- cube.localScale = 0.5f*transform.localScale;
- cube.position = transform.TransformPoint(directions[i]/4);
- cube.GetComponent().AddForce(Power*Random.insideUnitSphere, ForceMode.Impulse);
+ cube.localScale = 0.5f * transform.localScale;
+ cube.position = transform.TransformPoint(directions[i] / 4);
+ cube.GetComponent().AddForce(Power * Random.insideUnitSphere, ForceMode.Impulse);
cube.GetComponent().material.color = Color.white;
}
Destroy(gameObject);
diff --git a/Source/Assets/TouchScript/Examples/Taps/Scripts/Kick.cs b/Source/Assets/TouchScript/Examples/Taps/Scripts/Kick.cs
index 757a0b662..43029cc9d 100644
--- a/Source/Assets/TouchScript/Examples/Taps/Scripts/Kick.cs
+++ b/Source/Assets/TouchScript/Examples/Taps/Scripts/Kick.cs
@@ -7,6 +7,7 @@
namespace TouchScript.Examples.Tap
{
+ ///
public class Kick : MonoBehaviour
{
public float Force = 3f;
@@ -14,12 +15,12 @@ public class Kick : MonoBehaviour
private TapGesture gesture;
private Rigidbody rb;
- private Camera activeCamera;
+ private Camera activeCamera;
private void OnEnable()
{
rb = GetComponent();
- activeCamera = GameObject.Find("Scene Camera").GetComponent();
+ activeCamera = GameObject.Find("Scene Camera").GetComponent();
gesture = GetComponent();
gesture.Tapped += tappedHandler;
}
@@ -31,11 +32,11 @@ private void OnDisable()
private void tappedHandler(object sender, System.EventArgs e)
{
- var ray = activeCamera.ScreenPointToRay(gesture.ScreenPosition);
+ var ray = activeCamera.ScreenPointToRay(gesture.ScreenPosition);
RaycastHit hit;
if (Physics.Raycast(ray, out hit) && hit.transform == transform)
{
- rb.AddForceAtPosition(ray.direction*Force, hit.point, ForceMode.Impulse);
+ rb.AddForceAtPosition(ray.direction * Force, hit.point, ForceMode.Impulse);
Instantiate(Particles, hit.point, Quaternion.identity);
}
}
diff --git a/Source/Assets/TouchScript/Examples/Taps/Scripts/Spawn.cs b/Source/Assets/TouchScript/Examples/Taps/Scripts/Spawn.cs
index 7f71494e5..29fd674f0 100644
--- a/Source/Assets/TouchScript/Examples/Taps/Scripts/Spawn.cs
+++ b/Source/Assets/TouchScript/Examples/Taps/Scripts/Spawn.cs
@@ -9,6 +9,7 @@
namespace TouchScript.Examples.Tap
{
+ ///
public class Spawn : MonoBehaviour
{
public Transform CubePrefab;
@@ -33,8 +34,8 @@ private void tappedHandler(object sender, EventArgs e)
var cube = Instantiate(CubePrefab) as Transform;
cube.parent = Container;
cube.name = "Cube";
- cube.localScale = Vector3.one*Scale*cube.localScale.x;
- cube.position = hit.Point + hit.Normal*.5f;
+ cube.localScale = Vector3.one * Scale * cube.localScale.x;
+ cube.position = hit.Point + hit.Normal * .5f;
}
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/Taps/Taps.unity b/Source/Assets/TouchScript/Examples/Taps/Taps.unity
index 9e8ec5d49..f5c2aacd0 100644
--- a/Source/Assets/TouchScript/Examples/Taps/Taps.unity
+++ b/Source/Assets/TouchScript/Examples/Taps/Taps.unity
@@ -1,19 +1,19 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
-SceneSettings:
+OcclusionCullingSettings:
m_ObjectHideFlags: 0
- m_PVSData:
- m_PVSObjectsArray: []
- m_PVSPortalsArray: []
+ 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: 6
+ serializedVersion: 8
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -25,6 +25,7 @@ RenderSettings:
m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: a07fadb24ea940240afba3afc1a692cc, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
@@ -37,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
- serializedVersion: 6
+ serializedVersion: 9
m_GIWorkflowMode: 1
- m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -53,51 +54,73 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
- serializedVersion: 3
+ serializedVersion: 8
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
+ m_AO: 0
m_AOMaxDistance: 1
- m_Padding: 2
m_CompAOExponent: 0
+ m_CompAOExponentDirect: 0
+ m_Padding: 2
m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
m_TextureCompression: 0
m_FinalGather: 0
+ m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
+ m_MixedBakeMode: 1
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
m_LightingDataAsset: {fileID: 0}
- m_RuntimeCPUUsage: 25
+ m_ShadowMaskMode: 2
--- !u!196 &5
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
- accuratePlacement: 0
minRegionArea: 2
- cellSize: 0.16666666
manualCellSize: 0
+ cellSize: 0.16666666
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &62216951
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 62216952}
- - 20: {fileID: 62216957}
- - 92: {fileID: 62216956}
- - 124: {fileID: 62216955}
- - 81: {fileID: 62216954}
- - 114: {fileID: 62216953}
+ - component: {fileID: 62216952}
+ - component: {fileID: 62216957}
+ - component: {fileID: 62216956}
+ - component: {fileID: 62216955}
+ - component: {fileID: 62216954}
+ - component: {fileID: 62216953}
m_Layer: 0
m_Name: Scene Camera
m_TagString: MainCamera
@@ -114,10 +137,10 @@ Transform:
m_LocalRotation: {x: 0.26945794, y: 0, z: 0, w: 0.96301216}
m_LocalPosition: {x: -1.11, y: 10.1, z: -17.45}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 31.264, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 31.264, y: 0, z: 0}
--- !u!114 &62216953
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -130,7 +153,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
Name: Scene Camera
+ basicEditor: 1
advancedProps: 0
+ hitProps: 0
hit3DObjects: 1
hit2DObjects: 0
hitWorldSpaceUI: 0
@@ -190,6 +215,8 @@ Camera:
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
+ m_AllowMSAA: 1
+ m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
@@ -203,11 +230,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 242343086}
- - 222: {fileID: 242343088}
- - 114: {fileID: 242343087}
+ - component: {fileID: 242343086}
+ - component: {fileID: 242343088}
+ - component: {fileID: 242343087}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -224,10 +251,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -271,10 +298,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 250857271}
- - 114: {fileID: 250857270}
+ - component: {fileID: 250857271}
+ - component: {fileID: 250857270}
m_Layer: 5
m_Name: List
m_TagString: Untagged
@@ -302,6 +329,8 @@ MonoBehaviour:
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 0
+ m_ChildControlWidth: 1
+ m_ChildControlHeight: 1
--- !u!224 &250857271
RectTransform:
m_ObjectHideFlags: 0
@@ -311,13 +340,13 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 922779737}
- {fileID: 1679844150}
- {fileID: 1962593004}
m_Father: {fileID: 1981142013}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
@@ -386,9 +415,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 312263520}
+ - component: {fileID: 312263520}
m_Layer: 0
m_Name: Container
m_TagString: Untagged
@@ -405,7 +434,6 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 497908867}
- {fileID: 769487672}
@@ -415,6 +443,7 @@ Transform:
- {fileID: 1411274273}
m_Father: {fileID: 930800601}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &497908867 stripped
Transform:
m_PrefabParentObject: {fileID: 496116, guid: 3c294c033fb7140d09b0bd33830617bb, type: 2}
@@ -458,18 +487,14 @@ Prefab:
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
+ - target: {fileID: 400002, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
+ propertyPath: m_RootOrder
+ value: 1
+ objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
propertyPath: layers.Array.data[0]
value:
objectReference: {fileID: 62216953}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: layers.Array.data[1]
- value:
- objectReference: {fileID: 0}
- - target: {fileID: 11400000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
- propertyPath: m_Enabled
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 1c4dd8a13f501b04f84fe824120f70bb, type: 2}
m_IsPrefabParent: 0
@@ -492,20 +517,34 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7a878a6ff128243dfb1d89ca0273f059, type: 3}
m_Name:
m_EditorClassIdentifier:
- debugMode: 0
+ OnStateChange:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ basicEditor: 0
+ generalProps: 0
+ limitsProps: 0
advancedProps: 0
minPointers: 0
maxPointers: 0
- combinePointers: 0
- combinePointersInterval: 0.3
useSendMessage: 0
sendStateChangeMessages: 0
sendMessageTarget: {fileID: 0}
+ useUnityEvents: 0
+ sendStateChangeEvents: 0
requireGestureToFail: {fileID: 0}
friendlyGestures: []
+ OnTap:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: TouchScript.Gestures.Gesture+GestureEvent, Assembly-CSharp, Version=0.0.0.0,
+ Culture=neutral, PublicKeyToken=null
numberOfTapsRequired: 2
- timeLimit: Infinity
+ timeLimit: 1
distanceLimit: Infinity
+ combinePointers: 0
+ combinePointersInterval: 0.3
--- !u!114 &584553679
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -529,15 +568,15 @@ Prefab:
m_Modifications:
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalPosition.x
- value: -.0399999991
+ value: -0.04
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalPosition.y
- value: -12.9700003
+ value: -12.97
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalPosition.z
- value: .25999999
+ value: 0.26
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalRotation.x
@@ -545,7 +584,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalRotation.y
- value: .360566735
+ value: 0.36056674
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalRotation.z
@@ -553,7 +592,7 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_LocalRotation.w
- value: .932733476
+ value: 0.9327335
objectReference: {fileID: 0}
- target: {fileID: 400004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
propertyPath: m_RootOrder
@@ -594,17 +633,19 @@ MeshCollider:
m_Enabled: 1
serializedVersion: 2
m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
m_Mesh: {fileID: 4300006, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
--- !u!1 &740851131
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 740851132}
- - 223: {fileID: 740851135}
- - 114: {fileID: 740851134}
+ - component: {fileID: 740851132}
+ - component: {fileID: 740851135}
+ - component: {fileID: 740851134}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
@@ -621,12 +662,12 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1981142013}
- {fileID: 1552723601}
m_Father: {fileID: 0}
m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -660,7 +701,7 @@ Canvas:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 740851131}
m_Enabled: 1
- serializedVersion: 2
+ serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
@@ -669,6 +710,7 @@ Canvas:
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
@@ -785,10 +827,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 922779737}
- - 114: {fileID: 922779736}
+ - component: {fileID: 922779737}
+ - component: {fileID: 922779736}
m_Layer: 5
m_Name: Double tap
m_TagString: Untagged
@@ -823,12 +865,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1149683276}
- {fileID: 1166494019}
m_Father: {fileID: 250857271}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -839,9 +881,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 930800601}
+ - component: {fileID: 930800601}
m_Layer: 0
m_Name: Scene
m_TagString: Untagged
@@ -858,7 +900,6 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 2135305920}
- {fileID: 62216952}
@@ -866,16 +907,17 @@ Transform:
- {fileID: 312263520}
m_Father: {fileID: 0}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1138005899
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1138005900}
- - 222: {fileID: 1138005902}
- - 114: {fileID: 1138005901}
+ - component: {fileID: 1138005900}
+ - component: {fileID: 1138005902}
+ - component: {fileID: 1138005901}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -892,10 +934,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -939,11 +981,11 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1149683276}
- - 222: {fileID: 1149683278}
- - 114: {fileID: 1149683277}
+ - component: {fileID: 1149683276}
+ - component: {fileID: 1149683278}
+ - component: {fileID: 1149683277}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
@@ -960,10 +1002,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 922779737}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 31, y: 0}
@@ -1007,12 +1049,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1166494019}
- - 222: {fileID: 1166494022}
- - 114: {fileID: 1166494021}
- - 114: {fileID: 1166494020}
+ - component: {fileID: 1166494019}
+ - component: {fileID: 1166494022}
+ - component: {fileID: 1166494021}
+ - component: {fileID: 1166494020}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1029,10 +1071,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 922779737}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1166,18 +1208,20 @@ MeshCollider:
m_Enabled: 1
serializedVersion: 2
m_Convex: 1
+ m_InflateMesh: 0
+ m_SkinWidth: 0.01
m_Mesh: {fileID: 4300004, guid: 648250201fabe574b8591ee45cddcf4a, type: 3}
--- !u!1 &1399100003
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1399100004}
- - 222: {fileID: 1399100006}
- - 114: {fileID: 1399100005}
- - 114: {fileID: 1399100007}
+ - component: {fileID: 1399100004}
+ - component: {fileID: 1399100006}
+ - component: {fileID: 1399100005}
+ - component: {fileID: 1399100007}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1194,10 +1238,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1962593004}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1261,12 +1305,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1408280581}
- - 222: {fileID: 1408280583}
- - 114: {fileID: 1408280582}
- - 114: {fileID: 1408280584}
+ - component: {fileID: 1408280581}
+ - component: {fileID: 1408280583}
+ - component: {fileID: 1408280582}
+ - component: {fileID: 1408280584}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@@ -1283,10 +1327,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 1679844150}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 177.5, y: 0}
@@ -1396,12 +1440,12 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1552723601}
- - 222: {fileID: 1552723603}
- - 114: {fileID: 1552723602}
- - 114: {fileID: 1552723604}
+ - component: {fileID: 1552723601}
+ - component: {fileID: 1552723603}
+ - component: {fileID: 1552723602}
+ - component: {fileID: 1552723604}
m_Layer: 5
m_Name: Description
m_TagString: Untagged
@@ -1418,10 +1462,10 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 740851132}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 178, y: 78}
@@ -1544,10 +1588,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1679844150}
- - 114: {fileID: 1679844151}
+ - component: {fileID: 1679844150}
+ - component: {fileID: 1679844151}
m_Layer: 5
m_Name: Tap
m_TagString: Untagged
@@ -1564,12 +1608,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1138005900}
- {fileID: 1408280581}
m_Father: {fileID: 250857271}
m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1602,10 +1646,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 1764701050}
- - 114: {fileID: 1764701049}
+ - component: {fileID: 1764701050}
+ - component: {fileID: 1764701049}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -1636,10 +1680,10 @@ Transform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1772227325
Prefab:
m_ObjectHideFlags: 0
@@ -1647,18 +1691,86 @@ Prefab:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_RootOrder
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401058, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
+ propertyPath: m_Pivot.y
+ value: 0
+ objectReference: {fileID: 0}
- target: {fileID: 11400000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- propertyPath: m_Enabled
+ propertyPath: useDPI
value: 1
objectReference: {fileID: 0}
- target: {fileID: 100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 400000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
- propertyPath: m_RootOrder
- value: 1
- objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: c0dc5781cae4a6348b42ea6b818a3f9c, type: 2}
m_IsPrefabParent: 0
@@ -1667,10 +1779,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1962593004}
- - 114: {fileID: 1962593005}
+ - component: {fileID: 1962593004}
+ - component: {fileID: 1962593005}
m_Layer: 5
m_Name: Hold
m_TagString: Untagged
@@ -1687,12 +1799,12 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 242343086}
- {fileID: 1399100004}
m_Father: {fileID: 250857271}
m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@@ -1721,9 +1833,9 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 224: {fileID: 1981142013}
+ - component: {fileID: 1981142013}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -1740,11 +1852,11 @@ RectTransform:
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 250857271}
m_Father: {fileID: 740851132}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.25263783, y: 1}
m_AnchoredPosition: {x: 5, y: 50}
@@ -1755,10 +1867,10 @@ GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- serializedVersion: 4
+ serializedVersion: 5
m_Component:
- - 4: {fileID: 2135305920}
- - 108: {fileID: 2135305921}
+ - component: {fileID: 2135305920}
+ - component: {fileID: 2135305921}
m_Layer: 0
m_Name: Directional light
m_TagString: Untagged
@@ -1775,10 +1887,10 @@ Transform:
m_LocalRotation: {x: 0.24194291, y: -0.49854365, z: 0.22107579, w: 0.80252314}
m_LocalPosition: {x: 6.1004148, y: 15.540384, z: -20.566225}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 37.5, y: -60.899998, z: 8.2324}
m_Children: []
m_Father: {fileID: 930800601}
m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 37.5, y: -60.899998, z: 8.2324}
--- !u!108 &2135305921
Light:
m_ObjectHideFlags: 0
@@ -1786,7 +1898,7 @@ Light:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2135305919}
m_Enabled: 1
- serializedVersion: 6
+ serializedVersion: 8
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1.3
@@ -1796,6 +1908,7 @@ Light:
m_Shadows:
m_Type: 2
m_Resolution: 3
+ m_CustomResolution: -1
m_Strength: 0.56
m_Bias: 0.1
m_NormalBias: 0.4
@@ -1808,7 +1921,9 @@ Light:
serializedVersion: 2
m_Bits: 4294967295
m_Lightmapping: 1
+ m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
- m_AreaSize: {x: 1, y: 1}
diff --git a/Source/Assets/TouchScript/Examples/Taps/Taps.unity.meta b/Source/Assets/TouchScript/Examples/Taps/Taps.unity.meta
index 435cfb1ed..38e69afdf 100644
--- a/Source/Assets/TouchScript/Examples/Taps/Taps.unity.meta
+++ b/Source/Assets/TouchScript/Examples/Taps/Taps.unity.meta
@@ -1,4 +1,4 @@
fileFormatVersion: 2
guid: 5013fa58cea314376b273bd8905581f4
DefaultImporter:
- userData: "1"
+ userData: "2"
diff --git a/Source/Assets/TouchScript/Examples/_misc/Scripts/ExamplesList.cs b/Source/Assets/TouchScript/Examples/_misc/Scripts/ExamplesList.cs
index 6fde3c15c..47f0ff31e 100644
--- a/Source/Assets/TouchScript/Examples/_misc/Scripts/ExamplesList.cs
+++ b/Source/Assets/TouchScript/Examples/_misc/Scripts/ExamplesList.cs
@@ -1,19 +1,22 @@
-using UnityEngine;
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
-public class ExamplesList : MonoBehaviour
-{
-
- public RectTransform Content;
+using UnityEngine;
- void Start ()
- {
- gameObject.SetActive(false);
- }
+///
+public class ExamplesList : MonoBehaviour
+{
+ public RectTransform Content;
- public void ShowHide()
- {
- gameObject.SetActive(!gameObject.activeSelf);
- Content.localPosition = Vector3.zero;
- }
+ void Start()
+ {
+ gameObject.SetActive(false);
+ }
-}
+ public void ShowHide()
+ {
+ gameObject.SetActive(!gameObject.activeSelf);
+ Content.localPosition = Vector3.zero;
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/_misc/Scripts/Highlight.cs b/Source/Assets/TouchScript/Examples/_misc/Scripts/Highlight.cs
index a7d3e665f..a7c4b7e5b 100644
--- a/Source/Assets/TouchScript/Examples/_misc/Scripts/Highlight.cs
+++ b/Source/Assets/TouchScript/Examples/_misc/Scripts/Highlight.cs
@@ -3,42 +3,40 @@
*/
using UnityEngine;
-using System.Collections;
-using TouchScript.Behaviors;
+using TouchScript.Behaviors.UI;
-public class Highlight : MonoBehaviour
+///
+public class Highlight : MonoBehaviour
{
-
- public Color OverColor = Color.red;
-
- private OverHelper over;
- private MeshRenderer r;
- private Material oldMaterial;
-
- private void OnEnable()
- {
- over = GetComponent();
- r = GetComponent();
- oldMaterial = r.sharedMaterial;
-
- over.Over += overHandler;
- over.Out += outHandler;
- }
-
- private void OnDisable()
- {
- over.Over -= overHandler;
- over.Out -= outHandler;
- }
-
- void overHandler (object sender, System.EventArgs e)
- {
- r.material.color = OverColor;
- }
-
- void outHandler (object sender, System.EventArgs e)
- {
- r.material = oldMaterial;
- }
-
-}
+ public Color OverColor = Color.red;
+
+ private OverHelper over;
+ private MeshRenderer r;
+ private Material oldMaterial;
+
+ private void OnEnable()
+ {
+ over = GetComponent();
+ r = GetComponent();
+ oldMaterial = r.sharedMaterial;
+
+ over.Over += overHandler;
+ over.Out += outHandler;
+ }
+
+ private void OnDisable()
+ {
+ over.Over -= overHandler;
+ over.Out -= outHandler;
+ }
+
+ void overHandler(object sender, System.EventArgs e)
+ {
+ r.material.color = OverColor;
+ }
+
+ void outHandler(object sender, System.EventArgs e)
+ {
+ r.material = oldMaterial;
+ }
+}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/_misc/Scripts/KillMe.cs b/Source/Assets/TouchScript/Examples/_misc/Scripts/KillMe.cs
index 3f3754f17..52c84878a 100644
--- a/Source/Assets/TouchScript/Examples/_misc/Scripts/KillMe.cs
+++ b/Source/Assets/TouchScript/Examples/_misc/Scripts/KillMe.cs
@@ -7,9 +7,7 @@
namespace TouchScript.Examples
{
- ///
- /// When enabled this component destroys the GameObject it is attached to in seconds.
- ///
+ ///
public class KillMe : MonoBehaviour
{
public float Delay = 1f;
diff --git a/Source/Assets/TouchScript/Examples/_misc/Scripts/Runner.cs b/Source/Assets/TouchScript/Examples/_misc/Scripts/Runner.cs
index 78bec68aa..115c549b9 100644
--- a/Source/Assets/TouchScript/Examples/_misc/Scripts/Runner.cs
+++ b/Source/Assets/TouchScript/Examples/_misc/Scripts/Runner.cs
@@ -5,34 +5,31 @@
using UnityEngine;
using TouchScript.Layers;
using System.Collections;
-
#if UNITY_EDITOR
using UnityEditor;
using System;
#endif
-
#if UNITY_5_3_OR_NEWER
using UnityEngine.SceneManagement;
+
#endif
namespace TouchScript.Examples
{
- ///
- /// This component loads demo scenes in a loop.
- ///
+ ///
public class Runner : MonoBehaviour
{
private static Runner instance;
private TouchLayer layer;
- public void LoadLevel(string name)
- {
+ public void LoadLevel(string name)
+ {
#if UNITY_5_3_OR_NEWER
- SceneManager.LoadScene(name);
+ SceneManager.LoadScene(name);
#else
Application.LoadLevel(name);
#endif
- }
+ }
public void LoadNextLevel()
{
@@ -43,20 +40,20 @@ public void LoadNextLevel()
#endif
}
- public void LoadPreviousLevel()
- {
+ public void LoadPreviousLevel()
+ {
#if UNITY_5_3_OR_NEWER
- var newLevel = SceneManager.GetActiveScene().buildIndex - 1;
- if (newLevel == 0) newLevel = SceneManager.sceneCountInBuildSettings - 1;
- SceneManager.LoadScene(newLevel);
+ var newLevel = SceneManager.GetActiveScene().buildIndex - 1;
+ if (newLevel == 0) newLevel = SceneManager.sceneCountInBuildSettings - 1;
+ SceneManager.LoadScene(newLevel);
#else
var newLevel = Application.loadedLevel - 1;
if (newLevel == 0) newLevel = Application.levelCount - 1;
Application.LoadLevel(newLevel);
#endif
- }
+ }
- private void Start()
+ private void Start()
{
if (instance == null)
{
@@ -64,26 +61,27 @@ private void Start()
DontDestroyOnLoad(gameObject);
}
- layer = GetComponent();
+ layer = GetComponent();
#if UNITY_EDITOR
- var guids = AssetDatabase.FindAssets("t:Scene", new string[]{"Assets/TouchScript/Examples"});
- if (EditorBuildSettings.scenes.Length != guids.Length)
- {
- if (EditorUtility.DisplayDialog("Add Example Scenes to Build Settings?",
- "You are running Examples scene but example scenes are not added to Build Settings. Do you want to add them now?", "Yes", "No"))
- {
- var importers = Array.ConvertAll(guids, (string guid) => AssetImporter.GetAtPath(AssetDatabase.GUIDToAssetPath(guid)));
- Array.Sort(importers, (AssetImporter a, AssetImporter b) => {
- var i1 = string.IsNullOrEmpty(a.userData) ? 42 : Convert.ToInt32(a.userData);
- var i2 = string.IsNullOrEmpty(b.userData) ? 42 : Convert.ToInt32(b.userData);
- if (i1 == i2) return 0;
- return i1 - i2;
- });
- EditorBuildSettings.scenes = Array.ConvertAll(importers, (AssetImporter i) => new EditorBuildSettingsScene(i.assetPath, true));
- EditorUtility.DisplayDialog("Success", "Example scenes were added to Build Settings. Please restart Play Mode.", "OK");
- }
- }
+ var guids = AssetDatabase.FindAssets("t:Scene", new string[] {"Assets/TouchScript/Examples"});
+ if (EditorBuildSettings.scenes.Length != guids.Length)
+ {
+ if (EditorUtility.DisplayDialog("Add Example Scenes to Build Settings?",
+ "You are running Examples scene but example scenes are not added to Build Settings. Do you want to add them now?", "Yes", "No"))
+ {
+ var importers = Array.ConvertAll(guids, (string guid) => AssetImporter.GetAtPath(AssetDatabase.GUIDToAssetPath(guid)));
+ Array.Sort(importers, (AssetImporter a, AssetImporter b) =>
+ {
+ var i1 = string.IsNullOrEmpty(a.userData) ? 42 : Convert.ToInt32(a.userData);
+ var i2 = string.IsNullOrEmpty(b.userData) ? 42 : Convert.ToInt32(b.userData);
+ if (i1 == i2) return 0;
+ return i1 - i2;
+ });
+ EditorBuildSettings.scenes = Array.ConvertAll(importers, (AssetImporter i) => new EditorBuildSettingsScene(i.assetPath, true));
+ EditorUtility.DisplayDialog("Success", "Example scenes were added to Build Settings. Please restart Play Mode.", "OK");
+ }
+ }
#endif
#if UNITY_5_4_OR_NEWER
@@ -100,10 +98,18 @@ private void Start()
}
}
+ private void OnDestroy()
+ {
+#if UNITY_5_4_OR_NEWER
+ SceneManager.sceneLoaded -= sceneLoadedHandler;
+#endif
+ }
+
private void Update()
{
if (Input.GetKeyDown(KeyCode.Escape)) Application.Quit();
}
+
#if UNITY_5_4_OR_NEWER
private void sceneLoadedHandler(Scene scene, LoadSceneMode mode)
{
@@ -117,9 +123,9 @@ private void OnLevelWasLoaded(int num)
#endif
private IEnumerator resetUILayer()
- {
- yield return new WaitForEndOfFrame();
- TouchManager.Instance.AddLayer(layer, 0);
- }
+ {
+ yield return new WaitForEndOfFrame();
+ LayerManager.Instance.AddLayer(layer, 0);
+ }
}
}
\ No newline at end of file
diff --git a/Source/Assets/TouchScript/Examples/_misc/Scripts/ShowMe.cs b/Source/Assets/TouchScript/Examples/_misc/Scripts/ShowMe.cs
index f7a60cfae..8f3a5d564 100644
--- a/Source/Assets/TouchScript/Examples/_misc/Scripts/ShowMe.cs
+++ b/Source/Assets/TouchScript/Examples/_misc/Scripts/ShowMe.cs
@@ -1,13 +1,18 @@
-using UnityEngine;
+/*
+ * @author Valentin Simonov / http://va.lent.in/
+ */
+
+using UnityEngine;
using System.Collections;
-public class ShowMe : MonoBehaviour
+///
+public class ShowMe : MonoBehaviour
{
- IEnumerator Start ()
- {
- var canvas = GetComponent