You've already forked taptap2024_GJ_chidouren
part2 Enemy been completed
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -153,6 +153,7 @@ GameObject:
|
||||
- component: {fileID: 2910407661415657074}
|
||||
- component: {fileID: 7652972295448827197}
|
||||
- component: {fileID: 6644402852319362618}
|
||||
- component: {fileID: 4119685675193083778}
|
||||
m_Layer: 0
|
||||
m_Name: spwan
|
||||
m_TagString: Untagged
|
||||
@@ -209,7 +210,7 @@ CircleCollider2D:
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
serializedVersion: 2
|
||||
m_Radius: 0.5
|
||||
m_Radius: 1
|
||||
--- !u!114 &7652972295448827197
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -217,7 +218,7 @@ MonoBehaviour:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9183714658023412500}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a081423ec3d040398636827c80f5f14c, type: 3}
|
||||
m_Name:
|
||||
@@ -289,3 +290,30 @@ MonoBehaviour:
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!50 &4119685675193083778
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9183714658023412500}
|
||||
m_BodyType: 1
|
||||
m_Simulated: 1
|
||||
m_UseFullKinematicContacts: 0
|
||||
m_UseAutoMass: 0
|
||||
m_Mass: 0.0001
|
||||
m_LinearDrag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_GravityScale: 0
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Interpolate: 0
|
||||
m_SleepingMode: 1
|
||||
m_CollisionDetection: 0
|
||||
m_Constraints: 0
|
||||
|
||||
@@ -48,8 +48,10 @@ namespace Game.Component.SceneProp
|
||||
|
||||
public void OnTriggerEnterAction (Collider2D other)
|
||||
{
|
||||
Debug.Log("aaaaaaaaaaaaa");
|
||||
if (other.gameObject.CompareTag ("Enemy"))
|
||||
{
|
||||
Debug.Log("bbbbbbbbbb");
|
||||
var entity = other.gameObject.GetComponent<EnemyEntity> ();
|
||||
OnSubEnemySpeed (entity , this._buffSpeedOffset , this._buffDuration);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
||||
- _blurOffset: 0.013394332
|
||||
- _blurOffset: 0.013889504
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &268278646524644520
|
||||
|
||||
Reference in New Issue
Block a user