moved stuff to a different entity script
This commit is contained in:
parent
f4344c4700
commit
a0bfc600ef
14 changed files with 497 additions and 189 deletions
|
|
@ -94,6 +94,15 @@ TrailRenderer:
|
|||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 0.88578373
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ Transform:
|
|||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.2, y: 0.2, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Children:
|
||||
- {fileID: 6298566175391005934}
|
||||
m_Father: {fileID: 1849759059644475718}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &4897167667714073556
|
||||
|
|
@ -87,6 +88,37 @@ SpriteRenderer:
|
|||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &4860917236126221086
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6298566175391005934}
|
||||
m_Layer: 7
|
||||
m_Name: AttackPoint
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6298566175391005934
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4860917236126221086}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 5, y: 0, z: 0}
|
||||
m_LocalScale: {x: 5, y: 5, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2243782250480228875}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &4907226967481368671
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -209,6 +241,8 @@ GameObject:
|
|||
- component: {fileID: 1522197336905991381}
|
||||
- component: {fileID: 707193740762801077}
|
||||
- component: {fileID: 7249280586437786251}
|
||||
- component: {fileID: 8547430362287369941}
|
||||
- component: {fileID: 6505873975486236506}
|
||||
m_Layer: 7
|
||||
m_Name: Reisen
|
||||
m_TagString: Player
|
||||
|
|
@ -375,19 +409,60 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: d4ea4a5fe3d2523039e302c010b04daf, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
stats: {fileID: 6505873975486236506}
|
||||
abilities: []
|
||||
entitiesInRange: []
|
||||
closestEntity: {fileID: 0}
|
||||
cam: {fileID: 0}
|
||||
--- !u!114 &8547430362287369941
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7051425899434579382}
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 88cc3202b26534d78b932ebaf49077f4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
stats: {fileID: 6505873975486236506}
|
||||
abilities: []
|
||||
entitiesInRange: []
|
||||
closestEntity: {fileID: 0}
|
||||
maxTargettingRange: 0
|
||||
maxHeightDifference: 0
|
||||
minTargetJumpDistance: 0
|
||||
wallDetectors: []
|
||||
wallLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
player: {fileID: 0}
|
||||
playerMinDistance: 0
|
||||
--- !u!114 &6505873975486236506
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7051425899434579382}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 597d889207f92f03d81551cc8069aeee, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
thisEntity: {fileID: 7249280586437786251}
|
||||
health: 100
|
||||
maxHealth: 100
|
||||
speed: 4
|
||||
jumpPower: 6
|
||||
abilities: []
|
||||
attackOriginPoint: {fileID: 1849759059644475718}
|
||||
rb: {fileID: 707193740762801077}
|
||||
entitiesInRange: []
|
||||
closestEntity: {fileID: 0}
|
||||
groundCheck: {fileID: 6047872402331640471}
|
||||
groundLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8
|
||||
attackOriginPoint: {fileID: 6298566175391005934}
|
||||
attackOriginCenter: {fileID: 2243782250480228875}
|
||||
rb: {fileID: 707193740762801077}
|
||||
--- !u!1 &8370658841612952375
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -44,11 +44,12 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c2e841223273eee80837e20d27430787, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
abilityName: Shoot Bullet
|
||||
thisEntity: {fileID: 0}
|
||||
cooldown: 1
|
||||
power: 20
|
||||
targetLocation: {x: 0, y: 0, z: 0}
|
||||
projectile: {fileID: 4968744362001082579, guid: 75dc1523a7fccf65c913e8fcd3e81206, type: 3}
|
||||
projectileSpeed: 8
|
||||
projectileSpeed: 16
|
||||
projectileLifetime: 5
|
||||
pierceAmount: 0
|
||||
|
|
|
|||
|
|
@ -62,6 +62,38 @@ Transform:
|
|||
m_Children: []
|
||||
m_Father: {fileID: 4893125162624080007}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &5447721288900477139
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8123025040681778021}
|
||||
m_Layer: 7
|
||||
m_Name: Abilities
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8123025040681778021
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5447721288900477139}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1837572426186338970}
|
||||
m_Father: {fileID: 4893125162624080007}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &7013272570264032182
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -106,6 +138,7 @@ GameObject:
|
|||
- component: {fileID: 2276909637052643796}
|
||||
- component: {fileID: 2047881652295913413}
|
||||
- component: {fileID: 8821502866947698626}
|
||||
- component: {fileID: 2168594295468567769}
|
||||
m_Layer: 7
|
||||
m_Name: Youmu
|
||||
m_TagString: Player
|
||||
|
|
@ -132,6 +165,7 @@ Transform:
|
|||
- {fileID: 9142662567367472658}
|
||||
- {fileID: 8544749687679608375}
|
||||
- {fileID: 631585465756843219}
|
||||
- {fileID: 8123025040681778021}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3940513499368174321
|
||||
|
|
@ -274,19 +308,11 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 88cc3202b26534d78b932ebaf49077f4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
health: 100
|
||||
maxHealth: 100
|
||||
speed: 4
|
||||
jumpPower: 6
|
||||
abilities: []
|
||||
attackOriginPoint: {fileID: 0}
|
||||
rb: {fileID: 2047881652295913413}
|
||||
stats: {fileID: 2168594295468567769}
|
||||
abilities:
|
||||
- {fileID: 5774395727869586210}
|
||||
entitiesInRange: []
|
||||
closestEntity: {fileID: 0}
|
||||
groundCheck: {fileID: 9142662567367472658}
|
||||
groundLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8
|
||||
maxTargettingRange: 20
|
||||
maxHeightDifference: 0.5
|
||||
minTargetJumpDistance: 0.5
|
||||
|
|
@ -298,6 +324,30 @@ MonoBehaviour:
|
|||
m_Bits: 8
|
||||
player: {fileID: 0}
|
||||
playerMinDistance: 1.2
|
||||
--- !u!114 &2168594295468567769
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7036878528139897633}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 597d889207f92f03d81551cc8069aeee, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
thisEntity: {fileID: 8821502866947698626}
|
||||
health: 100
|
||||
maxHealth: 100
|
||||
speed: 4
|
||||
jumpPower: 6
|
||||
groundCheck: {fileID: 9142662567367472658}
|
||||
groundLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 8
|
||||
attackOriginPoint: {fileID: 5196447376297042405}
|
||||
attackOriginCenter: {fileID: 462469376723332893}
|
||||
rb: {fileID: 2047881652295913413}
|
||||
--- !u!1 &7227609801905333812
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -315,7 +365,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6446345046278479801
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -409,7 +459,8 @@ Transform:
|
|||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.2, y: 0.2, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Children:
|
||||
- {fileID: 5196447376297042405}
|
||||
m_Father: {fileID: 4893125162624080007}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &8680940919702853704
|
||||
|
|
@ -545,3 +596,111 @@ BoxCollider2D:
|
|||
m_AutoTiling: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!1 &8997570419459359421
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5196447376297042405}
|
||||
m_Layer: 6
|
||||
m_Name: AttackPoint
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5196447376297042405
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8997570419459359421}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 5, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 462469376723332893}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &4772816046521060917
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 8123025040681778021}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1305679653731509527, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: thisEntity
|
||||
value:
|
||||
objectReference: {fileID: 8821502866947698626}
|
||||
- target: {fileID: 2518044865521178739, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ShootBullet
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 10.320001
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 2.69
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
--- !u!4 &1837572426186338970 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 6610207326853905583, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
m_PrefabInstance: {fileID: 4772816046521060917}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &5774395727869586210 stripped
|
||||
MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 1305679653731509527, guid: 303f1513a3d6002c7a0b7b3fcc807afd, type: 3}
|
||||
m_PrefabInstance: {fileID: 4772816046521060917}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c2e841223273eee80837e20d27430787, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue