parent
f499ab0238
commit
3733ec970b
34 changed files with 1760 additions and 47 deletions
@ -0,0 +1,199 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1101 &-8917021686319346471 |
||||||
|
AnimatorStateTransition: |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: |
||||||
|
m_Conditions: [] |
||||||
|
m_DstStateMachine: {fileID: 0} |
||||||
|
m_DstState: {fileID: 8659196853530348169} |
||||||
|
m_Solo: 0 |
||||||
|
m_Mute: 0 |
||||||
|
m_IsExit: 0 |
||||||
|
serializedVersion: 3 |
||||||
|
m_TransitionDuration: 0 |
||||||
|
m_TransitionOffset: 0 |
||||||
|
m_ExitTime: 1 |
||||||
|
m_HasExitTime: 1 |
||||||
|
m_HasFixedDuration: 1 |
||||||
|
m_InterruptionSource: 0 |
||||||
|
m_OrderedInterruption: 1 |
||||||
|
m_CanTransitionToSelf: 1 |
||||||
|
--- !u!1102 &-5204081279454011557 |
||||||
|
AnimatorState: |
||||||
|
serializedVersion: 5 |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: Snowflake_Shatter |
||||||
|
m_Speed: 1 |
||||||
|
m_CycleOffset: 0 |
||||||
|
m_Transitions: |
||||||
|
- {fileID: -8917021686319346471} |
||||||
|
m_StateMachineBehaviours: [] |
||||||
|
m_Position: {x: 50, y: 50, z: 0} |
||||||
|
m_IKOnFeet: 0 |
||||||
|
m_WriteDefaultValues: 1 |
||||||
|
m_Mirror: 0 |
||||||
|
m_SpeedParameterActive: 0 |
||||||
|
m_MirrorParameterActive: 0 |
||||||
|
m_CycleOffsetParameterActive: 0 |
||||||
|
m_TimeParameterActive: 0 |
||||||
|
m_Motion: {fileID: 7400000, guid: 51a18b7c2043a5440a3e2282f150a2d1, type: 2} |
||||||
|
m_Tag: |
||||||
|
m_SpeedParameter: |
||||||
|
m_MirrorParameter: |
||||||
|
m_CycleOffsetParameter: |
||||||
|
m_TimeParameter: |
||||||
|
--- !u!1102 &-3980762192105778586 |
||||||
|
AnimatorState: |
||||||
|
serializedVersion: 5 |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: Snowflake_Spawn |
||||||
|
m_Speed: 1 |
||||||
|
m_CycleOffset: 0 |
||||||
|
m_Transitions: |
||||||
|
- {fileID: 679382405882120703} |
||||||
|
m_StateMachineBehaviours: [] |
||||||
|
m_Position: {x: 50, y: 50, z: 0} |
||||||
|
m_IKOnFeet: 0 |
||||||
|
m_WriteDefaultValues: 1 |
||||||
|
m_Mirror: 0 |
||||||
|
m_SpeedParameterActive: 0 |
||||||
|
m_MirrorParameterActive: 0 |
||||||
|
m_CycleOffsetParameterActive: 0 |
||||||
|
m_TimeParameterActive: 0 |
||||||
|
m_Motion: {fileID: 7400000, guid: 47f0465b8f41b794cbc49c7ba473d0a9, type: 2} |
||||||
|
m_Tag: |
||||||
|
m_SpeedParameter: |
||||||
|
m_MirrorParameter: |
||||||
|
m_CycleOffsetParameter: |
||||||
|
m_TimeParameter: |
||||||
|
--- !u!91 &9100000 |
||||||
|
AnimatorController: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: SnowflakeLogo |
||||||
|
serializedVersion: 5 |
||||||
|
m_AnimatorParameters: [] |
||||||
|
m_AnimatorLayers: |
||||||
|
- serializedVersion: 5 |
||||||
|
m_Name: Base Layer |
||||||
|
m_StateMachine: {fileID: 2106951520893035423} |
||||||
|
m_Mask: {fileID: 0} |
||||||
|
m_Motions: [] |
||||||
|
m_Behaviours: [] |
||||||
|
m_BlendingMode: 0 |
||||||
|
m_SyncedLayerIndex: -1 |
||||||
|
m_DefaultWeight: 0 |
||||||
|
m_IKPass: 0 |
||||||
|
m_SyncedLayerAffectsTiming: 0 |
||||||
|
m_Controller: {fileID: 9100000} |
||||||
|
--- !u!1101 &679382405882120703 |
||||||
|
AnimatorStateTransition: |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: |
||||||
|
m_Conditions: [] |
||||||
|
m_DstStateMachine: {fileID: 0} |
||||||
|
m_DstState: {fileID: -5204081279454011557} |
||||||
|
m_Solo: 0 |
||||||
|
m_Mute: 0 |
||||||
|
m_IsExit: 0 |
||||||
|
serializedVersion: 3 |
||||||
|
m_TransitionDuration: 0 |
||||||
|
m_TransitionOffset: 0 |
||||||
|
m_ExitTime: 1 |
||||||
|
m_HasExitTime: 1 |
||||||
|
m_HasFixedDuration: 1 |
||||||
|
m_InterruptionSource: 0 |
||||||
|
m_OrderedInterruption: 1 |
||||||
|
m_CanTransitionToSelf: 1 |
||||||
|
--- !u!1107 &2106951520893035423 |
||||||
|
AnimatorStateMachine: |
||||||
|
serializedVersion: 5 |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: Base Layer |
||||||
|
m_ChildStates: |
||||||
|
- serializedVersion: 1 |
||||||
|
m_State: {fileID: -3980762192105778586} |
||||||
|
m_Position: {x: 250, y: 200, z: 0} |
||||||
|
- serializedVersion: 1 |
||||||
|
m_State: {fileID: -5204081279454011557} |
||||||
|
m_Position: {x: 220, y: 470, z: 0} |
||||||
|
- serializedVersion: 1 |
||||||
|
m_State: {fileID: 8659196853530348169} |
||||||
|
m_Position: {x: 610, y: 280, z: 0} |
||||||
|
m_ChildStateMachines: [] |
||||||
|
m_AnyStateTransitions: [] |
||||||
|
m_EntryTransitions: [] |
||||||
|
m_StateMachineTransitions: {} |
||||||
|
m_StateMachineBehaviours: [] |
||||||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0} |
||||||
|
m_EntryPosition: {x: 50, y: 120, z: 0} |
||||||
|
m_ExitPosition: {x: 800, y: 120, z: 0} |
||||||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} |
||||||
|
m_DefaultState: {fileID: -3980762192105778586} |
||||||
|
--- !u!1101 &8184535706000821265 |
||||||
|
AnimatorStateTransition: |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: |
||||||
|
m_Conditions: [] |
||||||
|
m_DstStateMachine: {fileID: 0} |
||||||
|
m_DstState: {fileID: -3980762192105778586} |
||||||
|
m_Solo: 0 |
||||||
|
m_Mute: 0 |
||||||
|
m_IsExit: 0 |
||||||
|
serializedVersion: 3 |
||||||
|
m_TransitionDuration: 0 |
||||||
|
m_TransitionOffset: 0 |
||||||
|
m_ExitTime: 1 |
||||||
|
m_HasExitTime: 1 |
||||||
|
m_HasFixedDuration: 1 |
||||||
|
m_InterruptionSource: 0 |
||||||
|
m_OrderedInterruption: 1 |
||||||
|
m_CanTransitionToSelf: 1 |
||||||
|
--- !u!1102 &8659196853530348169 |
||||||
|
AnimatorState: |
||||||
|
serializedVersion: 5 |
||||||
|
m_ObjectHideFlags: 1 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: DisnyLogo |
||||||
|
m_Speed: 1 |
||||||
|
m_CycleOffset: 0 |
||||||
|
m_Transitions: |
||||||
|
- {fileID: 8184535706000821265} |
||||||
|
m_StateMachineBehaviours: [] |
||||||
|
m_Position: {x: 50, y: 50, z: 0} |
||||||
|
m_IKOnFeet: 0 |
||||||
|
m_WriteDefaultValues: 1 |
||||||
|
m_Mirror: 0 |
||||||
|
m_SpeedParameterActive: 0 |
||||||
|
m_MirrorParameterActive: 0 |
||||||
|
m_CycleOffsetParameterActive: 0 |
||||||
|
m_TimeParameterActive: 0 |
||||||
|
m_Motion: {fileID: 7400000, guid: 91be761ac10551049a286e73f4589914, type: 2} |
||||||
|
m_Tag: |
||||||
|
m_SpeedParameter: |
||||||
|
m_MirrorParameter: |
||||||
|
m_CycleOffsetParameter: |
||||||
|
m_TimeParameter: |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 133fc5f4e6c6c3849bf1098b1e50faee |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 9100000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,79 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!74 &7400000 |
||||||
|
AnimationClip: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_Name: DisnyLogo |
||||||
|
serializedVersion: 6 |
||||||
|
m_Legacy: 0 |
||||||
|
m_Compressed: 0 |
||||||
|
m_UseHighQualityCurve: 1 |
||||||
|
m_RotationCurves: [] |
||||||
|
m_CompressedRotationCurves: [] |
||||||
|
m_EulerCurves: [] |
||||||
|
m_PositionCurves: [] |
||||||
|
m_ScaleCurves: [] |
||||||
|
m_FloatCurves: [] |
||||||
|
m_PPtrCurves: |
||||||
|
- curve: |
||||||
|
- time: 0.1 |
||||||
|
value: {fileID: 0} |
||||||
|
- time: 5 |
||||||
|
value: {fileID: 0} |
||||||
|
attribute: videoAsset |
||||||
|
path: |
||||||
|
classID: 114 |
||||||
|
script: {fileID: 11500000, guid: f4c0b11838629ea45a4e7bfdf436a57c, type: 3} |
||||||
|
m_SampleRate: 60 |
||||||
|
m_WrapMode: 2 |
||||||
|
m_Bounds: |
||||||
|
m_Center: {x: 0, y: 0, z: 0} |
||||||
|
m_Extent: {x: 0, y: 0, z: 0} |
||||||
|
m_ClipBindingConstant: |
||||||
|
genericBindings: |
||||||
|
- serializedVersion: 2 |
||||||
|
path: 0 |
||||||
|
attribute: 2581354655 |
||||||
|
script: {fileID: 11500000, guid: f4c0b11838629ea45a4e7bfdf436a57c, type: 3} |
||||||
|
typeID: 114 |
||||||
|
customType: 0 |
||||||
|
isPPtrCurve: 1 |
||||||
|
pptrCurveMapping: |
||||||
|
- {fileID: 0} |
||||||
|
- {fileID: 0} |
||||||
|
m_AnimationClipSettings: |
||||||
|
serializedVersion: 2 |
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0} |
||||||
|
m_AdditiveReferencePoseTime: 0 |
||||||
|
m_StartTime: 0 |
||||||
|
m_StopTime: 5.016667 |
||||||
|
m_OrientationOffsetY: 0 |
||||||
|
m_Level: 0 |
||||||
|
m_CycleOffset: 0 |
||||||
|
m_HasAdditiveReferencePose: 0 |
||||||
|
m_LoopTime: 1 |
||||||
|
m_LoopBlend: 0 |
||||||
|
m_LoopBlendOrientation: 0 |
||||||
|
m_LoopBlendPositionY: 0 |
||||||
|
m_LoopBlendPositionXZ: 0 |
||||||
|
m_KeepOriginalOrientation: 0 |
||||||
|
m_KeepOriginalPositionY: 1 |
||||||
|
m_KeepOriginalPositionXZ: 0 |
||||||
|
m_HeightFromFeet: 0 |
||||||
|
m_Mirror: 0 |
||||||
|
m_EditorCurves: [] |
||||||
|
m_EulerEditorCurves: [] |
||||||
|
m_HasGenericRootTransform: 0 |
||||||
|
m_HasMotionFloatCurves: 0 |
||||||
|
m_Events: |
||||||
|
- time: 0 |
||||||
|
functionName: Play |
||||||
|
data: |
||||||
|
objectReferenceParameter: {fileID: 11400000, guid: 0b780110d61e15b408a1a28f31cee71e, |
||||||
|
type: 2} |
||||||
|
floatParameter: 0 |
||||||
|
intParameter: 0 |
||||||
|
messageOptions: 0 |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 91be761ac10551049a286e73f4589914 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 7400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,17 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b7eca376a120a0e49a97afa024778843, type: 3} |
||||||
|
m_Name: DisnyLogo |
||||||
|
m_EditorClassIdentifier: |
||||||
|
m_VideoLocation: 1 |
||||||
|
m_VideoPath: ..\..\Build-19050-Frozen2-04-IceSlide\SHD_logo_reveal.avi |
||||||
|
animationClip: {fileID: 7400000, guid: 91be761ac10551049a286e73f4589914, type: 2} |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 0b780110d61e15b408a1a28f31cee71e |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: c09edc4acf87c4a47b28dd49f62cab82 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
|
After Width: | Height: | Size: 4.0 MiB |
@ -0,0 +1,90 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 31d5bddd91d447146a2579293af90e3d |
||||||
|
TextureImporter: |
||||||
|
internalIDToNameTable: [] |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 10 |
||||||
|
mipmaps: |
||||||
|
mipMapMode: 0 |
||||||
|
enableMipMap: 1 |
||||||
|
sRGBTexture: 1 |
||||||
|
linearTexture: 0 |
||||||
|
fadeOut: 0 |
||||||
|
borderMipMap: 0 |
||||||
|
mipMapsPreserveCoverage: 0 |
||||||
|
alphaTestReferenceValue: 0.5 |
||||||
|
mipMapFadeDistanceStart: 1 |
||||||
|
mipMapFadeDistanceEnd: 3 |
||||||
|
bumpmap: |
||||||
|
convertToNormalMap: 0 |
||||||
|
externalNormalMap: 0 |
||||||
|
heightScale: 0.25 |
||||||
|
normalMapFilter: 0 |
||||||
|
isReadable: 0 |
||||||
|
streamingMipmaps: 0 |
||||||
|
streamingMipmapsPriority: 0 |
||||||
|
grayScaleToAlpha: 0 |
||||||
|
generateCubemap: 6 |
||||||
|
cubemapConvolution: 0 |
||||||
|
seamlessCubemap: 0 |
||||||
|
textureFormat: 1 |
||||||
|
maxTextureSize: 2048 |
||||||
|
textureSettings: |
||||||
|
serializedVersion: 2 |
||||||
|
filterMode: -1 |
||||||
|
aniso: -1 |
||||||
|
mipBias: -100 |
||||||
|
wrapU: -1 |
||||||
|
wrapV: -1 |
||||||
|
wrapW: -1 |
||||||
|
nPOTScale: 1 |
||||||
|
lightmap: 0 |
||||||
|
compressionQuality: 50 |
||||||
|
spriteMode: 0 |
||||||
|
spriteExtrude: 1 |
||||||
|
spriteMeshType: 1 |
||||||
|
alignment: 0 |
||||||
|
spritePivot: {x: 0.5, y: 0.5} |
||||||
|
spritePixelsToUnits: 100 |
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
||||||
|
spriteGenerateFallbackPhysicsShape: 1 |
||||||
|
alphaUsage: 1 |
||||||
|
alphaIsTransparency: 0 |
||||||
|
spriteTessellationDetail: -1 |
||||||
|
textureType: 0 |
||||||
|
textureShape: 1 |
||||||
|
singleChannelComponent: 0 |
||||||
|
maxTextureSizeSet: 0 |
||||||
|
compressionQualitySet: 0 |
||||||
|
textureFormatSet: 0 |
||||||
|
platformSettings: |
||||||
|
- serializedVersion: 2 |
||||||
|
buildTarget: DefaultTexturePlatform |
||||||
|
maxTextureSize: 2048 |
||||||
|
resizeAlgorithm: 0 |
||||||
|
textureFormat: -1 |
||||||
|
textureCompression: 1 |
||||||
|
compressionQuality: 50 |
||||||
|
crunchedCompression: 0 |
||||||
|
allowsAlphaSplitting: 0 |
||||||
|
overridden: 0 |
||||||
|
androidETC2FallbackOverride: 0 |
||||||
|
spriteSheet: |
||||||
|
serializedVersion: 2 |
||||||
|
sprites: [] |
||||||
|
outline: [] |
||||||
|
physicsShape: [] |
||||||
|
bones: [] |
||||||
|
spriteID: |
||||||
|
internalID: 0 |
||||||
|
vertices: [] |
||||||
|
indices: |
||||||
|
edges: [] |
||||||
|
weights: [] |
||||||
|
secondaryTextures: [] |
||||||
|
spritePackingTag: |
||||||
|
pSDRemoveMatte: 0 |
||||||
|
pSDShowRemoveMatteOption: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b9d6a51e25e4f544d8bee6274f918372 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 138af418b9d93eb4e87681c81d4e6d56 |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 425ac01a4a7664a4086221c285060209 |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 3e758595e100c954fa8d1c2b9804a322 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,113 @@ |
|||||||
|
Shader "UI/UCDefault" |
||||||
|
{ |
||||||
|
Properties |
||||||
|
{ |
||||||
|
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} |
||||||
|
_Color ("Tint", Color) = (1,1,1,1) |
||||||
|
|
||||||
|
_StencilComp ("Stencil Comparison", Float) = 8 |
||||||
|
_Stencil ("Stencil ID", Float) = 0 |
||||||
|
_StencilOp ("Stencil Operation", Float) = 0 |
||||||
|
_StencilWriteMask ("Stencil Write Mask", Float) = 255 |
||||||
|
_StencilReadMask ("Stencil Read Mask", Float) = 255 |
||||||
|
|
||||||
|
_ColorMask ("Color Mask", Float) = 15 |
||||||
|
|
||||||
|
[Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 |
||||||
|
} |
||||||
|
|
||||||
|
SubShader |
||||||
|
{ |
||||||
|
Tags |
||||||
|
{ |
||||||
|
"Queue"="Transparent" |
||||||
|
"IgnoreProjector"="True" |
||||||
|
"RenderType"="Transparent" |
||||||
|
"PreviewType"="Plane" |
||||||
|
"CanUseSpriteAtlas"="True" |
||||||
|
} |
||||||
|
|
||||||
|
Stencil |
||||||
|
{ |
||||||
|
Ref [_Stencil] |
||||||
|
Comp [_StencilComp] |
||||||
|
Pass [_StencilOp] |
||||||
|
ReadMask [_StencilReadMask] |
||||||
|
WriteMask [_StencilWriteMask] |
||||||
|
} |
||||||
|
|
||||||
|
Cull Off |
||||||
|
Lighting Off |
||||||
|
//ZWrite Off |
||||||
|
//ZTest [unity_GUIZTestMode] |
||||||
|
Blend SrcAlpha OneMinusSrcAlpha |
||||||
|
ColorMask [_ColorMask] |
||||||
|
|
||||||
|
Pass |
||||||
|
{ |
||||||
|
Name "Default" |
||||||
|
CGPROGRAM |
||||||
|
#pragma vertex vert |
||||||
|
#pragma fragment frag |
||||||
|
#pragma target 2.0 |
||||||
|
|
||||||
|
#include "UnityCG.cginc" |
||||||
|
#include "UnityUI.cginc" |
||||||
|
|
||||||
|
#pragma multi_compile __ UNITY_UI_ALPHACLIP |
||||||
|
|
||||||
|
struct appdata_t |
||||||
|
{ |
||||||
|
float4 vertex : POSITION; |
||||||
|
float4 color : COLOR; |
||||||
|
float2 texcoord : TEXCOORD0; |
||||||
|
UNITY_VERTEX_INPUT_INSTANCE_ID |
||||||
|
}; |
||||||
|
|
||||||
|
struct v2f |
||||||
|
{ |
||||||
|
float4 vertex : SV_POSITION; |
||||||
|
fixed4 color : COLOR; |
||||||
|
float2 texcoord : TEXCOORD0; |
||||||
|
float4 worldPosition : TEXCOORD1; |
||||||
|
UNITY_VERTEX_OUTPUT_STEREO |
||||||
|
}; |
||||||
|
|
||||||
|
fixed4 _Color; |
||||||
|
fixed4 _TextureSampleAdd; |
||||||
|
float4 _ClipRect; |
||||||
|
|
||||||
|
v2f vert(appdata_t IN) |
||||||
|
{ |
||||||
|
v2f OUT; |
||||||
|
UNITY_SETUP_INSTANCE_ID(IN); |
||||||
|
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(OUT); |
||||||
|
OUT.worldPosition = IN.vertex; |
||||||
|
OUT.vertex = UnityObjectToClipPos(OUT.worldPosition); |
||||||
|
|
||||||
|
OUT.texcoord = IN.texcoord; |
||||||
|
|
||||||
|
OUT.color = IN.color * _Color; |
||||||
|
return OUT; |
||||||
|
} |
||||||
|
|
||||||
|
sampler2D _MainTex; |
||||||
|
|
||||||
|
fixed4 frag(v2f IN) : SV_Target |
||||||
|
{ |
||||||
|
half4 color = (tex2D(_MainTex, IN.texcoord) + _TextureSampleAdd) * IN.color; |
||||||
|
color.a *= UnityGet2DClipping(IN.worldPosition.xy, _ClipRect); |
||||||
|
|
||||||
|
#ifdef UNITY_UI_ALPHACLIP |
||||||
|
clip (color.a - 0.001); |
||||||
|
#endif |
||||||
|
|
||||||
|
if(color.a == 0) |
||||||
|
discard; |
||||||
|
|
||||||
|
return color; |
||||||
|
} |
||||||
|
ENDCG |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: d558d354467c1324da31c9920577fcfd |
||||||
|
timeCreated: 1489391129 |
||||||
|
licenseType: Free |
||||||
|
ShaderImporter: |
||||||
|
defaultTextures: [] |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 670de2f621b2f6f4f8298aa40b9c7efe |
||||||
|
timeCreated: 1484648736 |
||||||
|
licenseType: Free |
||||||
|
ShaderImporter: |
||||||
|
defaultTextures: [] |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 91ce37ee28b99ce42872f13672016cb1 |
||||||
|
timeCreated: 1507810020 |
||||||
|
licenseType: Free |
||||||
|
ShaderImporter: |
||||||
|
defaultTextures: [] |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,83 @@ |
|||||||
|
%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: UI_Add |
||||||
|
m_Shader: {fileID: 4800000, guid: 670de2f621b2f6f4f8298aa40b9c7efe, type: 3} |
||||||
|
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 |
||||||
|
- _ColorMask: 15 |
||||||
|
- _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 |
||||||
|
- _Stencil: 0 |
||||||
|
- _StencilComp: 8 |
||||||
|
- _StencilOp: 0 |
||||||
|
- _StencilReadMask: 255 |
||||||
|
- _StencilWriteMask: 255 |
||||||
|
- _UVSec: 0 |
||||||
|
- _UseUIAlphaClip: 0 |
||||||
|
- _ZWrite: 1 |
||||||
|
m_Colors: |
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1} |
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 9609476c2d96ab64db4f40b7d0858aee |
||||||
|
timeCreated: 1512016283 |
||||||
|
licenseType: Free |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 2100000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,49 @@ |
|||||||
|
%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: UI_Default |
||||||
|
m_Shader: {fileID: 4800000, guid: d558d354467c1324da31c9920577fcfd, type: 3} |
||||||
|
m_ShaderKeywords: |
||||||
|
m_LightmapFlags: 5 |
||||||
|
m_CustomRenderQueue: -1 |
||||||
|
stringTagMap: {} |
||||||
|
m_SavedProperties: |
||||||
|
serializedVersion: 2 |
||||||
|
m_TexEnvs: |
||||||
|
- first: |
||||||
|
name: _MainTex |
||||||
|
second: |
||||||
|
m_Texture: {fileID: 0} |
||||||
|
m_Scale: {x: 1, y: 1} |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_Floats: |
||||||
|
- first: |
||||||
|
name: _ColorMask |
||||||
|
second: 15 |
||||||
|
- first: |
||||||
|
name: _Stencil |
||||||
|
second: 0 |
||||||
|
- first: |
||||||
|
name: _StencilComp |
||||||
|
second: 8 |
||||||
|
- first: |
||||||
|
name: _StencilOp |
||||||
|
second: 0 |
||||||
|
- first: |
||||||
|
name: _StencilReadMask |
||||||
|
second: 255 |
||||||
|
- first: |
||||||
|
name: _StencilWriteMask |
||||||
|
second: 255 |
||||||
|
- first: |
||||||
|
name: _UseUIAlphaClip |
||||||
|
second: 0 |
||||||
|
m_Colors: |
||||||
|
- first: |
||||||
|
name: _Color |
||||||
|
second: {r: 1, g: 1, b: 1, a: 1} |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 22b99f9bf9d972f4fac66d1a02246b53 |
||||||
|
timeCreated: 1489391195 |
||||||
|
licenseType: Free |
||||||
|
NativeFormatImporter: |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
@ -0,0 +1,83 @@ |
|||||||
|
%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: UI_Gamma |
||||||
|
m_Shader: {fileID: 4800000, guid: 91ce37ee28b99ce42872f13672016cb1, type: 3} |
||||||
|
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 |
||||||
|
- _ColorMask: 15 |
||||||
|
- _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 |
||||||
|
- _Stencil: 0 |
||||||
|
- _StencilComp: 8 |
||||||
|
- _StencilOp: 0 |
||||||
|
- _StencilReadMask: 255 |
||||||
|
- _StencilWriteMask: 255 |
||||||
|
- _UVSec: 0 |
||||||
|
- _UseUIAlphaClip: 0 |
||||||
|
- _ZWrite: 1 |
||||||
|
m_Colors: |
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1} |
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
||||||
@ -0,0 +1,10 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 04f29ba755f2a124a92772571b22afb0 |
||||||
|
timeCreated: 1512016267 |
||||||
|
licenseType: Free |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 2100000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
||||||
Loading…
Reference in new issue