修复BUG,火焰分叉效果

This commit is contained in:
GL 2024-12-26 11:20:11 +08:00
parent 64bb3a3dd4
commit 1f070568de
3 changed files with 37 additions and 4 deletions

View File

@ -1,5 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2622601509586677983
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7894364588234692947}
m_Layer: 0
m_Name: StartPos
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7894364588234692947
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2622601509586677983}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.236, y: 0.202, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8433650275485930555}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4599771890564645326
GameObject:
m_ObjectHideFlags: 0
@ -235,7 +266,7 @@ SpriteRenderer:
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 492e5984b518a80458cf575c0b57335c, type: 3}
m_Sprite: {fileID: 21300000, guid: 7e06234bd5a219a49be5fa82426e5d74, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
@ -332,8 +363,8 @@ MonoBehaviour:
attackCooldown: 10
bulltes: []
animator: {fileID: 8242226501344609213}
fireAni: {fileID: 0}
BulletStartPos: {fileID: 0}
fireAnis: []
BulletStartPos: {fileID: 7894364588234692947}
AttackSpeed: 1
direction: {x: 0, y: 0}
roleBulletSpeedAdd: 0
@ -392,6 +423,7 @@ Transform:
- {fileID: 3572175332158307839}
- {fileID: 8433650274046349754}
- {fileID: 322815736230801319}
- {fileID: 7894364588234692947}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

@ -1 +1 @@
Subproject commit 8da1a9bd84b59b84fa7154c08df416dfd4091b9a
Subproject commit cd7f839004ff7f4e4e003a19dccfa2ae1df4a928

View File

@ -12,6 +12,7 @@ public class FireDestroy : MonoBehaviour
public void ToDestroy()
{
Debug.Log("Ïú»Ù»ðÑæ");
Destroy(Fire);
}
}