diff options
author | chai <chaifix@163.com> | 2022-02-18 14:38:20 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-02-18 14:38:20 +0800 |
commit | 63795c45af9ecca5aea36fbe291b18fcd9fb9b7d (patch) | |
tree | 60d811d8a0b1944ab32d24aa28394183b82cadeb /JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests | |
parent | a41c8da0787e0285d4c5b16a5cf5bc3e7a34f521 (diff) |
*rename folder name
Diffstat (limited to 'JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests')
-rw-r--r-- | JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs | 18 | ||||
-rw-r--r-- | JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs.meta | 11 |
2 files changed, 0 insertions, 29 deletions
diff --git a/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs b/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs deleted file mode 100644 index 3bf706a..0000000 --- a/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs +++ /dev/null @@ -1,18 +0,0 @@ -using UnityEngine; - -/// <summary> -/// Use this component with a game object for demonstration purposes. -/// </summary> -[DisallowMultipleComponent] -[RequireComponent(typeof(InterpolationObjectController))] -public class TestMotion : MonoBehaviour -{ - [SerializeField] - private float _speed = 2f; - - private void FixedUpdate() - { - transform.position += Vector3.right * _speed * Time.fixedDeltaTime; - transform.rotation = Quaternion.Euler(transform.rotation.eulerAngles.x, transform.rotation.eulerAngles.y + _speed * 30 * Time.fixedDeltaTime, transform.rotation.eulerAngles.z); - } -} diff --git a/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs.meta b/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs.meta deleted file mode 100644 index fe06ffe..0000000 --- a/JamHelper/Assets/JamTools/Scripts/Smooth-Motion-in-Unity/Tests/TestMotion.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80afb4adbb1d67247ac41a23d04b67d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: |