Browse Source

修复刺客冲刺击中特效消失的问题

WGL 2 tháng trước cách đây
mục cha
commit
2c4957164b

+ 5 - 3
ActionTowerDefense/Assets/Resources/Prefab/FX/blade_light.prefab

@@ -14621,7 +14621,7 @@ GameObject:
   serializedVersion: 6
   m_Component:
   - component: {fileID: 7473170563405908937}
-  - component: {fileID: 4094208199863255350}
+  - component: {fileID: 7695207851958136822}
   m_Layer: 0
   m_Name: blade_light
   m_TagString: Untagged
@@ -14645,7 +14645,7 @@ Transform:
   m_Father: {fileID: 0}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &4094208199863255350
+--- !u!114 &7695207851958136822
 MonoBehaviour:
   m_ObjectHideFlags: 0
   m_CorrespondingSourceObject: {fileID: 0}
@@ -14654,6 +14654,8 @@ MonoBehaviour:
   m_GameObject: {fileID: 7473170563405908938}
   m_Enabled: 1
   m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 0e7221e961160e044aca9575b6252c6d, type: 3}
+  m_Script: {fileID: 11500000, guid: 63e2d62f3b573954e827beb994374f15, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  time: 0
+  disappearTime: 1

+ 0 - 16
ActionTowerDefense/Assets/Scripts/Spirits/BladeLight.cs

@@ -1,16 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-public class BladeLight : MonoBehaviour
-{
-    float time;
-    private void Update()
-    {
-        time += Time.deltaTime;
-        if (time >= 1)
-        {
-            gameObject.SetActive(false);
-        }
-    }
-}

+ 0 - 11
ActionTowerDefense/Assets/Scripts/Spirits/BladeLight.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0e7221e961160e044aca9575b6252c6d
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: