From a3510f152994038c28b6c97490097e05b2c2cdc1 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 9 Nov 2020 08:49:19 +0800 Subject: *misc --- Assets/Scripts/Effects/AfterImage/AfterImage.cs | 14 -------------- Assets/Scripts/Effects/SparkManager.cs | 18 ++++++++++++++++++ Assets/Scripts/Effects/SparkManager.cs.meta | 11 +++++++++++ 3 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 Assets/Scripts/Effects/SparkManager.cs create mode 100644 Assets/Scripts/Effects/SparkManager.cs.meta (limited to 'Assets/Scripts/Effects') 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: -- cgit v1.1-26-g67d0