summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Effects
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-11-09 08:49:19 +0800
committerchai <chaifix@163.com>2020-11-09 08:49:19 +0800
commita3510f152994038c28b6c97490097e05b2c2cdc1 (patch)
tree55934ccb17d05135fb1e50b0c922b80a37166237 /Assets/Scripts/Effects
parentb820dfe5486f230c2fdc8a8eba61a6a7f624fa87 (diff)
*misc
Diffstat (limited to 'Assets/Scripts/Effects')
-rw-r--r--Assets/Scripts/Effects/AfterImage/AfterImage.cs14
-rw-r--r--Assets/Scripts/Effects/SparkManager.cs18
-rw-r--r--Assets/Scripts/Effects/SparkManager.cs.meta11
3 files changed, 29 insertions, 14 deletions
diff --git a/Assets/Scripts/Effects/AfterImage/AfterImage.cs b/Assets/Scripts/Effects/AfterImage/AfterImage.cs
index 123c0300..7f40e119 100644
--- a/Assets/Scripts/Effects/AfterImage/AfterImage.cs
+++ b/Assets/Scripts/Effects/AfterImage/AfterImage.cs
@@ -63,20 +63,6 @@ public class AfterImage : MonoBehaviour
transform.gameObject.SetActive(true);
myAnimator.Play(targetAnimator.GetCurrentAnimatorStateInfo(0).shortNameHash, 0, targetAnimator.GetCurrentAnimatorStateInfo(0).normalizedTime);
- //myAnimator.Play(myCharacterControl.animator.GetCurrentAnimatorStateInfo(0).normalizedTime);
- //myAnimator.no
-
- //foreach (AnimatorControllerParameter param in targetAnimator.parameters)
- //{
- // if (param.type == AnimatorControllerParameterType.Float)
- // {
- // myAnimator.SetFloat(param.name, targetAnimator.GetFloat(param.name));
- // }
- // if (param.type == AnimatorControllerParameterType.Int)
- // {
- // myAnimator.SetInteger(param.name, targetAnimator.GetInteger(param.name));
- // }
- //}
myAnimator.speed = 0.02f;
myAnimator.Update(1/60f);
diff --git a/Assets/Scripts/Effects/SparkManager.cs b/Assets/Scripts/Effects/SparkManager.cs
new file mode 100644
index 00000000..0146d2e6
--- /dev/null
+++ b/Assets/Scripts/Effects/SparkManager.cs
@@ -0,0 +1,18 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class SparkManager : MonoBehaviour
+{
+ // Start is called before the first frame update
+ void Start()
+ {
+
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+
+ }
+}
diff --git a/Assets/Scripts/Effects/SparkManager.cs.meta b/Assets/Scripts/Effects/SparkManager.cs.meta
new file mode 100644
index 00000000..af46cd69
--- /dev/null
+++ b/Assets/Scripts/Effects/SparkManager.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 91eb1bc63c2a55144830875dedab3793
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant: