From 86620499add80e28002251685fbcd144acbd6bbe Mon Sep 17 00:00:00 2001 From: indie-du Date: Tue, 9 Jul 2019 08:56:07 +0900 Subject: [PATCH 1/3] UGUI support --- .../CharTween Example Full UGUI.unity | 559 ++++++++++++++++++ .../CharTween Example Full UGUI.unity.meta | 9 + .../Examples/CharTween Example Full.unity | 116 ++-- .../Examples/CharTween Example Simple.unity | 124 ++-- .../Examples/CharTweenExampleFullUGUI.cs | 110 ++++ .../Examples/CharTweenExampleFullUGUI.cs.meta | 13 + Assets/CharTween/Examples/DTM-Mono SDF.asset | 21 +- .../CharTween/Scripts/CharTweener.Tweens.cs | 1 + .../Scripts/CharTweener.TweensUGUI.cs | 48 ++ .../Scripts/CharTweener.TweensUGUI.cs.meta | 13 + Assets/CharTween/Scripts/CharTweener.cs | 10 +- Assets/CharTween/Scripts/CharTweenerUGUI.cs | 28 + .../CharTween/Scripts/CharTweenerUGUI.cs.meta | 11 + .../CharTween/Scripts/CharTweenerUtility.cs | 12 + .../CharTween/Scripts/VertexGradientPlugin.cs | 5 + ProjectSettings/PresetManager.asset | Bin 0 -> 4104 bytes ProjectSettings/ProjectSettings.asset | 210 +++---- ProjectSettings/ProjectVersion.txt | 3 +- ProjectSettings/VFXManager.asset | Bin 0 -> 4148 bytes ProjectSettings/XRSettings.asset | 10 + README.md | 5 + UnityPackageManager/manifest.json | 4 - 22 files changed, 1082 insertions(+), 230 deletions(-) create mode 100644 Assets/CharTween/Examples/CharTween Example Full UGUI.unity create mode 100644 Assets/CharTween/Examples/CharTween Example Full UGUI.unity.meta create mode 100644 Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs create mode 100644 Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs.meta create mode 100644 Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs create mode 100644 Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs.meta create mode 100644 Assets/CharTween/Scripts/CharTweenerUGUI.cs create mode 100644 Assets/CharTween/Scripts/CharTweenerUGUI.cs.meta create mode 100644 ProjectSettings/PresetManager.asset create mode 100644 ProjectSettings/VFXManager.asset create mode 100644 ProjectSettings/XRSettings.asset delete mode 100644 UnityPackageManager/manifest.json diff --git a/Assets/CharTween/Examples/CharTween Example Full UGUI.unity b/Assets/CharTween/Examples/CharTween Example Full UGUI.unity new file mode 100644 index 0000000..95aaeb8 --- /dev/null +++ b/Assets/CharTween/Examples/CharTween Example Full UGUI.unity @@ -0,0 +1,559 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 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 + 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} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 0 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_ExportTrainingData: 0 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &46091774 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 46091778} + - component: {fileID: 46091777} + - component: {fileID: 46091776} + - component: {fileID: 46091775} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &46091775 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 46091774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &46091776 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 46091774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &46091777 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 46091774} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 1 + m_Camera: {fileID: 1153254301} + 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!224 &46091778 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 46091774} + 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: 53350857} + m_Father: {fileID: 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} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &53350856 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 53350857} + - component: {fileID: 53350860} + - component: {fileID: 53350859} + - component: {fileID: 53350858} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &53350857 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 53350856} + 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: 46091778} + 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: 2.6, y: 1.4} + m_SizeDelta: {x: 566.2, y: 309.8} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &53350858 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 53350856} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 81ddfca5c6ae044428e8524c8e67fbf3, type: 3} + m_Name: + m_EditorClassIdentifier: + Target: {fileID: 53350859} + viewCamera: {fileID: 1153254301} +--- !u!114 &53350859 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 53350856} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, 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_text: 'DETERMINATION UGUI + + DETERMINATION UGUI + + DETERMINATION UGUI + + DETERMINATION UGUI + + UGUI Animation' + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_outlineColor: + serializedVersion: 2 + rgba: 4278190080 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_textAlignment: 257 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_firstOverflowCharacterIndex: -1 + m_linkedTextComponent: {fileID: 0} + m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_ignoreRectMaskCulling: 0 + m_ignoreCulling: 1 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 + m_firstVisibleCharacter: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_textInfo: + textComponent: {fileID: 53350859} + characterCount: 90 + spriteCount: 0 + spaceCount: 9 + wordCount: 10 + linkCount: 0 + lineCount: 5 + pageCount: 1 + materialCount: 1 + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_spriteAnimator: {fileID: 0} + m_hasFontAssetChanged: 0 + m_subTextObjects: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &53350860 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 53350856} + m_CullTransparentMesh: 0 +--- !u!1 &1134385256 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1134385259} + - component: {fileID: 1134385258} + - component: {fileID: 1134385257} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1134385257 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1134385256} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &1134385258 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1134385256} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &1134385259 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1134385256} + 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: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1153254298 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1153254302} + - component: {fileID: 1153254301} + - component: {fileID: 1153254300} + - component: {fileID: 1153254299} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &1153254299 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1153254298} + m_Enabled: 1 +--- !u!124 &1153254300 +Behaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1153254298} + m_Enabled: 1 +--- !u!20 &1153254301 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1153254298} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.6353806, g: 0.7275885, b: 0.8308824, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 55 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &1153254302 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1153254298} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/CharTween/Examples/CharTween Example Full UGUI.unity.meta b/Assets/CharTween/Examples/CharTween Example Full UGUI.unity.meta new file mode 100644 index 0000000..1c9144a --- /dev/null +++ b/Assets/CharTween/Examples/CharTween Example Full UGUI.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d6da01d19ecdc4bbd9251df0073eb208 +timeCreated: 1525935249 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/CharTween/Examples/CharTween Example Full.unity b/Assets/CharTween/Examples/CharTween Example Full.unity index 8494c60..9eadad8 100644 --- a/Assets/CharTween/Examples/CharTween Example Full.unity +++ b/Assets/CharTween/Examples/CharTween Example Full.unity @@ -13,7 +13,7 @@ OcclusionCullingSettings: --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 8 + serializedVersion: 9 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -39,6 +39,7 @@ RenderSettings: m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 @@ -49,20 +50,19 @@ LightmapSettings: m_BounceScale: 1 m_IndirectOutputScale: 1 m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 m_EnvironmentLightingMode: 0 m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 9 + serializedVersion: 12 m_Resolution: 2 m_BakeResolution: 40 - m_TextureWidth: 1024 - m_TextureHeight: 1024 + m_AtlasSize: 1024 m_AO: 0 m_AOMaxDistance: 1 m_CompAOExponent: 1 m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 m_Padding: 2 m_LightmapParameters: {fileID: 0} m_LightmapsBakeMode: 1 @@ -77,10 +77,16 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 m_PVRFilterTypeDirect: 0 m_PVRFilterTypeIndirect: 0 m_PVRFilterTypeAO: 0 - m_PVRFilteringMode: 1 + m_PVREnvironmentMIS: 0 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 @@ -89,6 +95,7 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 m_ShowResolutionOverlay: 1 + m_ExportTrainingData: 0 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -116,9 +123,10 @@ NavMeshSettings: --- !u!1 &1075228581 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - component: {fileID: 1075228586} - component: {fileID: 1075228585} @@ -136,12 +144,13 @@ GameObject: --- !u!114 &1075228582 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -806885394, guid: 89f0137620f6af44b9ba852b4190e64e, type: 3} + m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} @@ -160,9 +169,8 @@ MonoBehaviour: DETERMINATION' m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 843cb3f7719b79841b8864436d4b7a4c, type: 2} - m_sharedMaterial: {fileID: 21218518644432016, guid: 843cb3f7719b79841b8864436d4b7a4c, - type: 2} + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_fontSharedMaterials: [] m_fontMaterial: {fileID: 0} m_fontMaterials: [] @@ -171,6 +179,7 @@ MonoBehaviour: rgba: 4294967295 m_fontColor: {r: 1, g: 1, b: 1, a: 1} m_enableVertexGradient: 0 + m_colorMode: 3 m_fontColorGradient: topLeft: {r: 1, g: 1, b: 1, a: 1} topRight: {r: 1, g: 1, b: 1, a: 1} @@ -186,15 +195,14 @@ MonoBehaviour: m_outlineColor: serializedVersion: 2 rgba: 4278190080 - m_fontSize: 12 - m_fontSizeBase: 12 + m_fontSize: 36 + m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 m_textAlignment: 257 - m_isAlignmentEnumConverted: 1 m_characterSpacing: 0 m_wordSpacing: 0 m_lineSpacing: 0 @@ -207,6 +215,7 @@ MonoBehaviour: m_firstOverflowCharacterIndex: -1 m_linkedTextComponent: {fileID: 0} m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 m_enableKerning: 1 m_enableExtraPadding: 0 checkPaddingRequired: 0 @@ -220,6 +229,7 @@ MonoBehaviour: m_verticalMapping: 0 m_uvLineOffset: 0 m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 m_firstVisibleCharacter: 0 m_useMaxVisibleDescender: 1 m_pageToDisplay: 1 @@ -234,12 +244,9 @@ MonoBehaviour: lineCount: 4 pageCount: 1 materialCount: 1 - m_havePropertiesChanged: 0 m_isUsingLegacyAnimationComponent: 0 m_isVolumetricText: 0 m_spriteAnimator: {fileID: 0} - m_isInputParsingRequired: 0 - m_inputSource: 0 m_hasFontAssetChanged: 0 m_renderer: {fileID: 1075228583} m_subTextObjects: @@ -255,8 +262,9 @@ MonoBehaviour: --- !u!23 &1075228583 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_CastShadows: 0 @@ -265,8 +273,10 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 21218518644432016, guid: 843cb3f7719b79841b8864436d4b7a4c, type: 2} + - {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -289,21 +299,25 @@ MeshRenderer: --- !u!222 &1075228584 CanvasRenderer: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} + m_CullTransparentMesh: 0 --- !u!33 &1075228585 MeshFilter: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Mesh: {fileID: 0} --- !u!224 &1075228586 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -314,14 +328,15 @@ RectTransform: 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.032000005, y: 0.018} - m_SizeDelta: {x: 12.843, y: 9.583} + m_AnchoredPosition: {x: 0, y: -0} + m_SizeDelta: {x: 31.94, y: 19.69} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1075228587 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_EditorHideFlags: 0 @@ -332,9 +347,10 @@ MonoBehaviour: --- !u!1 &1153254298 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - component: {fileID: 1153254302} - component: {fileID: 1153254301} @@ -350,27 +366,36 @@ GameObject: --- !u!81 &1153254299 AudioListener: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 --- !u!124 &1153254300 Behaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 --- !u!20 &1153254301 Camera: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 m_BackGroundColor: {r: 0.6353806, g: 0.7275885, b: 0.8308824, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 x: 0 @@ -400,8 +425,9 @@ Camera: --- !u!4 &1153254302 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: -10} diff --git a/Assets/CharTween/Examples/CharTween Example Simple.unity b/Assets/CharTween/Examples/CharTween Example Simple.unity index 5ee1b7f..1ea14cb 100644 --- a/Assets/CharTween/Examples/CharTween Example Simple.unity +++ b/Assets/CharTween/Examples/CharTween Example Simple.unity @@ -13,7 +13,7 @@ OcclusionCullingSettings: --- !u!104 &2 RenderSettings: m_ObjectHideFlags: 0 - serializedVersion: 8 + serializedVersion: 9 m_Fog: 0 m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogMode: 3 @@ -39,6 +39,7 @@ RenderSettings: m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 @@ -49,20 +50,19 @@ LightmapSettings: m_BounceScale: 1 m_IndirectOutputScale: 1 m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 m_EnvironmentLightingMode: 0 m_EnableBakedLightmaps: 0 m_EnableRealtimeLightmaps: 0 m_LightmapEditorSettings: - serializedVersion: 9 + serializedVersion: 12 m_Resolution: 2 m_BakeResolution: 40 - m_TextureWidth: 1024 - m_TextureHeight: 1024 + m_AtlasSize: 1024 m_AO: 0 m_AOMaxDistance: 1 m_CompAOExponent: 1 m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 m_Padding: 2 m_LightmapParameters: {fileID: 0} m_LightmapsBakeMode: 1 @@ -77,10 +77,16 @@ LightmapSettings: m_PVRDirectSampleCount: 32 m_PVRSampleCount: 500 m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 m_PVRFilterTypeDirect: 0 m_PVRFilterTypeIndirect: 0 m_PVRFilterTypeAO: 0 - m_PVRFilteringMode: 1 + m_PVREnvironmentMIS: 0 m_PVRCulling: 1 m_PVRFilteringGaussRadiusDirect: 1 m_PVRFilteringGaussRadiusIndirect: 5 @@ -89,6 +95,7 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 m_ShowResolutionOverlay: 1 + m_ExportTrainingData: 0 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -116,9 +123,10 @@ NavMeshSettings: --- !u!1 &1075228581 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - component: {fileID: 1075228586} - component: {fileID: 1075228587} @@ -136,12 +144,13 @@ GameObject: --- !u!114 &1075228582 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: -806885394, guid: 89f0137620f6af44b9ba852b4190e64e, type: 3} + m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} @@ -152,11 +161,10 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_text: here we go! + m_text: DETERMINATION m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 843cb3f7719b79841b8864436d4b7a4c, type: 2} - m_sharedMaterial: {fileID: 21218518644432016, guid: 843cb3f7719b79841b8864436d4b7a4c, - type: 2} + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_fontSharedMaterials: [] m_fontMaterial: {fileID: 0} m_fontMaterials: [] @@ -165,6 +173,7 @@ MonoBehaviour: rgba: 4294967295 m_fontColor: {r: 1, g: 1, b: 1, a: 1} m_enableVertexGradient: 0 + m_colorMode: 3 m_fontColorGradient: topLeft: {r: 1, g: 1, b: 1, a: 1} topRight: {r: 1, g: 1, b: 1, a: 1} @@ -180,15 +189,14 @@ MonoBehaviour: m_outlineColor: serializedVersion: 2 rgba: 4278190080 - m_fontSize: 12 - m_fontSizeBase: 12 + m_fontSize: 36 + m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 m_textAlignment: 257 - m_isAlignmentEnumConverted: 1 m_characterSpacing: 0 m_wordSpacing: 0 m_lineSpacing: 0 @@ -201,6 +209,7 @@ MonoBehaviour: m_firstOverflowCharacterIndex: -1 m_linkedTextComponent: {fileID: 0} m_isLinkedTextComponent: 0 + m_isTextTruncated: 0 m_enableKerning: 1 m_enableExtraPadding: 0 checkPaddingRequired: 0 @@ -214,26 +223,24 @@ MonoBehaviour: m_verticalMapping: 0 m_uvLineOffset: 0 m_geometrySortingOrder: 0 + m_VertexBufferAutoSizeReduction: 1 m_firstVisibleCharacter: 0 m_useMaxVisibleDescender: 1 m_pageToDisplay: 1 m_margin: {x: 0, y: 0, z: 0, w: 0} m_textInfo: textComponent: {fileID: 1075228582} - characterCount: 11 + characterCount: 13 spriteCount: 0 - spaceCount: 2 - wordCount: 3 + spaceCount: 0 + wordCount: 1 linkCount: 0 lineCount: 1 pageCount: 1 materialCount: 1 - m_havePropertiesChanged: 0 m_isUsingLegacyAnimationComponent: 0 m_isVolumetricText: 0 m_spriteAnimator: {fileID: 0} - m_isInputParsingRequired: 0 - m_inputSource: 0 m_hasFontAssetChanged: 0 m_renderer: {fileID: 1075228583} m_subTextObjects: @@ -249,8 +256,9 @@ MonoBehaviour: --- !u!23 &1075228583 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_CastShadows: 0 @@ -259,8 +267,10 @@ MeshRenderer: m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 m_Materials: - - {fileID: 21218518644432016, guid: 843cb3f7719b79841b8864436d4b7a4c, type: 2} + - {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -283,21 +293,25 @@ MeshRenderer: --- !u!222 &1075228584 CanvasRenderer: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} + m_CullTransparentMesh: 0 --- !u!33 &1075228585 MeshFilter: m_ObjectHideFlags: 2 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Mesh: {fileID: 0} --- !u!224 &1075228586 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -308,14 +322,15 @@ RectTransform: 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.032000005, y: 0.018} - m_SizeDelta: {x: 12.843, y: 9.583} + m_AnchoredPosition: {x: -0.2, y: 0.2} + m_SizeDelta: {x: 35.19, y: 5.37} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1075228587 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1075228581} m_Enabled: 1 m_EditorHideFlags: 0 @@ -325,9 +340,10 @@ MonoBehaviour: --- !u!1 &1153254298 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 m_Component: - component: {fileID: 1153254302} - component: {fileID: 1153254301} @@ -343,27 +359,36 @@ GameObject: --- !u!81 &1153254299 AudioListener: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 --- !u!124 &1153254300 Behaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 --- !u!20 &1153254301 Camera: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 1 m_BackGroundColor: {r: 0.6353806, g: 0.7275885, b: 0.8308824, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 x: 0 @@ -393,8 +418,9 @@ Camera: --- !u!4 &1153254302 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1153254298} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: -10} diff --git a/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs b/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs new file mode 100644 index 0000000..17b5bf3 --- /dev/null +++ b/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs @@ -0,0 +1,110 @@ +using DG.Tweening; +using System; +using TMPro; +using UnityEngine; + +namespace CharTween.Examples +{ + public class CharTweenExampleFullUGUI : MonoBehaviour + { + public TextMeshProUGUI Target; + private CharTweenerUGUI _tweener; + + [SerializeField] Camera viewCamera; + + public void Start() + { + _tweener = Target.GetCharTweenerUGUI(); + ApplyTweenToLine(0, Tween1); + ApplyTweenToLine(1, Tween2); + ApplyTweenToLine(2, Tween3); + ApplyTweenToLine(3, Tween4); + ApplyTweenToLine(4, Tween5); + } + + // Basic example 1, oscillating characters and color + private void Tween1(int start, int end) + { + for (var i = start; i <= end; ++i) + { + var timeOffset = Mathf.Lerp(0, 1, (i - start) / (float) (end - start + 1)); + var circleTween = _tweener.DOCircleUGUI(viewCamera, i, 3, 0.5f) + .SetEase(Ease.Linear) + .SetLoops(-1, LoopType.Restart); + var colorTween = _tweener.DOColor(i, Color.yellow, 0.5f) + .SetLoops(-1, LoopType.Yoyo); + colorTween.fullPosition = timeOffset; + } + } + + // Basic example 2, jittery characters + random color + private void Tween2(int start, int end) + { + for (var i = start; i <= end; ++i) + { + var timeOffset = Mathf.Lerp(0, 1, (i - start) / (float)(end - start + 1)); + _tweener.DOShakePosition(i, 1, 0.05f, 50, 90, false, false) + .SetLoops(-1, LoopType.Restart); + var colorTween = _tweener.DOColor(i, UnityEngine.Random.ColorHSV(0, 1, 1, 1, 1, 1), + UnityEngine.Random.Range(0.1f, 0.5f)) + .SetLoops(-1, LoopType.Yoyo); + colorTween.fullPosition = timeOffset; + } + } + + // Sequence example, bubbly fade-in + bounce + private void Tween3(int start, int end) + { + var sequence = DOTween.Sequence(); + + for (var i = start; i <= end; ++i) + { + var timeOffset = Mathf.Lerp(0, 1, (i - start) / (float)(end - start + 1)); + var charSequence = DOTween.Sequence(); + charSequence.Append(_tweener.DOLocalMoveY(i, 0.5f, 0.5f).SetEase(Ease.InOutCubic)) + .Join(_tweener.DOFade(i, 0, 0.5f).From()) + .Join(_tweener.DOScale(i, 0, 0.5f).From().SetEase(Ease.OutBack, 5)) + .Append(_tweener.DOLocalMoveY(i, 0, 0.5f).SetEase(Ease.OutBounce)); + sequence.Insert(timeOffset, charSequence); + } + + sequence.SetLoops(-1, LoopType.Yoyo); + } + + // Rotation example + private void Tween4(int start, int end) + { + for (var i = start; i <= end; ++i) + { + var timeOffset = Mathf.Lerp(0, 1, (i - start) / (float)(end - start + 1)); + var rotationTween = _tweener.DOLocalRotate(i, UnityEngine.Random.onUnitSphere * 360, 2, RotateMode.FastBeyond360) + .SetEase(Ease.Linear) + .SetLoops(-1, LoopType.Incremental); + rotationTween.fullPosition = timeOffset; + } + } + + // AnchorPos example + private void Tween5(int start, int end) + { + for (var i = start; i <= end; ++i) + { + var timeOffset = Mathf.Lerp(0, 1, (i - start) / (float)(end - start + 1)); + var anchorposTween = _tweener.DOAnchorPosY(i, -50, 1f) + .From() + .SetEase(Ease.InOutBack) + .SetLoops(-1, LoopType.Restart); + } + } + + + private void ApplyTweenToLine(int line, Action tween) + { + if (line >= Target.textInfo.lineCount) + return; + + var lineInfo = Target.textInfo.lineInfo[line]; + tween(lineInfo.firstCharacterIndex, lineInfo.lastCharacterIndex); + } + } +} diff --git a/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs.meta b/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs.meta new file mode 100644 index 0000000..d00d9f1 --- /dev/null +++ b/Assets/CharTween/Examples/CharTweenExampleFullUGUI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 81ddfca5c6ae044428e8524c8e67fbf3 +timeCreated: 1525910920 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/CharTween/Examples/DTM-Mono SDF.asset b/Assets/CharTween/Examples/DTM-Mono SDF.asset index 5b2d69b..1e82d77 100644 --- a/Assets/CharTween/Examples/DTM-Mono SDF.asset +++ b/Assets/CharTween/Examples/DTM-Mono SDF.asset @@ -3,8 +3,9 @@ --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 @@ -982,10 +983,11 @@ MonoBehaviour: Material: serializedVersion: 6 m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: DTM-Mono SDF Material - m_Shader: {fileID: 4800000, guid: dca26082f9cb439469295791d9f76fe5, type: 3} + m_Shader: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} m_ShaderKeywords: UNDERLAY_ON m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -1062,12 +1064,14 @@ Material: - _UnderlayOffsetX: 1 - _UnderlayOffsetY: -1 - _UnderlaySoftness: 0 + - _UseUIAlphaClip: 0 - _VertexOffsetX: 0 - _VertexOffsetY: 0 - _WeightBold: 0.75 - _WeightNormal: 0 m_Colors: - _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767} + - _Color: {r: 1, g: 1, b: 1, a: 1} - _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0} - _FaceColor: {r: 1, g: 1, b: 1, a: 1} - _GlowColor: {r: 0, g: 1, b: 0, a: 0.5} @@ -1080,8 +1084,9 @@ Material: --- !u!28 &28537721867957654 Texture2D: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: DTM-Mono SDF Atlas m_ImageContentsHash: serializedVersion: 2 @@ -1095,6 +1100,8 @@ Texture2D: m_TextureFormat: 1 m_MipCount: 1 m_IsReadable: 0 + m_StreamingMipmaps: 0 + m_StreamingMipmapsPriority: 0 m_AlphaIsTransparency: 0 m_ImageCount: 1 m_TextureDimension: 2 diff --git a/Assets/CharTween/Scripts/CharTweener.Tweens.cs b/Assets/CharTween/Scripts/CharTweener.Tweens.cs index 7478fb3..03db7e7 100644 --- a/Assets/CharTween/Scripts/CharTweener.Tweens.cs +++ b/Assets/CharTween/Scripts/CharTweener.Tweens.cs @@ -223,5 +223,6 @@ public Tweener DOBlendableScaleBy(int charIndex, Vector3 byValue, float duration { return MonitorTransformTween(GetProxyTransform(charIndex).DOBlendableScaleBy(byValue, duration)); } + } } diff --git a/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs b/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs new file mode 100644 index 0000000..5d23d85 --- /dev/null +++ b/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs @@ -0,0 +1,48 @@ +using DG.Tweening; +using TMPro; +using UnityEngine; + +namespace CharTween +{ + public partial class CharTweenerUGUI + { + // Override for UGUI + public Tweener DOCircleUGUI(Camera viewCamera, int charIndex, float radius, float duration, int pathPoints = 8, PathType pathType = PathType.CatmullRom, + PathMode pathMode = PathMode.Full3D, int resolution = 10, Color? gizmoColor = null) + { + RectTransform rectTransform = GetComponent(); + + var tweenPath = new Vector3[pathPoints + 1]; + for (var i = 0; i < tweenPath.Length; ++i) + { + var theta = Mathf.Lerp(0, 2 * Mathf.PI, i / (float)(tweenPath.Length - 1)); + + Vector3 charWorldPosition = viewCamera.WorldToScreenPoint(transform.position);; + Vector3 worldPosition; + + RectTransformUtility.ScreenPointToWorldPointInRectangle(rectTransform, new Vector3(radius*Mathf.Cos(theta)+charWorldPosition.x, radius*Mathf.Sin(theta)+charWorldPosition.y, 0), viewCamera, out worldPosition); + tweenPath[i] = worldPosition; + } + + SetPositionOffset(charIndex, tweenPath[0]); + return DOPath(charIndex, tweenPath, duration, pathType, pathMode, resolution, gizmoColor); + } + + // Tween for UGUI + public Tweener DOAnchorPos( int charIndex, Vector2 endValue, float duration, bool snapping = false ) + { + return MonitorTransformTween( (GetProxyTransform( charIndex ) as RectTransform).DOAnchorPos( endValue, duration, snapping ) ); + } + + public Tweener DOAnchorPosX( int charIndex, float endValue, float duration, bool snapping = false ) + { + return MonitorTransformTween( (GetProxyTransform( charIndex ) as RectTransform).DOAnchorPosX( endValue, duration, snapping ) ); + } + + public Tweener DOAnchorPosY( int charIndex, float endValue, float duration, bool snapping = false ) + { + return MonitorTransformTween( (GetProxyTransform( charIndex ) as RectTransform).DOAnchorPosY( endValue, duration, snapping ) ); + } + + } +} diff --git a/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs.meta b/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs.meta new file mode 100644 index 0000000..4655fb3 --- /dev/null +++ b/Assets/CharTween/Scripts/CharTweener.TweensUGUI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e626c9144b7de4902a5ca7ece6d1bb03 +timeCreated: 1525910733 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/CharTween/Scripts/CharTweener.cs b/Assets/CharTween/Scripts/CharTweener.cs index 6960bd9..55265a0 100644 --- a/Assets/CharTween/Scripts/CharTweener.cs +++ b/Assets/CharTween/Scripts/CharTweener.cs @@ -86,11 +86,11 @@ private void SetVertexGradient(VertexGradient value) private List _activeVertexTweens; private List _activeColorTweens; - private Dictionary proxyTransforms; + protected Dictionary proxyTransforms; private Dictionary proxyColors; private TMP_MeshInfo[] _meshCache; - private bool _updateVerticesPending; + protected bool _updateVerticesPending; private bool _updateColorsPending; #if UNITY_EDITOR @@ -204,7 +204,7 @@ private void OnTextChanged(Object text) } // Helper for method chaining - private T MonitorTransformTween(T tween) where T : Tween + protected T MonitorTransformTween(T tween) where T : Tween { _activeVertexTweens.Add(tween); return tween; @@ -218,7 +218,7 @@ private T MonitorColorTween(T tween) where T : Tween } // Helper for method chaining - private Transform GetProxyTransform(int charIndex) + protected Transform GetProxyTransform(int charIndex) { // The modifier works by creating a proxy transform for each character in the text @@ -239,7 +239,7 @@ private Transform GetProxyTransform(int charIndex) return proxy; } - private Transform CreateProxyTransform(int charIndex) + protected virtual Transform CreateProxyTransform(int charIndex) { var t = new GameObject().transform; t.SetParent(Text.transform.parent, false); diff --git a/Assets/CharTween/Scripts/CharTweenerUGUI.cs b/Assets/CharTween/Scripts/CharTweenerUGUI.cs new file mode 100644 index 0000000..9056ee6 --- /dev/null +++ b/Assets/CharTween/Scripts/CharTweenerUGUI.cs @@ -0,0 +1,28 @@ +using DG.Tweening; +using System.Collections.Generic; +using TMPro; +using UnityEngine; + +namespace CharTween +{ + /// + /// Wraps around a or to provide methods for changing the properties + /// of their individual characters. + /// + [AddComponentMenu("")] + public partial class CharTweenerUGUI : CharTweener + { + + protected override Transform CreateProxyTransform(int charIndex) + { + var t = new GameObject().AddComponent(); + t.SetParent(Text.transform.parent, false); +#if UNITY_EDITOR + t.gameObject.hideFlags = HideFlags.HideAndDontSave; +#endif + proxyTransforms.Add(charIndex, t); + return t; + } + + } +} diff --git a/Assets/CharTween/Scripts/CharTweenerUGUI.cs.meta b/Assets/CharTween/Scripts/CharTweenerUGUI.cs.meta new file mode 100644 index 0000000..6b76092 --- /dev/null +++ b/Assets/CharTween/Scripts/CharTweenerUGUI.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7bc0f2a56fd114b79a67f782d3f6f0ca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/CharTween/Scripts/CharTweenerUtility.cs b/Assets/CharTween/Scripts/CharTweenerUtility.cs index f7a6150..bd7a030 100644 --- a/Assets/CharTween/Scripts/CharTweenerUtility.cs +++ b/Assets/CharTween/Scripts/CharTweenerUtility.cs @@ -20,5 +20,17 @@ public static CharTweener GetCharTweener(this TMP_Text text) modifier.Initialize(); return modifier; } + + public static CharTweenerUGUI GetCharTweenerUGUI(this TextMeshProUGUI text) + { + if (CharModifiers.ContainsKey(text)) + return CharModifiers[text] as CharTweenerUGUI; + + var modifier = CharModifiers[text] = text.gameObject.AddComponent(); + modifier.Text = text; + modifier.Initialize(); + return modifier as CharTweenerUGUI; + } + } } diff --git a/Assets/CharTween/Scripts/VertexGradientPlugin.cs b/Assets/CharTween/Scripts/VertexGradientPlugin.cs index faac44b..8b616eb 100644 --- a/Assets/CharTween/Scripts/VertexGradientPlugin.cs +++ b/Assets/CharTween/Scripts/VertexGradientPlugin.cs @@ -18,6 +18,10 @@ public override void Reset(TweenerCore t, VertexGradient fromValue, bool setImmediately) + { + throw new System.NotImplementedException(); + } public override void SetFrom(TweenerCore t, bool isRelative) { var prevEndVal = t.endValue; @@ -81,5 +85,6 @@ private static VertexGradient Multiply(VertexGradient left, float right) left.bottomLeft * right, left.bottomRight * right); } + } // Class } // Namespace diff --git a/ProjectSettings/PresetManager.asset b/ProjectSettings/PresetManager.asset new file mode 100644 index 0000000000000000000000000000000000000000..26053e0dba1bc4b794596a0fdb495f78c7ecd1c7 GIT binary patch literal 4104 zcmeHFyGjE=6upzT@3)PDe-Mp@B1o_ZqWB<+eOPrh(I{$G!9v*1FVNN|q_R=0tn92U zZ2gq1=j>!*Cw_u+;oiA(&b@bL&#XxDOJq1FB4b#wh|JFwmhy%C;!#1`K@cbfY-YB( zD?xDDZaqE~-yWVnOB;8sg|A6a?{JpT7Dart1mVUHV;B@FT1oL=mG~(jtdDwFK>i#2 zAaeF62>J}#lq6IE2%UVA@Q3CYl_cc{+!SVTK0R*arvaRF`qLzR25kx*d8A8l&d(6` z8MG-$hx3cra(1?ZM+^CCLi{ZN{c!3THzk>{zXFi`J#a{YsEvFccdug0-d?!Lr)3TN zC2-!a4{NL)wHZSn-a)OfNSnfq;+C9|EggMs`2|GeaFF?`sECLC%X9ZmD_N= zE$7@hcCX~DQgV-+>$30pnrko$7k_lS4|RO%Y8l5z#buY($G$eL16Na#fwa!!Q&A z+;I9MM`1X-*Y|MOT%Gy)ET8YbEQFY)dw^TGazp_}!srr2YqSV-JZTg>3kv$caDQut z8(1H~J`aonDIi$_%safZAbDN`V1+d<)-&*5#&r;gewS>66a5dZQY?$HHp;QfxkbH1Ea;`QN`5;_--F2jho^UNR0EF zg9m3b2K>%nqaEmH0Q2KLx}ZmB*Wh`60!S9;%X$+e>+y%w=_r>Dwk^jxkscX_@8ye) zx_jYE^VF(HZ^q?@H!K_(t(*_ zyV8`tZ#yUFJQ`VD%F3Qym!>aW+_$aEby@Q*rdlZ^!{9%IDwTjrKqa6OPzk66R01ji Vm4He>CGejUxV^c_zrAj)`~cb&bKw90 literal 0 HcmV?d00001 diff --git a/ProjectSettings/XRSettings.asset b/ProjectSettings/XRSettings.asset new file mode 100644 index 0000000..482590c --- /dev/null +++ b/ProjectSettings/XRSettings.asset @@ -0,0 +1,10 @@ +{ + "m_SettingKeys": [ + "VR Device Disabled", + "VR Device User Alert" + ], + "m_SettingValues": [ + "False", + "False" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 7c85a80..fa3ca59 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,11 @@ private void Start() - Doesn't work with per-material properties such as Outline, Glow, Underlay. - **Only works once Start is called; you cannot tween characters in the same frame that the TextMeshPro component is enabled for the first time!** +#### uGUI support + +- In case of uGUI, "CharTweenerUGUI" class is suitable. Please refer example scripts. +- Rotation animation is available only in case that "Render Mode" in Canvas is "Screen Space - Camera". + ## Installation - Have [DOTween](http://dotween.demigiant.com/index.php) and [TextMeshPro](https://assetstore.unity.com/packages/essentials/beta-projects/textmesh-pro-84126) installed in your project. - Get the .unitypackage from the [latest release](https://github.com/mdechatech/CharTweener/releases). diff --git a/UnityPackageManager/manifest.json b/UnityPackageManager/manifest.json deleted file mode 100644 index 526aca6..0000000 --- a/UnityPackageManager/manifest.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "dependencies": { - } -} From a35dce01a4520f824b6667acef424abcbbc7d7de Mon Sep 17 00:00:00 2001 From: indie-du Date: Tue, 28 Jul 2020 10:47:49 +0900 Subject: [PATCH 2/3] add SetAnchorPos, GetAnchorPos methods for UGUI --- .../Scripts/CharTweener.PropertiesUGUI.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 Assets/CharTween/Scripts/CharTweener.PropertiesUGUI.cs diff --git a/Assets/CharTween/Scripts/CharTweener.PropertiesUGUI.cs b/Assets/CharTween/Scripts/CharTweener.PropertiesUGUI.cs new file mode 100755 index 0000000..fe20a24 --- /dev/null +++ b/Assets/CharTween/Scripts/CharTweener.PropertiesUGUI.cs @@ -0,0 +1,17 @@ +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +namespace CharTween +{ + public partial class CharTweener + { + public void SetAnchorPos(int charIndex, Vector2 anchoredPosition) { + (GetProxyTransform( charIndex ) as RectTransform).anchoredPosition = anchoredPosition; + } + + public Vector2 GetAnchorPos(int charIndex) { + return proxyTransforms == null ? Vector2.zero : (GetProxyTransform( charIndex ) as RectTransform).anchoredPosition; + } + } +} From 824c4d5cf80f7bb2bd12e9554f1a33d1df4c2811 Mon Sep 17 00:00:00 2001 From: indie-du Date: Mon, 4 Jan 2021 11:40:54 +0900 Subject: [PATCH 3/3] update DOTWeen Pro --- Assets/CharTween/Scripts/VertexGradientPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/CharTween/Scripts/VertexGradientPlugin.cs b/Assets/CharTween/Scripts/VertexGradientPlugin.cs index 8b616eb..5011d89 100644 --- a/Assets/CharTween/Scripts/VertexGradientPlugin.cs +++ b/Assets/CharTween/Scripts/VertexGradientPlugin.cs @@ -18,7 +18,7 @@ public override void Reset(TweenerCore t, VertexGradient fromValue, bool setImmediately) + public override void SetFrom(TweenerCore t, VertexGradient fromValue, bool setImmediately, bool setImmediately2) { throw new System.NotImplementedException(); }