Skip to content

Commit

Permalink
1.Sync version code
Browse files Browse the repository at this point in the history
2.Fixed EaseTypeExtension
  • Loading branch information
ls9512 committed Mar 16, 2021
1 parent a2ae790 commit e5ca8e4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![license](https://img.shields.io/github/license/ls9512/UTween)
[![openupm](https://img.shields.io/npm/v/com.ls9512.utween?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ls9512.utween/)
[![Release Version](https://img.shields.io/badge/release-1.0.3-red.svg)](https://github.com/ls9512/UTween/releases)
[![Release Version](https://img.shields.io/badge/release-1.1.1-red.svg)](https://github.com/ls9512/UTween/releases)
![topLanguage](https://img.shields.io/github/languages/top/ls9512/UTween)
![size](https://img.shields.io/github/languages/code-size/ls9512/UTween)
![last](https://img.shields.io/github/last-commit/ls9512/UTween)
Expand Down
2 changes: 1 addition & 1 deletion .github/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

![license](https://img.shields.io/github/license/ls9512/UTween)
[![openupm](https://img.shields.io/npm/v/com.ls9512.utween?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ls9512.utween/)
[![Release Version](https://img.shields.io/badge/release-1.0.3-red.svg)](https://github.com/ls9512/UTween/releases)
[![Release Version](https://img.shields.io/badge/release-1.1.1-red.svg)](https://github.com/ls9512/UTween/releases)
![topLanguage](https://img.shields.io/github/languages/top/ls9512/UTween)
![size](https://img.shields.io/github/languages/code-size/ls9512/UTween)
![last](https://img.shields.io/github/last-commit/ls9512/UTween)
Expand Down
10 changes: 10 additions & 0 deletions Core/Script/EaseFunctionExtension/EaseTypeExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ namespace Aya.Tween
[EnumClass("EaseType")]
public class EaseTypeExtension
{
#if UNITY_EDITOR
[UnityEditor.InitializeOnLoadMethod]
#else
[UnityEngine.RuntimeInitializeOnLoadMethod]
#endif
public static void Init()
{
SerializeEnumAttribute.CacheSerializeEnum(typeof(EaseType));
}

[EnumProperty("Flash", "Ease Flash 01")]
public const int EaseFlash01 = 100;
[EnumProperty("Flash", "Ease Flash 010")]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.ls9512.utween",
"displayName": "UTween",
"description": "UTween is an interpolation animation component for Unity. You can quickly configure animations through built-in components or write animations through code.",
"version": "1.0.3",
"version": "1.1.1",
"unity": "2019.4.3f1",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit e5ca8e4

Please sign in to comment.