diff options
Diffstat (limited to 'Assets/Scripts/Effects')
-rw-r--r-- | Assets/Scripts/Effects/AfterImage/AfterImage.cs | 14 | ||||
-rw-r--r-- | Assets/Scripts/Effects/SparkManager.cs | 18 | ||||
-rw-r--r-- | Assets/Scripts/Effects/SparkManager.cs.meta | 11 |
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: |