summaryrefslogtreecommitdiff
path: root/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-05-30 11:05:38 +0800
committerchai <chaifix@163.com>2021-05-30 11:05:38 +0800
commit3bd21c73384906267a2a4c48acdb96df77bd1f67 (patch)
tree5f55740506d64f4bcc6fe0bc32b9a26c5e6da8b6 /Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity
parent26e4dc3a35d9c778684388de1af8b3f288fe627d (diff)
*tween
Diffstat (limited to 'Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity')
-rw-r--r--Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity273
1 files changed, 226 insertions, 47 deletions
diff --git a/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity b/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity
index 504a1ac..bf6c3a1 100644
--- a/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity
+++ b/Assets/UI_Extension/Scripts/Animation/Tween/Demo/TweenDemo.unity
@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
+ m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@@ -225,7 +225,6 @@ ParticleSystemRenderer:
m_RendererPriority: 0
m_Materials:
- {fileID: 10301, guid: 0000000000000000f000000000000000, type: 0}
- - {fileID: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -5012,6 +5011,148 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 419127640}
m_CullTransparentMesh: 0
+--- !u!1 &638242413
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 638242414}
+ - component: {fileID: 638242416}
+ - component: {fileID: 638242415}
+ m_Layer: 5
+ m_Name: Image (1)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &638242414
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 638242413}
+ 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: 2122384177}
+ 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: 0, y: 0}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &638242415
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 638242413}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 0.9256807}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &638242416
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 638242413}
+ m_CullTransparentMesh: 0
+--- !u!1 &1853917338
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1853917339}
+ - component: {fileID: 1853917341}
+ - component: {fileID: 1853917340}
+ m_Layer: 5
+ m_Name: Image
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1853917339
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1853917338}
+ 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: 2122384177}
+ 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: 121.1, y: 0.7}
+ m_SizeDelta: {x: 100, y: 100}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1853917340
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1853917338}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 0}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &1853917341
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1853917338}
+ m_CullTransparentMesh: 0
--- !u!1 &2060442856
GameObject:
m_ObjectHideFlags: 0
@@ -5195,6 +5336,8 @@ RectTransform:
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 224828143557382810}
+ - {fileID: 1853917339}
+ - {fileID: 638242414}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -5310,114 +5453,129 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalPosition.x
- value: 0
+ propertyPath: m_Pivot.x
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalPosition.y
- value: 0
+ propertyPath: m_Pivot.y
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalPosition.z
- value: -11.932719
+ propertyPath: m_RootOrder
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalRotation.x
- value: -0
+ propertyPath: m_AnchorMax.x
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalRotation.y
- value: -0
+ propertyPath: m_AnchorMax.y
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalRotation.z
- value: -0
+ propertyPath: m_AnchorMin.x
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalRotation.w
- value: 1
+ propertyPath: m_AnchorMin.y
+ value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_RootOrder
- value: 0
+ propertyPath: m_SizeDelta.x
+ value: 100
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalEulerAnglesHint.x
- value: 0
+ propertyPath: m_SizeDelta.y
+ value: 100
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalEulerAnglesHint.y
+ propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_LocalEulerAnglesHint.z
+ propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchoredPosition.x
- value: -97.91989
+ propertyPath: m_LocalPosition.z
+ value: -11.932719
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchoredPosition.y
- value: -209.7435
+ propertyPath: m_LocalRotation.w
+ value: 1
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_SizeDelta.x
- value: 100
+ propertyPath: m_LocalRotation.x
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_SizeDelta.y
- value: 100
+ propertyPath: m_LocalRotation.y
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchorMin.x
- value: 0.5
+ propertyPath: m_LocalRotation.z
+ value: -0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchorMin.y
- value: 0.5
+ propertyPath: m_AnchoredPosition.x
+ value: -97.91989
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchorMax.x
- value: 0.5
+ propertyPath: m_AnchoredPosition.y
+ value: -209.7435
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_AnchorMax.y
- value: 0.5
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_Pivot.x
- value: 0.5
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 2160533344743970981, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
- propertyPath: m_Pivot.y
- value: 0.5
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
objectReference: {fileID: 0}
- target: {fileID: 2225253819299306041, guid: 1821abac54ca6014d8fff06cff6aff5d,
type: 3}
propertyPath: m_Name
value: Panel
objectReference: {fileID: 0}
+ - target: {fileID: 2269033645537954357, guid: 1821abac54ca6014d8fff06cff6aff5d,
+ type: 3}
+ propertyPath: animations.Array.size
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 2269033645537954357, guid: 1821abac54ca6014d8fff06cff6aff5d,
+ type: 3}
+ propertyPath: animations.Array.data[0].name
+ value: Normal
+ objectReference: {fileID: 0}
+ - target: {fileID: 2269033645537954357, guid: 1821abac54ca6014d8fff06cff6aff5d,
+ type: 3}
+ propertyPath: animations.Array.data[0].animation
+ value:
+ objectReference: {fileID: 2226187378230708801}
m_RemovedComponents:
- {fileID: 2226187378230708801, guid: 1821abac54ca6014d8fff06cff6aff5d, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 1821abac54ca6014d8fff06cff6aff5d, type: 3}
@@ -5442,13 +5600,24 @@ MonoBehaviour:
description: No Description
modules:
- id: 0
- duration: 5
- playbackStyle: 1
+ - id: 1
+ duration: 2
+ playbackStyle: 2
eventTriggeredDirection: -1
playbackLimit: 0
triggerOnce: 0
scriptHandler: 0
- eventList: []
+ eventList:
+ - name: New Event
+ time: 0
+ eventHandler:
+ m_PersistentCalls:
+ m_Calls: []
+ - name: New Event
+ time: 1
+ eventHandler:
+ m_PersistentCalls:
+ m_Calls: []
references:
version: 1
00000000:
@@ -5456,8 +5625,18 @@ MonoBehaviour:
data:
enabled: 1
timeOffset: 0
- duration: 5
+ duration: 1
description:
- target: {fileID: 0}
from: 1
to: 0
+ graphic: {fileID: 1853917340}
+ 00000001:
+ type: {class: TweenAlpha, ns: TweenAnimation, asm: Assembly-CSharp}
+ data:
+ enabled: 1
+ timeOffset: 1.07
+ duration: 0.69
+ description:
+ from: 0
+ to: 1
+ graphic: {fileID: 638242415}