This commit is contained in:
parent
c5f638d9d2
commit
c7b6ddbf70
Binary file not shown.
Binary file not shown.
|
@ -516,6 +516,28 @@ MonoBehaviour:
|
||||||
type: {class: Reference, ns: BITKit, asm: BITKit}
|
type: {class: Reference, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
value: Run
|
value: Run
|
||||||
|
--- !u!1101 &-2875870230168117586
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: 6359450267579216995}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 1
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 2
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
--- !u!1102 &-2145748106336018533
|
--- !u!1102 &-2145748106336018533
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -640,6 +662,57 @@ MonoBehaviour:
|
||||||
type: {class: Reference, ns: BITKit, asm: BITKit}
|
type: {class: Reference, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
value: ClimbLadder
|
value: ClimbLadder
|
||||||
|
--- !u!1107 &-1419080097273100811
|
||||||
|
AnimatorStateMachine:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Additive Layer 1
|
||||||
|
m_ChildStates:
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 6359450267579216995}
|
||||||
|
m_Position: {x: 30, y: 200, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 1063220354129424104}
|
||||||
|
m_Position: {x: 300, y: 140, z: 0}
|
||||||
|
m_ChildStateMachines: []
|
||||||
|
m_AnyStateTransitions: []
|
||||||
|
m_EntryTransitions: []
|
||||||
|
m_StateMachineTransitions: {}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||||
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
|
m_DefaultState: {fileID: 6359450267579216995}
|
||||||
|
--- !u!1102 &-1045047923388160873
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: New State
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions: []
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 68182865c01bbae4fb3027ea32634e3f, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!114 &-513838451122933232
|
--- !u!114 &-513838451122933232
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
@ -783,7 +856,19 @@ AnimatorController:
|
||||||
m_SyncedLayerAffectsTiming: 0
|
m_SyncedLayerAffectsTiming: 0
|
||||||
m_Controller: {fileID: 9100000}
|
m_Controller: {fileID: 9100000}
|
||||||
- serializedVersion: 5
|
- serializedVersion: 5
|
||||||
m_Name: Additive Layer
|
m_Name: Upper Layer
|
||||||
|
m_StateMachine: {fileID: 7690798265110638559}
|
||||||
|
m_Mask: {fileID: 31900000, guid: f05a3dd9e9ff0884bbcb0e022b4a7391, type: 2}
|
||||||
|
m_Motions: []
|
||||||
|
m_Behaviours: []
|
||||||
|
m_BlendingMode: 0
|
||||||
|
m_SyncedLayerIndex: -1
|
||||||
|
m_DefaultWeight: 1
|
||||||
|
m_IKPass: 0
|
||||||
|
m_SyncedLayerAffectsTiming: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
- serializedVersion: 5
|
||||||
|
m_Name: Additive Layer 0
|
||||||
m_StateMachine: {fileID: 5013484340607404016}
|
m_StateMachine: {fileID: 5013484340607404016}
|
||||||
m_Mask: {fileID: 0}
|
m_Mask: {fileID: 0}
|
||||||
m_Motions: []
|
m_Motions: []
|
||||||
|
@ -794,6 +879,18 @@ AnimatorController:
|
||||||
m_IKPass: 0
|
m_IKPass: 0
|
||||||
m_SyncedLayerAffectsTiming: 0
|
m_SyncedLayerAffectsTiming: 0
|
||||||
m_Controller: {fileID: 9100000}
|
m_Controller: {fileID: 9100000}
|
||||||
|
- serializedVersion: 5
|
||||||
|
m_Name: Additive Layer 1
|
||||||
|
m_StateMachine: {fileID: -1419080097273100811}
|
||||||
|
m_Mask: {fileID: 0}
|
||||||
|
m_Motions: []
|
||||||
|
m_Behaviours: []
|
||||||
|
m_BlendingMode: 1
|
||||||
|
m_SyncedLayerIndex: -1
|
||||||
|
m_DefaultWeight: 1
|
||||||
|
m_IKPass: 0
|
||||||
|
m_SyncedLayerAffectsTiming: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
--- !u!206 &287532439629317325
|
--- !u!206 &287532439629317325
|
||||||
BlendTree:
|
BlendTree:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
@ -873,6 +970,33 @@ MonoBehaviour:
|
||||||
type: {class: Reference, ns: BITKit, asm: BITKit}
|
type: {class: Reference, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
value: Action.Climb
|
value: Action.Climb
|
||||||
|
--- !u!1102 &1063220354129424104
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Fire
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: -2875870230168117586}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 4c9e9f549481a1e48bff1e9bbfa4eaa2, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1107 &1959945053478628370
|
--- !u!1107 &1959945053478628370
|
||||||
AnimatorStateMachine:
|
AnimatorStateMachine:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -944,6 +1068,33 @@ AnimatorStateTransition:
|
||||||
m_InterruptionSource: 0
|
m_InterruptionSource: 0
|
||||||
m_OrderedInterruption: 1
|
m_OrderedInterruption: 1
|
||||||
m_CanTransitionToSelf: 1
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1102 &2857387101801118781
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Reload
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions:
|
||||||
|
- {fileID: 8795183253526235150}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 15a76fda2edc7f546ba25b31b5ef83df, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!1102 &3074540142990258821
|
--- !u!1102 &3074540142990258821
|
||||||
AnimatorState:
|
AnimatorState:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
|
@ -1103,7 +1254,7 @@ AnimatorStateMachine:
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Additive Layer
|
m_Name: Additive Layer 0
|
||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -8338434944279992279}
|
m_State: {fileID: -8338434944279992279}
|
||||||
|
@ -1223,6 +1374,32 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1102 &6359450267579216995
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: New State
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions: []
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 0}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
--- !u!114 &7440592265021942964
|
--- !u!114 &7440592265021942964
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
@ -1269,6 +1446,31 @@ AnimatorStateTransition:
|
||||||
m_InterruptionSource: 0
|
m_InterruptionSource: 0
|
||||||
m_OrderedInterruption: 1
|
m_OrderedInterruption: 1
|
||||||
m_CanTransitionToSelf: 1
|
m_CanTransitionToSelf: 1
|
||||||
|
--- !u!1107 &7690798265110638559
|
||||||
|
AnimatorStateMachine:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Upper Layer
|
||||||
|
m_ChildStates:
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -1045047923388160873}
|
||||||
|
m_Position: {x: 30, y: 180, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 2857387101801118781}
|
||||||
|
m_Position: {x: 310, y: 180, z: 0}
|
||||||
|
m_ChildStateMachines: []
|
||||||
|
m_AnyStateTransitions: []
|
||||||
|
m_EntryTransitions: []
|
||||||
|
m_StateMachineTransitions: {}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||||
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
|
m_DefaultState: {fileID: -1045047923388160873}
|
||||||
--- !u!1101 &8378041146737502484
|
--- !u!1101 &8378041146737502484
|
||||||
AnimatorStateTransition:
|
AnimatorStateTransition:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
@ -1346,6 +1548,28 @@ AnimatorState:
|
||||||
m_MirrorParameter:
|
m_MirrorParameter:
|
||||||
m_CycleOffsetParameter:
|
m_CycleOffsetParameter:
|
||||||
m_TimeParameter:
|
m_TimeParameter:
|
||||||
|
--- !u!1101 &8795183253526235150
|
||||||
|
AnimatorStateTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -1045047923388160873}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransitionDuration: 0.1
|
||||||
|
m_TransitionOffset: 0
|
||||||
|
m_ExitTime: 0.9
|
||||||
|
m_HasExitTime: 1
|
||||||
|
m_HasFixedDuration: 1
|
||||||
|
m_InterruptionSource: 2
|
||||||
|
m_OrderedInterruption: 1
|
||||||
|
m_CanTransitionToSelf: 1
|
||||||
--- !u!206 &8986927568288765542
|
--- !u!206 &8986927568288765542
|
||||||
BlendTree:
|
BlendTree:
|
||||||
m_ObjectHideFlags: 1
|
m_ObjectHideFlags: 1
|
||||||
|
|
|
@ -0,0 +1,98 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!221 &22100000
|
||||||
|
AnimatorOverrideController:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: EntityPistol
|
||||||
|
m_Controller: {fileID: 9100000, guid: cb43cb1bf42184e45b920b0bb77554f9, type: 2}
|
||||||
|
m_Clips:
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: ad24d1ce30ed48945a9b68be9827bc90, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 8816525237524189043, guid: 8458c01c2fdae5447bf770e0341e9ccb,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 01214145ea75a2d4b80363bba2f1a65e, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -5858036045953447646, guid: 8458c01c2fdae5447bf770e0341e9ccb,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 451f983af0dd44c419406ca1d1a0b591, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 7433315730774535304, guid: 8458c01c2fdae5447bf770e0341e9ccb,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 9bc28f4633c671a428bc05bc4b6e6a8c, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 197974373799447605, guid: 8458c01c2fdae5447bf770e0341e9ccb,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 68182865c01bbae4fb3027ea32634e3f, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -5075752359623666121, guid: e8f9974eb768be4479413b261e3bc2c7,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: f88d8dea74ca02e43b56b5a42fd0da74, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1310521523949388987, guid: 74316b6025926e34285406181949885b,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 020d1c1ecabec614d8b651753ffc9170, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 7889747393601030778, guid: 74316b6025926e34285406181949885b,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 61b264f0423eb574eb04052b00876d3b, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -4610952415324987419, guid: 74316b6025926e34285406181949885b,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 7931b0c3373dbee4cba771022d874587, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1310521523949388987, guid: 74316b6025926e34285406181949885b,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 2a2012ea7f7e0e042ac7ede06063b02b, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1225430849258194476, guid: 75fec23d5aab28145865b0c66050c27d,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 7343dade3869ad849987e58a41f83525, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 8168699922495294216, guid: 2b2f07128b39cba4c92abb4345a32f06,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: b52cacd4e2a60ec46937f22be7836395, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1083544072533941823, guid: 60ce135d33b207a49b606aedcc0f1854,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: b8e76ef5af8510645b2c4dbc7bcaf794, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -5052955053199334208, guid: fd05b77d716f77f469af10c0e806deba,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: f9e14dc9abbbd9c4189dd4a2098b8453, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 5946662650953601361, guid: 83c4f2ad93f42a542a84bd742f0b972f,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 917b946e43d9a4641b9fdd98f166054d, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -6125803487475971785, guid: b5bad85324d27944daff4ad2f0a4bd08,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 1d074b7dc9160cb48a7556138159b8d7, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1095421310871173937, guid: e8f9974eb768be4479413b261e3bc2c7,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: ccc3ebda65dcc1a41b5919701bbe7ec0, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -1181532003767956096, guid: 9d2f7d233a913ac4cb9717696cc34bc1,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: e77502caa6a17c642ba09f586f3b45bb, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 6975854333129897964, guid: 98f61866ec8b8204f921cc66f442e18a,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 5e720394982277e4fa97be855ac63790, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -6856922032139373723, guid: 52dc2e185dc11e24d8c1c5624af3c6b5,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 77284660b64f8b747a959381bd306474, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 6556334952719929740, guid: 9bf394777061cc54d81cde403a0403fb,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 132af0a352a91b445b1c2b9421a33ad2, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 3434409490235861809, guid: a2215ac2093908143ab90243e34a84ab,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: f2371e65832a2764583cb07093b1b8e3, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 8816512968436616041, guid: 8d7811dbe55d38a4599645b01376ccf5,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: fc4545c9c30e352498b9fdae518c494c, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 9098646296615732399, guid: c15f2617665cdea4a8d622562bb8fc4d,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 48b588cdfb696b84fbc64a655f8679d4, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -8893850683258528007, guid: 819faaa415671a44ab62b3571bea9747,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: a2cdf29fad5621549a03be55655631d6, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -8213736612684763305, guid: 7a44dd35952925148891201602618577,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 140792d575aadb045948fa56a2fbf317, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 7216636553824065067, guid: 11e5366ded81d9346ab177adfdc5d12a,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: b14e3fdf274991c4796984ae1765eed1, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 4251362255343452841, guid: 8ed75e08282001d4babe492f7dad3a07,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: c7cf8a24ccd38f14d9c90aff6869cedf, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 5109977346001602528, guid: 70dcc12584f5ccf49bbbe45b091db804,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: d309aa534749433468272473d5b65010, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 6993030432383370618, guid: f8999c71a27cafc4d80eec16f552b842,
|
||||||
|
type: 3}
|
|
@ -96,3 +96,9 @@ AnimatorOverrideController:
|
||||||
- m_OriginalClip: {fileID: 7400000, guid: d309aa534749433468272473d5b65010, type: 2}
|
- m_OriginalClip: {fileID: 7400000, guid: d309aa534749433468272473d5b65010, type: 2}
|
||||||
m_OverrideClip: {fileID: 6993030432383370618, guid: f8999c71a27cafc4d80eec16f552b842,
|
m_OverrideClip: {fileID: 6993030432383370618, guid: f8999c71a27cafc4d80eec16f552b842,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 4c9e9f549481a1e48bff1e9bbfa4eaa2, type: 2}
|
||||||
|
m_OverrideClip: {fileID: 2532806716085130415, guid: e3fbe511af9ffc7448580c98f059e42d,
|
||||||
|
type: 3}
|
||||||
|
- m_OriginalClip: {fileID: 7400000, guid: 15a76fda2edc7f546ba25b31b5ef83df, type: 2}
|
||||||
|
m_OverrideClip: {fileID: -3507144807383977469, guid: 99688f58112ceff49a7d2347c39e0ce5,
|
||||||
|
type: 3}
|
||||||
|
|
|
@ -0,0 +1,77 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!319 &31900000
|
||||||
|
AvatarMask:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Pixel Upper
|
||||||
|
m_Mask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
m_Elements:
|
||||||
|
- m_Path:
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Left_UpperLeg
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Left_UpperLeg/Left_LowerLeg
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Left_UpperLeg/Left_LowerLeg/Left_Foot
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Right_UpperLeg
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Right_UpperLeg/Right_LowerLeg
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Right_UpperLeg/Right_LowerLeg/Right_Foot
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Spine
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/FPVScale
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Left_Shoulder
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Left_Shoulder/Left_UpperArm
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Left_Shoulder/Left_UpperArm/Left_LowerArm
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Left_Shoulder/Left_UpperArm/Left_LowerArm/Left_Hand
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Left_Shoulder/Left_UpperArm/Left_LowerArm/Left_Hand/Left_Root
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Neck
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Neck/Head
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Right_Shoulder
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Right_Shoulder/Right_UpperArm
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Right_Shoulder/Right_UpperArm/Right_LowerArm
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Right_Shoulder/Right_UpperArm/Right_LowerArm/Right_Hand
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: ArmaTure/Hips/Spine/Chest/UpperChest/Right_Shoulder/Right_UpperArm/Right_LowerArm/Right_Hand/Right_Root
|
||||||
|
m_Weight: 1
|
||||||
|
- m_Path: Meshs
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Arm
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Arm_Slim
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Body
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Combine
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Combine_Slim
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Head
|
||||||
|
m_Weight: 0
|
||||||
|
- m_Path: Meshs/Mesh_Leg
|
||||||
|
m_Weight: 0
|
|
@ -19,11 +19,8 @@ MonoBehaviour:
|
||||||
squareIcon: {fileID: 2800000, guid: cd23c6e3d5938814e920000f85cc585e, type: 3}
|
squareIcon: {fileID: 2800000, guid: cd23c6e3d5938814e920000f85cc585e, type: 3}
|
||||||
rectangleIcon: {fileID: 2800000, guid: cd23c6e3d5938814e920000f85cc585e, type: 3}
|
rectangleIcon: {fileID: 2800000, guid: cd23c6e3d5938814e920000f85cc585e, type: 3}
|
||||||
quality: 6
|
quality: 6
|
||||||
factoryProperties:
|
isImprovised: 1
|
||||||
- rid: 806583384995266563
|
factoryProperties: []
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds: []
|
||||||
- rid: 806583384995266563
|
|
||||||
type: {class: Improvisable, ns: BITFALL.Entities.Improvised, asm: BITFALL.Entities.Improvised}
|
|
||||||
data:
|
|
||||||
|
|
|
@ -19,10 +19,8 @@ MonoBehaviour:
|
||||||
squareIcon: {fileID: 0}
|
squareIcon: {fileID: 0}
|
||||||
rectangleIcon: {fileID: 0}
|
rectangleIcon: {fileID: 0}
|
||||||
quality: 6
|
quality: 6
|
||||||
factoryProperties:
|
isImprovised: 1
|
||||||
- rid: -2
|
factoryProperties: []
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds: []
|
||||||
- rid: -2
|
|
||||||
type: {class: , ns: , asm: }
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ MonoBehaviour:
|
||||||
squareIcon: {fileID: 2800000, guid: c477ad9668c34e94c92ace1feb3c2303, type: 3}
|
squareIcon: {fileID: 2800000, guid: c477ad9668c34e94c92ace1feb3c2303, type: 3}
|
||||||
rectangleIcon: {fileID: 2800000, guid: 5c2d1966fb99bb84d94571987eb24278, type: 3}
|
rectangleIcon: {fileID: 2800000, guid: 5c2d1966fb99bb84d94571987eb24278, type: 3}
|
||||||
quality: 2
|
quality: 2
|
||||||
|
isImprovised: 0
|
||||||
factoryProperties:
|
factoryProperties:
|
||||||
- rid: 806583484692037632
|
- rid: 806583484692037632
|
||||||
- rid: 806583484692037633
|
- rid: 806583484692037633
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 69820685192a7b140b6034ec1d0e585e, type: 3}
|
||||||
|
m_Name: Fire
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
value: Fire
|
|
@ -0,0 +1,15 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 69820685192a7b140b6034ec1d0e585e, type: 3}
|
||||||
|
m_Name: Reload
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
value: Reload
|
|
@ -60,6 +60,93 @@ ParentConstraint:
|
||||||
m_Sources:
|
m_Sources:
|
||||||
- sourceTransform: {fileID: 8939301259950143839}
|
- sourceTransform: {fileID: 8939301259950143839}
|
||||||
weight: 1
|
weight: 1
|
||||||
|
--- !u!1 &1439263772382777122
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3012280595721412550}
|
||||||
|
- component: {fileID: 7366056783613668925}
|
||||||
|
m_Layer: 6
|
||||||
|
m_Name: M4A1
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &3012280595721412550
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1439263772382777122}
|
||||||
|
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: []
|
||||||
|
m_Father: {fileID: 6917515382106340287}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &7366056783613668925
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1439263772382777122}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 59dc86b0d5155c7498e7c0ee28de5cf6, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
assetableItem: {fileID: 11400000, guid: 5557f2edf7d8c4b43934c79878628d22, type: 2}
|
||||||
|
firePoint: {fileID: 2322454793245516490}
|
||||||
|
bulletService:
|
||||||
|
rid: 806583666069995709
|
||||||
|
forceFire: 1
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: 806583666069995709
|
||||||
|
type: {class: BulletServiceSingleton, ns: BITFALL, asm: BITFALL.Bullet.Runtime}
|
||||||
|
data:
|
||||||
|
--- !u!1 &3282564729361582311
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6917515382106340287}
|
||||||
|
m_Layer: 6
|
||||||
|
m_Name: Controllers
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 5132851093641282708, guid: 0000000000000000d000000000000000, type: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &6917515382106340287
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3282564729361582311}
|
||||||
|
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: 3012280595721412550}
|
||||||
|
m_Father: {fileID: 5088247503209915273}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &4066453597750257159
|
--- !u!1 &4066453597750257159
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -76,6 +163,9 @@ GameObject:
|
||||||
- component: {fileID: 3488683244084915478}
|
- component: {fileID: 3488683244084915478}
|
||||||
- component: {fileID: 2630237995018867325}
|
- component: {fileID: 2630237995018867325}
|
||||||
- component: {fileID: 2652217143784426575}
|
- component: {fileID: 2652217143784426575}
|
||||||
|
- component: {fileID: 7328560627112153540}
|
||||||
|
- component: {fileID: 4900988971439423463}
|
||||||
|
- component: {fileID: 6439753104892075433}
|
||||||
m_Layer: 6
|
m_Layer: 6
|
||||||
m_Name: EntityProxy
|
m_Name: EntityProxy
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -99,6 +189,7 @@ Transform:
|
||||||
- {fileID: 6326084427786842871}
|
- {fileID: 6326084427786842871}
|
||||||
- {fileID: 4901961216034443422}
|
- {fileID: 4901961216034443422}
|
||||||
- {fileID: 5459769522642911290}
|
- {fileID: 5459769522642911290}
|
||||||
|
- {fileID: 6917515382106340287}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!95 &8190192540717976532
|
--- !u!95 &8190192540717976532
|
||||||
|
@ -176,6 +267,7 @@ MonoBehaviour:
|
||||||
- {fileID: 4307956604766933561}
|
- {fileID: 4307956604766933561}
|
||||||
- {fileID: 1293448482971593281}
|
- {fileID: 1293448482971593281}
|
||||||
- {fileID: 8998990799866537914}
|
- {fileID: 8998990799866537914}
|
||||||
|
joints: []
|
||||||
rigidbody: {fileID: 0}
|
rigidbody: {fileID: 0}
|
||||||
--- !u!114 &839526996089019602
|
--- !u!114 &839526996089019602
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -247,6 +339,10 @@ MonoBehaviour:
|
||||||
aliveCollider:
|
aliveCollider:
|
||||||
allow: 1
|
allow: 1
|
||||||
value: {fileID: 2630237995018867325}
|
value: {fileID: 2630237995018867325}
|
||||||
|
allowAnimatorParameter: 0
|
||||||
|
physicsBasedAnimation:
|
||||||
|
allow: 0
|
||||||
|
value: {fileID: 0}
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds:
|
||||||
|
@ -254,6 +350,74 @@ MonoBehaviour:
|
||||||
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
so: {fileID: 11400000, guid: 0fc327c3267485645af8945d927e493e, type: 2}
|
so: {fileID: 11400000, guid: 0fc327c3267485645af8945d927e493e, type: 2}
|
||||||
|
--- !u!114 &7328560627112153540
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4066453597750257159}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d61f8d5d7b83b1941831e20da974aa54, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
InitialFov: 0
|
||||||
|
virtualCamera: {fileID: 0}
|
||||||
|
overrideIndex:
|
||||||
|
allow: 0
|
||||||
|
value: 0
|
||||||
|
--- !u!114 &4900988971439423463
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4066453597750257159}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe518ca622404ab4e98b981449e4a789, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
equipped:
|
||||||
|
_serializedList:
|
||||||
|
- Key: Assets/Weapon_M4A1
|
||||||
|
Value: {fileID: 6029696352193735620}
|
||||||
|
bodyEquips:
|
||||||
|
_serializedList: []
|
||||||
|
holsteredEquips:
|
||||||
|
_serializedList: []
|
||||||
|
--- !u!114 &6439753104892075433
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4066453597750257159}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0ac2d465b526bc94fa8ecba1c434c884, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
animators:
|
||||||
|
- {fileID: 839526996089019602}
|
||||||
|
animationKeyWords:
|
||||||
|
- rid: 806583666069995739
|
||||||
|
_rootVelocity:
|
||||||
|
rid: 806583666069995737
|
||||||
|
boolParameters: []
|
||||||
|
floatParameters: []
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: 806583666069995737
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: 16255d9c98b4db546ba0977b92d291e0, type: 2}
|
||||||
|
- rid: 806583666069995739
|
||||||
|
type: {class: Reference, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
value: Fire
|
||||||
--- !u!1 &4080309079167589688
|
--- !u!1 &4080309079167589688
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -318,6 +482,92 @@ Transform:
|
||||||
- {fileID: 3628348256900614807}
|
- {fileID: 3628348256900614807}
|
||||||
m_Father: {fileID: 5088247503209915273}
|
m_Father: {fileID: 5088247503209915273}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1001 &3011392489163623404
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 2322454793245516490}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 585187907198464123, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: vfx_muzzleflash
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 756293f34e21ad8449ada4514314de21, type: 3}
|
||||||
|
--- !u!114 &2119626339006940746 stripped
|
||||||
|
MonoBehaviour:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 3792296346815466918, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3011392489163623404}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4daf805c91d04d6409660f7675cbdb52, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!4 &9089342988776255003 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 6334674383232214519, guid: 756293f34e21ad8449ada4514314de21,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 3011392489163623404}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1001 &5285591918902703221
|
--- !u!1001 &5285591918902703221
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -892,9 +1142,51 @@ PrefabInstance:
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects:
|
||||||
m_AddedComponents: []
|
- targetCorrespondingSourceObject: {fileID: 8098435069078192609, guid: d3acb7cee99e8614086c872341b08644,
|
||||||
|
type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 9089342988776255003}
|
||||||
|
m_AddedComponents:
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 285318316674533615, guid: d3acb7cee99e8614086c872341b08644,
|
||||||
|
type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 6120171066608020870}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: d3acb7cee99e8614086c872341b08644, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: d3acb7cee99e8614086c872341b08644, type: 3}
|
||||||
|
--- !u!4 &2322454793245516490 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 8098435069078192609, guid: d3acb7cee99e8614086c872341b08644,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 5789500044955984683}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1 &6029696352193735620 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 285318316674533615, guid: d3acb7cee99e8614086c872341b08644,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 5789500044955984683}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!114 &6120171066608020870
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6029696352193735620}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: eac859befd6ba3349b2cf8acb119d2de, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
vfxReferences:
|
||||||
|
- rid: 806583666069995754
|
||||||
|
vfxPlayer: {fileID: 2119626339006940746}
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: 806583666069995754
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
--- !u!4 &6029696352194033636 stripped
|
--- !u!4 &6029696352194033636 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 285318316674503887, guid: d3acb7cee99e8614086c872341b08644,
|
m_CorrespondingSourceObject: {fileID: 285318316674503887, guid: d3acb7cee99e8614086c872341b08644,
|
||||||
|
|
|
@ -63,6 +63,11 @@ PrefabInstance:
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Apple_01
|
value: Apple_01
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1755865475335770947, guid: 6db7680dca4eb2748a7339cb3bc13d14,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 10
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents:
|
m_RemovedComponents:
|
||||||
- {fileID: 2120823588654661318, guid: 6db7680dca4eb2748a7339cb3bc13d14, type: 3}
|
- {fileID: 2120823588654661318, guid: 6db7680dca4eb2748a7339cb3bc13d14, type: 3}
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
|
|
|
@ -575,6 +575,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 974388490910736766}
|
- {fileID: 974388490910736766}
|
||||||
|
- {fileID: 6504162899667296546}
|
||||||
- {fileID: 6778784877586059904}
|
- {fileID: 6778784877586059904}
|
||||||
m_Father: {fileID: 5592345712141467330}
|
m_Father: {fileID: 5592345712141467330}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
@ -1134,9 +1135,11 @@ GameObject:
|
||||||
- component: {fileID: 6002452162850529175}
|
- component: {fileID: 6002452162850529175}
|
||||||
- component: {fileID: 2495495580039550089}
|
- component: {fileID: 2495495580039550089}
|
||||||
- component: {fileID: 6678778182358330342}
|
- component: {fileID: 6678778182358330342}
|
||||||
|
- component: {fileID: 6221928825442168580}
|
||||||
- component: {fileID: 6438031452483613087}
|
- component: {fileID: 6438031452483613087}
|
||||||
- component: {fileID: 7617151341549785245}
|
- component: {fileID: 7617151341549785245}
|
||||||
- component: {fileID: 1315802043012238542}
|
- component: {fileID: 1315802043012238542}
|
||||||
|
- component: {fileID: 1267397851485989014}
|
||||||
- component: {fileID: 5362342980643103828}
|
- component: {fileID: 5362342980643103828}
|
||||||
- component: {fileID: 3865076157975442983}
|
- component: {fileID: 3865076157975442983}
|
||||||
- component: {fileID: 300229368}
|
- component: {fileID: 300229368}
|
||||||
|
@ -1259,6 +1262,40 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 73333e0a8f0bc4a4b82c06db4c35a21f, type: 3}
|
m_Script: {fileID: 11500000, guid: 73333e0a8f0bc4a4b82c06db4c35a21f, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!114 &6221928825442168580
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4826102346843731729}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0ac2d465b526bc94fa8ecba1c434c884, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
animators:
|
||||||
|
- {fileID: 6002452162850529175}
|
||||||
|
animationKeyWords:
|
||||||
|
- rid: 806583666069995745
|
||||||
|
- rid: 806583666069995746
|
||||||
|
_rootVelocity:
|
||||||
|
rid: -2
|
||||||
|
boolParameters: []
|
||||||
|
floatParameters: []
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: -2
|
||||||
|
type: {class: , ns: , asm: }
|
||||||
|
- rid: 806583666069995745
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
|
- rid: 806583666069995746
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: f911910b02fa2ec4298285cde8a2faa2, type: 2}
|
||||||
--- !u!114 &6438031452483613087
|
--- !u!114 &6438031452483613087
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1298,6 +1335,25 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
healthPoint: 100
|
healthPoint: 100
|
||||||
maxHealthPoint: 100
|
maxHealthPoint: 100
|
||||||
|
--- !u!114 &1267397851485989014
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4826102346843731729}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 315608923f4594746a61782d9fb2d982, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
unityAnimator: {fileID: 6002452162850529175}
|
||||||
|
animatorControllers:
|
||||||
|
_serializedList:
|
||||||
|
- Key: Assets/Weapon_M4A1
|
||||||
|
Value: {fileID: 22100000, guid: ac08606b82ce5894b912a062bc236fa3, type: 2}
|
||||||
|
- Key: Assets/Weapon_Glock
|
||||||
|
Value: {fileID: 22100000, guid: 0cddccb93dd87994eb401e57eef04596, type: 2}
|
||||||
--- !u!114 &5362342980643103828
|
--- !u!114 &5362342980643103828
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1459,10 +1515,11 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: d61f8d5d7b83b1941831e20da974aa54, type: 3}
|
m_Script: {fileID: 11500000, guid: d61f8d5d7b83b1941831e20da974aa54, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
equips:
|
|
||||||
index: -1
|
|
||||||
InitialFov: 60
|
InitialFov: 60
|
||||||
virtualCamera: {fileID: 3926401271228594272}
|
virtualCamera: {fileID: 3926401271228594272}
|
||||||
|
overrideIndex:
|
||||||
|
allow: 0
|
||||||
|
value: 0
|
||||||
--- !u!114 &7063041954768829124
|
--- !u!114 &7063041954768829124
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1525,22 +1582,22 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: fe518ca622404ab4e98b981449e4a789, type: 3}
|
m_Script: {fileID: 11500000, guid: fe518ca622404ab4e98b981449e4a789, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
equipments:
|
equipped:
|
||||||
_serializedList:
|
_serializedList:
|
||||||
- Key: Items/Dev_Backpack
|
- Key: Assets/TacticalKnife
|
||||||
|
Value: {fileID: 6778784877585698464}
|
||||||
|
- Key: Assets/Weapon_Glock
|
||||||
|
Value: {fileID: 6504162899667598594}
|
||||||
|
- Key: Assets/Weapon_M4A1
|
||||||
|
Value: {fileID: 974388490910383454}
|
||||||
|
bodyEquips:
|
||||||
|
_serializedList:
|
||||||
|
- Key: Assets/Dev_Backpack
|
||||||
Value: {fileID: 2532744476050021095}
|
Value: {fileID: 2532744476050021095}
|
||||||
|
holsteredEquips:
|
||||||
|
_serializedList:
|
||||||
- Key: Assets/Weapon_M4A1
|
- Key: Assets/Weapon_M4A1
|
||||||
Value: {fileID: 3159909461315830858}
|
Value: {fileID: 3159909461315830858}
|
||||||
unEquipDictionary:
|
|
||||||
_serializedList:
|
|
||||||
- Key: Items/Dev_Backpack
|
|
||||||
Value: {fileID: 2532744476050021095}
|
|
||||||
- Key: Weapon_M4A1
|
|
||||||
Value: {fileID: 3159909461315830858}
|
|
||||||
equipDictionary:
|
|
||||||
_serializedList:
|
|
||||||
- Key: Weapon_M4A1
|
|
||||||
Value: {fileID: 974388490910383454}
|
|
||||||
--- !u!114 &8629046459414148992
|
--- !u!114 &8629046459414148992
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -3984,6 +4041,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: 9bba7152a5d65c049b17a8461ad4e844, type: 2}
|
item: {fileID: 11400000, guid: 9bba7152a5d65c049b17a8461ad4e844, type: 2}
|
||||||
animator: {fileID: 4834117868670403678}
|
animator: {fileID: 4834117868670403678}
|
||||||
|
vfxPlayer: {fileID: 0}
|
||||||
|
entityAnimator: {fileID: 0}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 1221488407187310397}
|
- {fileID: 1221488407187310397}
|
||||||
- {fileID: 735532174701725946}
|
- {fileID: 735532174701725946}
|
||||||
|
@ -4124,12 +4183,118 @@ PrefabInstance:
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
m_AddedComponents: []
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: c6747b7c156afa84fab63fe8a9bb3939, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: c6747b7c156afa84fab63fe8a9bb3939, type: 3}
|
||||||
|
--- !u!1 &6778784877585698464 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 5162172660552824136, guid: c6747b7c156afa84fab63fe8a9bb3939,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1851168842159684584}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!4 &6778784877586059904 stripped
|
--- !u!4 &6778784877586059904 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 5162172660552853864, guid: c6747b7c156afa84fab63fe8a9bb3939,
|
m_CorrespondingSourceObject: {fileID: 5162172660552853864, guid: c6747b7c156afa84fab63fe8a9bb3939,
|
||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 1851168842159684584}
|
m_PrefabInstance: {fileID: 1851168842159684584}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &1869663933923627438
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 2367504132869257504}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 2088938590675319443, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CastShadows
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: -0.046
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 180
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 270
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 90
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905175751852, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Pistol4_02
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4877693905177686636, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CastShadows
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8010641801067118335, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CastShadows
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8353621443289556429, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CastShadows
|
||||||
|
value: 3
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 0a34ffdf8870cb546aad8d55148b4fff, type: 3}
|
||||||
|
--- !u!4 &6504162899667296546 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4877693905175392396, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1869663933923627438}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1 &6504162899667598594 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 4877693905175751852, guid: 0a34ffdf8870cb546aad8d55148b4fff,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1869663933923627438}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1001 &2346797690253046104
|
--- !u!1001 &2346797690253046104
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -4404,6 +4569,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: 220746f56523829498b8b83d62365cc7, type: 2}
|
item: {fileID: 11400000, guid: 220746f56523829498b8b83d62365cc7, type: 2}
|
||||||
animator: {fileID: 2486523390929547415}
|
animator: {fileID: 2486523390929547415}
|
||||||
|
vfxPlayer: {fileID: 0}
|
||||||
|
entityAnimator: {fileID: 0}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 4538978027255161566}
|
- {fileID: 4538978027255161566}
|
||||||
- {fileID: 5158269637596109219}
|
- {fileID: 5158269637596109219}
|
||||||
|
@ -5009,11 +5176,11 @@ PrefabInstance:
|
||||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 6600209918710237285}
|
addedObject: {fileID: 8902445283215300242}
|
||||||
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
||||||
type: 3}
|
type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 8902445283215300242}
|
addedObject: {fileID: 8065589936586356455}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 644cb63bc5228d44e901a3251d09e8cd, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 644cb63bc5228d44e901a3251d09e8cd, type: 3}
|
||||||
--- !u!137 &279771559974666008 stripped
|
--- !u!137 &279771559974666008 stripped
|
||||||
SkinnedMeshRenderer:
|
SkinnedMeshRenderer:
|
||||||
|
@ -5046,11 +5213,13 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
animators:
|
animators:
|
||||||
- {fileID: 8907247608405424211}
|
- {fileID: 4676489320873285128}
|
||||||
animationKeyWords:
|
animationKeyWords:
|
||||||
- rid: 750605193046130694
|
- rid: 750605193046130694
|
||||||
- rid: 750605214148460547
|
- rid: 750605214148460547
|
||||||
- rid: 749939664269606914
|
- rid: 749939664269606914
|
||||||
|
- rid: 806583666069995741
|
||||||
|
- rid: 806583666069995742
|
||||||
_rootVelocity:
|
_rootVelocity:
|
||||||
rid: 750605193046130692
|
rid: 750605193046130692
|
||||||
boolParameters:
|
boolParameters:
|
||||||
|
@ -5084,6 +5253,14 @@ MonoBehaviour:
|
||||||
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
so: {fileID: 11400000, guid: a4d5f0f375420144c888f6d9e0f2593c, type: 2}
|
so: {fileID: 11400000, guid: a4d5f0f375420144c888f6d9e0f2593c, type: 2}
|
||||||
|
- rid: 806583666069995741
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
|
- rid: 806583666069995742
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: f911910b02fa2ec4298285cde8a2faa2, type: 2}
|
||||||
--- !u!114 &4676489320873285128
|
--- !u!114 &4676489320873285128
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -5099,24 +5276,6 @@ MonoBehaviour:
|
||||||
debug: 0
|
debug: 0
|
||||||
animator: {fileID: 8907247608405424211}
|
animator: {fileID: 8907247608405424211}
|
||||||
layerInfos: []
|
layerInfos: []
|
||||||
--- !u!114 &6600209918710237285
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2753699357243898003}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4daf805c91d04d6409660f7675cbdb52, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
allowParticles:
|
|
||||||
allow: 0
|
|
||||||
value: []
|
|
||||||
allowLight:
|
|
||||||
allow: 0
|
|
||||||
value: {fileID: 0}
|
|
||||||
--- !u!114 &8902445283215300242
|
--- !u!114 &8902445283215300242
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -5146,6 +5305,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: 5557f2edf7d8c4b43934c79878628d22, type: 2}
|
item: {fileID: 11400000, guid: 5557f2edf7d8c4b43934c79878628d22, type: 2}
|
||||||
animator: {fileID: 4676489320873285128}
|
animator: {fileID: 4676489320873285128}
|
||||||
|
vfxPlayer: {fileID: 8065589936586356455}
|
||||||
|
entityAnimator: {fileID: 4515933970560943755}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 279771559974666008}
|
- {fileID: 279771559974666008}
|
||||||
- {fileID: 3790416042972862020}
|
- {fileID: 3790416042972862020}
|
||||||
|
@ -5167,7 +5328,6 @@ MonoBehaviour:
|
||||||
meleeAction: {fileID: 709374767176041235, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
meleeAction: {fileID: 709374767176041235, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
||||||
type: 3}
|
type: 3}
|
||||||
cameraView: {fileID: 8525020893898639929}
|
cameraView: {fileID: 8525020893898639929}
|
||||||
vfxPlayer: {fileID: 5006172060748096908}
|
|
||||||
locationAdditive: {fileID: 4486952052422082421}
|
locationAdditive: {fileID: 4486952052422082421}
|
||||||
assetable: {fileID: 11400000, guid: 5557f2edf7d8c4b43934c79878628d22, type: 2}
|
assetable: {fileID: 11400000, guid: 5557f2edf7d8c4b43934c79878628d22, type: 2}
|
||||||
expectFiring:
|
expectFiring:
|
||||||
|
@ -5228,6 +5388,28 @@ MonoBehaviour:
|
||||||
type: {class: Climb, ns: BITFALL.Guns.States, asm: BITFALL.Equip}
|
type: {class: Climb, ns: BITFALL.Guns.States, asm: BITFALL.Equip}
|
||||||
data:
|
data:
|
||||||
root: {fileID: 8902445283215300242}
|
root: {fileID: 8902445283215300242}
|
||||||
|
--- !u!114 &8065589936586356455
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2753699357243898003}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: eac859befd6ba3349b2cf8acb119d2de, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
vfxReferences:
|
||||||
|
- rid: 806583666069995748
|
||||||
|
vfxPlayer: {fileID: 5006172060748096908}
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: 806583666069995748
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
--- !u!4 &3277717096784339497 stripped
|
--- !u!4 &3277717096784339497 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 644cb63bc5228d44e901a3251d09e8cd,
|
||||||
|
@ -6569,6 +6751,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: 5e50b5a1c5542da46b92f4cf7bbd5043, type: 2}
|
item: {fileID: 11400000, guid: 5e50b5a1c5542da46b92f4cf7bbd5043, type: 2}
|
||||||
animator: {fileID: 2269618926873949942}
|
animator: {fileID: 2269618926873949942}
|
||||||
|
vfxPlayer: {fileID: 0}
|
||||||
|
entityAnimator: {fileID: 0}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 456800702483242086}
|
- {fileID: 456800702483242086}
|
||||||
- {fileID: 3539558469337834170}
|
- {fileID: 3539558469337834170}
|
||||||
|
@ -6907,6 +7091,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: beaccfe60f8582e4895457499e18b12c, type: 2}
|
item: {fileID: 11400000, guid: beaccfe60f8582e4895457499e18b12c, type: 2}
|
||||||
animator: {fileID: 446310280712231859}
|
animator: {fileID: 446310280712231859}
|
||||||
|
vfxPlayer: {fileID: 0}
|
||||||
|
entityAnimator: {fileID: 0}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 230503227726884351}
|
- {fileID: 230503227726884351}
|
||||||
- {fileID: 6538094884673845581}
|
- {fileID: 6538094884673845581}
|
||||||
|
@ -7742,6 +7928,10 @@ PrefabInstance:
|
||||||
type: 3}
|
type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 4874137276923287036}
|
addedObject: {fileID: 4874137276923287036}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 5bbc8731abf94f94a8849dd8106296fe,
|
||||||
|
type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 4925042838238742529}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 5bbc8731abf94f94a8849dd8106296fe, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 5bbc8731abf94f94a8849dd8106296fe, type: 3}
|
||||||
--- !u!137 &727301493299199162 stripped
|
--- !u!137 &727301493299199162 stripped
|
||||||
SkinnedMeshRenderer:
|
SkinnedMeshRenderer:
|
||||||
|
@ -7792,11 +7982,13 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
animators:
|
animators:
|
||||||
- {fileID: 4357561961615010256}
|
- {fileID: 4874137276923287036}
|
||||||
animationKeyWords:
|
animationKeyWords:
|
||||||
- rid: 750605193046130694
|
- rid: 750605193046130694
|
||||||
- rid: 750605214148460547
|
- rid: 750605214148460547
|
||||||
- rid: 749939664269606914
|
- rid: 749939664269606914
|
||||||
|
- rid: 806583666069995743
|
||||||
|
- rid: 806583666069995744
|
||||||
_rootVelocity:
|
_rootVelocity:
|
||||||
rid: 750605193046130692
|
rid: 750605193046130692
|
||||||
boolParameters:
|
boolParameters:
|
||||||
|
@ -7830,6 +8022,14 @@ MonoBehaviour:
|
||||||
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
data:
|
data:
|
||||||
so: {fileID: 11400000, guid: a4d5f0f375420144c888f6d9e0f2593c, type: 2}
|
so: {fileID: 11400000, guid: a4d5f0f375420144c888f6d9e0f2593c, type: 2}
|
||||||
|
- rid: 806583666069995743
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
|
- rid: 806583666069995744
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: f911910b02fa2ec4298285cde8a2faa2, type: 2}
|
||||||
--- !u!114 &4384885775763546391
|
--- !u!114 &4384885775763546391
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -7859,6 +8059,8 @@ MonoBehaviour:
|
||||||
transitionOnNextFrame: 0
|
transitionOnNextFrame: 0
|
||||||
item: {fileID: 11400000, guid: 4cf1920e287c0234f9fa77937708ffe2, type: 2}
|
item: {fileID: 11400000, guid: 4cf1920e287c0234f9fa77937708ffe2, type: 2}
|
||||||
animator: {fileID: 4874137276923287036}
|
animator: {fileID: 4874137276923287036}
|
||||||
|
vfxPlayer: {fileID: 4925042838238742529}
|
||||||
|
entityAnimator: {fileID: 936978454741360619}
|
||||||
renderers:
|
renderers:
|
||||||
- {fileID: 8322527087331379143}
|
- {fileID: 8322527087331379143}
|
||||||
- {fileID: 727301493299199162}
|
- {fileID: 727301493299199162}
|
||||||
|
@ -7883,7 +8085,6 @@ MonoBehaviour:
|
||||||
meleeAction: {fileID: 709374767176041235, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
meleeAction: {fileID: 709374767176041235, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
||||||
type: 3}
|
type: 3}
|
||||||
cameraView: {fileID: 3579016247041219514}
|
cameraView: {fileID: 3579016247041219514}
|
||||||
vfxPlayer: {fileID: 49539130056838808}
|
|
||||||
locationAdditive: {fileID: 4486952052422082421}
|
locationAdditive: {fileID: 4486952052422082421}
|
||||||
assetable: {fileID: 11400000, guid: 4cf1920e287c0234f9fa77937708ffe2, type: 2}
|
assetable: {fileID: 11400000, guid: 4cf1920e287c0234f9fa77937708ffe2, type: 2}
|
||||||
expectFiring:
|
expectFiring:
|
||||||
|
@ -7959,6 +8160,28 @@ MonoBehaviour:
|
||||||
debug: 0
|
debug: 0
|
||||||
animator: {fileID: 4357561961615010256}
|
animator: {fileID: 4357561961615010256}
|
||||||
layerInfos: []
|
layerInfos: []
|
||||||
|
--- !u!114 &4925042838238742529
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7048933845581474064}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: eac859befd6ba3349b2cf8acb119d2de, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
vfxReferences:
|
||||||
|
- rid: 806583666069995752
|
||||||
|
vfxPlayer: {fileID: 49539130056838808}
|
||||||
|
references:
|
||||||
|
version: 2
|
||||||
|
RefIds:
|
||||||
|
- rid: 806583666069995752
|
||||||
|
type: {class: ReferenceScriptableObject, ns: BITKit, asm: BITKit}
|
||||||
|
data:
|
||||||
|
so: {fileID: 11400000, guid: b7664d3b6512cb042bd9716363153bc1, type: 2}
|
||||||
--- !u!4 &7681178683086533546 stripped
|
--- !u!4 &7681178683086533546 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 5bbc8731abf94f94a8849dd8106296fe,
|
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 5bbc8731abf94f94a8849dd8106296fe,
|
||||||
|
|
|
@ -103,6 +103,10 @@ PrefabInstance:
|
||||||
type: 3}
|
type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 626853534020189990}
|
addedObject: {fileID: 626853534020189990}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: a5afe13492c9acf478def44319cb3619,
|
||||||
|
type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 8823825610688837616}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: a5afe13492c9acf478def44319cb3619, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: a5afe13492c9acf478def44319cb3619, type: 3}
|
||||||
--- !u!1 &3130178554240382059 stripped
|
--- !u!1 &3130178554240382059 stripped
|
||||||
GameObject:
|
GameObject:
|
||||||
|
@ -190,3 +194,116 @@ MonoBehaviour:
|
||||||
layerMask:
|
layerMask:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 513
|
m_Bits: 513
|
||||||
|
--- !u!96 &8823825610688837616
|
||||||
|
TrailRenderer:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3130178554240382059}
|
||||||
|
m_Enabled: 0
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 1
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 0
|
||||||
|
m_LightProbeUsage: 0
|
||||||
|
m_ReflectionProbeUsage: 0
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 2100000, guid: b9ee288987a7daf438ed100698f0cad8, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_Time: 0.32
|
||||||
|
m_PreviewTimeScale: 1
|
||||||
|
m_Parameters:
|
||||||
|
serializedVersion: 3
|
||||||
|
widthMultiplier: 0.01
|
||||||
|
widthCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 1
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.64
|
||||||
|
value: 0.01
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 1
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
colorGradient:
|
||||||
|
serializedVersion: 2
|
||||||
|
key0: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
key1: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
ctime0: 0
|
||||||
|
ctime1: 65535
|
||||||
|
ctime2: 0
|
||||||
|
ctime3: 0
|
||||||
|
ctime4: 0
|
||||||
|
ctime5: 0
|
||||||
|
ctime6: 0
|
||||||
|
ctime7: 0
|
||||||
|
atime0: 0
|
||||||
|
atime1: 65535
|
||||||
|
atime2: 0
|
||||||
|
atime3: 0
|
||||||
|
atime4: 0
|
||||||
|
atime5: 0
|
||||||
|
atime6: 0
|
||||||
|
atime7: 0
|
||||||
|
m_Mode: 0
|
||||||
|
m_ColorSpace: -1
|
||||||
|
m_NumColorKeys: 2
|
||||||
|
m_NumAlphaKeys: 2
|
||||||
|
numCornerVertices: 0
|
||||||
|
numCapVertices: 0
|
||||||
|
alignment: 0
|
||||||
|
textureMode: 0
|
||||||
|
textureScale: {x: 1, y: 1}
|
||||||
|
shadowBias: 0.5
|
||||||
|
generateLightingData: 0
|
||||||
|
m_MinVertexDistance: 0.1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_Autodestruct: 0
|
||||||
|
m_Emitting: 1
|
||||||
|
m_ApplyActiveColorSpace: 1
|
||||||
|
|
|
@ -44,7 +44,7 @@ Rigidbody:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1221729430557705066}
|
m_GameObject: {fileID: 1221729430557705066}
|
||||||
serializedVersion: 4
|
serializedVersion: 4
|
||||||
m_Mass: 1
|
m_Mass: 16
|
||||||
m_Drag: 0
|
m_Drag: 0
|
||||||
m_AngularDrag: 0.05
|
m_AngularDrag: 0.05
|
||||||
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
||||||
|
@ -75,6 +75,7 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 2b1d23c488f41754ea714f972c248130, type: 3}
|
m_Script: {fileID: 11500000, guid: 2b1d23c488f41754ea714f972c248130, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
allowPhysics: 1
|
||||||
root: {fileID: 5555206979556305353}
|
root: {fileID: 5555206979556305353}
|
||||||
openEuler: {x: 0, y: -120, z: 0}
|
openEuler: {x: 0, y: -120, z: 0}
|
||||||
closeEuler: {x: 0, y: 0, z: 0}
|
closeEuler: {x: 0, y: 0, z: 0}
|
||||||
|
@ -368,7 +369,7 @@ MonoBehaviour:
|
||||||
overlayTexture: {fileID: 0}
|
overlayTexture: {fileID: 0}
|
||||||
overlayTextureScale: 1
|
overlayTextureScale: 1
|
||||||
outline: 1
|
outline: 1
|
||||||
outlineColor: {r: 0, g: 0, b: 0, a: 1}
|
outlineColor: {r: 1, g: 0.26270828, b: 0.025157154, a: 1}
|
||||||
outlineColorStyle: 0
|
outlineColorStyle: 0
|
||||||
outlineGradient:
|
outlineGradient:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
@ -401,8 +402,8 @@ MonoBehaviour:
|
||||||
m_NumColorKeys: 2
|
m_NumColorKeys: 2
|
||||||
m_NumAlphaKeys: 2
|
m_NumAlphaKeys: 2
|
||||||
outlineGradientInLocalSpace: 0
|
outlineGradientInLocalSpace: 0
|
||||||
outlineWidth: 0.45
|
outlineWidth: 0.64
|
||||||
outlineQuality: 3
|
outlineQuality: 1
|
||||||
outlineDownsampling: 2
|
outlineDownsampling: 2
|
||||||
outlineVisibility: 0
|
outlineVisibility: 0
|
||||||
glowBlendMode: 0
|
glowBlendMode: 0
|
||||||
|
@ -410,7 +411,7 @@ MonoBehaviour:
|
||||||
outlineIndependent: 0
|
outlineIndependent: 0
|
||||||
glow: 0
|
glow: 0
|
||||||
glowWidth: 0.4
|
glowWidth: 0.4
|
||||||
glowQuality: 3
|
glowQuality: 1
|
||||||
glowDownsampling: 2
|
glowDownsampling: 2
|
||||||
glowHQColor: {r: 0.64, g: 1, b: 0, a: 1}
|
glowHQColor: {r: 0.64, g: 1, b: 0, a: 1}
|
||||||
glowDithering: 1
|
glowDithering: 1
|
||||||
|
@ -445,10 +446,10 @@ MonoBehaviour:
|
||||||
targetFXRotationSpeed: 50
|
targetFXRotationSpeed: 50
|
||||||
targetFXInitialScale: 4
|
targetFXInitialScale: 4
|
||||||
targetFXEndScale: 1.5
|
targetFXEndScale: 1.5
|
||||||
targetFXScaleToRenderBounds: 1
|
targetFXScaleToRenderBounds: 0
|
||||||
targetFXAlignToGround: 0
|
targetFXAlignToGround: 0
|
||||||
targetFXFadePower: 32
|
targetFXFadePower: 32
|
||||||
targetFXGroundMaxDistance: 10
|
targetFXGroundMaxDistance: 15
|
||||||
targetFXGroundLayerMask:
|
targetFXGroundLayerMask:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 4294967295
|
m_Bits: 4294967295
|
||||||
|
@ -459,7 +460,7 @@ MonoBehaviour:
|
||||||
seeThroughOccluderMask:
|
seeThroughOccluderMask:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 4294967295
|
m_Bits: 4294967295
|
||||||
seeThroughOccluderThreshold: 0.3
|
seeThroughOccluderThreshold: 0.4
|
||||||
seeThroughOccluderMaskAccurate: 0
|
seeThroughOccluderMaskAccurate: 0
|
||||||
seeThroughOccluderCheckInterval: 1
|
seeThroughOccluderCheckInterval: 1
|
||||||
seeThroughOccluderCheckIndividualObjects: 0
|
seeThroughOccluderCheckIndividualObjects: 0
|
||||||
|
|
|
@ -142,7 +142,6 @@ MonoBehaviour:
|
||||||
prefab: {fileID: 2956281190107464547, guid: cd8502ee01a85944bbccb38128facc13,
|
prefab: {fileID: 2956281190107464547, guid: cd8502ee01a85944bbccb38128facc13,
|
||||||
type: 3}
|
type: 3}
|
||||||
root: {fileID: 1621845164855518716}
|
root: {fileID: 1621845164855518716}
|
||||||
instances: []
|
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds:
|
||||||
|
@ -194,7 +193,7 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_host: 127.0.0.1
|
m_host: 127.0.0.1
|
||||||
m_port: 27014
|
m_port: 27014
|
||||||
connectOnStart: 1
|
connectOnStart: 0
|
||||||
autoReconnect: 1
|
autoReconnect: 1
|
||||||
allowDebugHost:
|
allowDebugHost:
|
||||||
allow: 0
|
allow: 0
|
||||||
|
@ -283,8 +282,8 @@ MonoBehaviour:
|
||||||
steamService:
|
steamService:
|
||||||
rid: 806583144903606758
|
rid: 806583144903606758
|
||||||
allowLoadOfflineMap:
|
allowLoadOfflineMap:
|
||||||
allow: 0
|
allow: 1
|
||||||
value: Maps/InitialScene
|
value: Maps/DMZ
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds:
|
||||||
|
@ -813,9 +812,6 @@ MonoBehaviour:
|
||||||
type: 3}
|
type: 3}
|
||||||
inventoryAction: {fileID: 4731022410478041803, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
inventoryAction: {fileID: 4731022410478041803, guid: e0e9267cab824e8489fc27d83f1d07b7,
|
||||||
type: 3}
|
type: 3}
|
||||||
inputActionGroup:
|
|
||||||
allowGlobalActivation: 0
|
|
||||||
isEnabled: 0
|
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds:
|
||||||
|
|
|
@ -118,6 +118,7 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 8bf3c729cc99f0b47a6b0bd8f97fac73, type: 3}
|
m_Script: {fileID: 11500000, guid: 8bf3c729cc99f0b47a6b0bd8f97fac73, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
isOvering: 0
|
||||||
--- !u!114 &7936474328313349173
|
--- !u!114 &7936474328313349173
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -361,6 +362,7 @@ MonoBehaviour:
|
||||||
- {fileID: 932345816451815009}
|
- {fileID: 932345816451815009}
|
||||||
- {fileID: 2795597010085539353}
|
- {fileID: 2795597010085539353}
|
||||||
- {fileID: 5465789218075534306}
|
- {fileID: 5465789218075534306}
|
||||||
|
joints: []
|
||||||
rigidbody: {fileID: 6212079510373085893}
|
rigidbody: {fileID: 6212079510373085893}
|
||||||
--- !u!114 &6426485772650260809
|
--- !u!114 &6426485772650260809
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -380,6 +382,10 @@ MonoBehaviour:
|
||||||
aliveCollider:
|
aliveCollider:
|
||||||
allow: 1
|
allow: 1
|
||||||
value: {fileID: 8579368653672686413}
|
value: {fileID: 8579368653672686413}
|
||||||
|
allowAnimatorParameter: 0
|
||||||
|
physicsBasedAnimation:
|
||||||
|
allow: 0
|
||||||
|
value: {fileID: 0}
|
||||||
references:
|
references:
|
||||||
version: 2
|
version: 2
|
||||||
RefIds:
|
RefIds:
|
||||||
|
@ -422,7 +428,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
animators:
|
animators:
|
||||||
- {fileID: 673930142905110667}
|
- {fileID: 7936474328313349173}
|
||||||
animationKeyWords: []
|
animationKeyWords: []
|
||||||
_rootVelocity:
|
_rootVelocity:
|
||||||
rid: 806583346156273665
|
rid: 806583346156273665
|
||||||
|
|
|
@ -1147,22 +1147,22 @@ PrefabInstance:
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: 22.661001
|
value: 53.821
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_LocalPosition.y
|
||||||
value: 2.1051528
|
value: 1.4299991
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 21.766075
|
value: -62.513924
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.w
|
propertyPath: m_LocalRotation.w
|
||||||
value: 0.7071068
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
@ -1172,7 +1172,7 @@ PrefabInstance:
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalRotation.y
|
propertyPath: m_LocalRotation.y
|
||||||
value: 0.7071068
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
- target: {fileID: 3772777254845134042, guid: f25aeccf4aba96b43a20d93ee9fa4e6e,
|
||||||
type: 3}
|
type: 3}
|
||||||
|
@ -13822,7 +13822,7 @@ MeshFilter:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 310741521}
|
m_GameObject: {fileID: 310741521}
|
||||||
m_Mesh: {fileID: 499886243}
|
m_Mesh: {fileID: 1893400711}
|
||||||
--- !u!23 &310741524
|
--- !u!23 &310741524
|
||||||
MeshRenderer:
|
MeshRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -14049,8 +14049,8 @@ MonoBehaviour:
|
||||||
m_AreaError: 15
|
m_AreaError: 15
|
||||||
m_PreserveMeshAssetOnDestroy: 0
|
m_PreserveMeshAssetOnDestroy: 0
|
||||||
assetGuid:
|
assetGuid:
|
||||||
m_Mesh: {fileID: 499886243}
|
m_Mesh: {fileID: 1893400711}
|
||||||
m_VersionIndex: 599
|
m_VersionIndex: 605
|
||||||
m_IsSelectable: 1
|
m_IsSelectable: 1
|
||||||
m_SelectedFaces:
|
m_SelectedFaces:
|
||||||
m_SelectedEdges: []
|
m_SelectedEdges: []
|
||||||
|
@ -24308,171 +24308,6 @@ MonoBehaviour:
|
||||||
mr: {fileID: 497884692}
|
mr: {fileID: 497884692}
|
||||||
mf: {fileID: 497884693}
|
mf: {fileID: 497884693}
|
||||||
garbageCollectMesh: {fileID: 497884694}
|
garbageCollectMesh: {fileID: 497884694}
|
||||||
--- !u!43 &499886243
|
|
||||||
Mesh:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: pb_Mesh36434
|
|
||||||
serializedVersion: 11
|
|
||||||
m_SubMeshes:
|
|
||||||
- serializedVersion: 2
|
|
||||||
firstByte: 0
|
|
||||||
indexCount: 24
|
|
||||||
topology: 0
|
|
||||||
baseVertex: 0
|
|
||||||
firstVertex: 0
|
|
||||||
vertexCount: 9
|
|
||||||
localAABB:
|
|
||||||
m_Center: {x: -97.7142, y: 1.6801468e-15, z: 75.66708}
|
|
||||||
m_Extent: {x: 128, y: 0, z: 128}
|
|
||||||
m_Shapes:
|
|
||||||
vertices: []
|
|
||||||
shapes: []
|
|
||||||
channels: []
|
|
||||||
fullWeights: []
|
|
||||||
m_BindPose: []
|
|
||||||
m_BoneNameHashes:
|
|
||||||
m_RootBoneNameHash: 0
|
|
||||||
m_BonesAABB: []
|
|
||||||
m_VariableBoneCountWeights:
|
|
||||||
m_Data:
|
|
||||||
m_MeshCompression: 0
|
|
||||||
m_IsReadable: 1
|
|
||||||
m_KeepVertices: 1
|
|
||||||
m_KeepIndices: 1
|
|
||||||
m_IndexFormat: 0
|
|
||||||
m_IndexBuffer: 000001000200010003000200010004000300040005000300020003000600030007000600030005000700050008000700
|
|
||||||
m_VertexData:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_VertexCount: 9
|
|
||||||
m_Channels:
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 12
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 24
|
|
||||||
format: 0
|
|
||||||
dimension: 4
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 40
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 48
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
m_DataSize: 504
|
|
||||||
_typelessdata: d6b661c37a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bfd6b661c3e85451c217d7a33c0bd7a33cd6b661c37a22f2268c559742000000000000803f000000000000803f0000000000000000000080bfd6b661c38c5597426f32003f0bd7a33cac6dc3c27a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bfac6dc3c2e85451c211d7a33c6232003fac6dc3c27a22f2268c559742000000000000803f000000000000803f0000000000000000000080bfac6dc3c28c5597426d32003f6332003fd6b661c37a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bfd6b661c3c6aa4b431b467b3f0bd7a33cac6dc3c27a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bfac6dc3c2c6aa4b431b467b3f6532003f5049f2417a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bf5049f241e85451c20bd7a33c07467b3f5049f2417a22f2268c559742000000000000803f000000000000803f0000000000000000000080bf5049f2418c5597426b32003f07467b3f5049f2417a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bf5049f241c6aa4b431b467b3f07467b3f
|
|
||||||
m_CompressedMesh:
|
|
||||||
m_Vertices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UV:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Normals:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Tangents:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Weights:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_NormalSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_TangentSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_FloatColors:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_BoneIndices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Triangles:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UVInfo: 0
|
|
||||||
m_LocalAABB:
|
|
||||||
m_Center: {x: -97.7142, y: 1.6801468e-15, z: 75.66708}
|
|
||||||
m_Extent: {x: 128, y: 0, z: 128}
|
|
||||||
m_MeshUsageFlags: 0
|
|
||||||
m_CookingOptions: 30
|
|
||||||
m_BakedConvexCollisionMesh:
|
|
||||||
m_BakedTriangleCollisionMesh:
|
|
||||||
m_MeshMetrics[0]: 1
|
|
||||||
m_MeshMetrics[1]: 70883.87
|
|
||||||
m_MeshOptimizationFlags: 1
|
|
||||||
m_StreamData:
|
|
||||||
serializedVersion: 2
|
|
||||||
offset: 0
|
|
||||||
size: 0
|
|
||||||
path:
|
|
||||||
--- !u!4 &505303611 stripped
|
--- !u!4 &505303611 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: -3983025326440498736, guid: b805b0f643b3776478b9ea3e6701ebb8,
|
m_CorrespondingSourceObject: {fileID: -3983025326440498736, guid: b805b0f643b3776478b9ea3e6701ebb8,
|
||||||
|
@ -38878,6 +38713,11 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_LocalPosition.y
|
||||||
value: 0.30000016
|
value: 0.30000016
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7328560627112153540, guid: f18510934c4581d47819abfbf1bd3647,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: overrideIndex.allow
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
|
@ -90414,6 +90254,171 @@ Transform:
|
||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 1881821744}
|
m_PrefabInstance: {fileID: 1881821744}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!43 &1893400711
|
||||||
|
Mesh:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: pb_Mesh36450
|
||||||
|
serializedVersion: 11
|
||||||
|
m_SubMeshes:
|
||||||
|
- serializedVersion: 2
|
||||||
|
firstByte: 0
|
||||||
|
indexCount: 24
|
||||||
|
topology: 0
|
||||||
|
baseVertex: 0
|
||||||
|
firstVertex: 0
|
||||||
|
vertexCount: 9
|
||||||
|
localAABB:
|
||||||
|
m_Center: {x: -97.7142, y: 1.6801468e-15, z: 75.66708}
|
||||||
|
m_Extent: {x: 128, y: 0, z: 128}
|
||||||
|
m_Shapes:
|
||||||
|
vertices: []
|
||||||
|
shapes: []
|
||||||
|
channels: []
|
||||||
|
fullWeights: []
|
||||||
|
m_BindPose: []
|
||||||
|
m_BoneNameHashes:
|
||||||
|
m_RootBoneNameHash: 0
|
||||||
|
m_BonesAABB: []
|
||||||
|
m_VariableBoneCountWeights:
|
||||||
|
m_Data:
|
||||||
|
m_MeshCompression: 0
|
||||||
|
m_IsReadable: 1
|
||||||
|
m_KeepVertices: 1
|
||||||
|
m_KeepIndices: 1
|
||||||
|
m_IndexFormat: 0
|
||||||
|
m_IndexBuffer: 000001000200010003000200010004000300040005000300020003000600030007000600030005000700050008000700
|
||||||
|
m_VertexData:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_VertexCount: 9
|
||||||
|
m_Channels:
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 3
|
||||||
|
- stream: 0
|
||||||
|
offset: 12
|
||||||
|
format: 0
|
||||||
|
dimension: 3
|
||||||
|
- stream: 0
|
||||||
|
offset: 24
|
||||||
|
format: 0
|
||||||
|
dimension: 4
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 40
|
||||||
|
format: 0
|
||||||
|
dimension: 2
|
||||||
|
- stream: 0
|
||||||
|
offset: 48
|
||||||
|
format: 0
|
||||||
|
dimension: 2
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
- stream: 0
|
||||||
|
offset: 0
|
||||||
|
format: 0
|
||||||
|
dimension: 0
|
||||||
|
m_DataSize: 504
|
||||||
|
_typelessdata: d6b661c37a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bfd6b661c3e85451c217d7a33c0bd7a33cd6b661c37a22f2268c559742000000000000803f000000000000803f0000000000000000000080bfd6b661c38c5597426f32003f0bd7a33cac6dc3c27a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bfac6dc3c2e85451c211d7a33c6232003fac6dc3c27a22f2268c559742000000000000803f000000000000803f0000000000000000000080bfac6dc3c28c5597426d32003f6332003fd6b661c37a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bfd6b661c3c6aa4b431b467b3f0bd7a33cac6dc3c27a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bfac6dc3c2c6aa4b431b467b3f6532003f5049f2417a22f226e85451c2000000000000803f000000000000803f0000000000000000000080bf5049f241e85451c20bd7a33c07467b3f5049f2417a22f2268c559742000000000000803f000000000000803f0000000000000000000080bf5049f2418c5597426b32003f07467b3f5049f2417a22f226c6aa4b43000000000000803f000000000000803f0000000000000000000080bf5049f241c6aa4b431b467b3f07467b3f
|
||||||
|
m_CompressedMesh:
|
||||||
|
m_Vertices:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Range: 0
|
||||||
|
m_Start: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_UV:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Range: 0
|
||||||
|
m_Start: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_Normals:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Range: 0
|
||||||
|
m_Start: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_Tangents:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Range: 0
|
||||||
|
m_Start: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_Weights:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_NormalSigns:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_TangentSigns:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_FloatColors:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Range: 0
|
||||||
|
m_Start: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_BoneIndices:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_Triangles:
|
||||||
|
m_NumItems: 0
|
||||||
|
m_Data:
|
||||||
|
m_BitSize: 0
|
||||||
|
m_UVInfo: 0
|
||||||
|
m_LocalAABB:
|
||||||
|
m_Center: {x: -97.7142, y: 1.6801468e-15, z: 75.66708}
|
||||||
|
m_Extent: {x: 128, y: 0, z: 128}
|
||||||
|
m_MeshUsageFlags: 0
|
||||||
|
m_CookingOptions: 30
|
||||||
|
m_BakedConvexCollisionMesh:
|
||||||
|
m_BakedTriangleCollisionMesh:
|
||||||
|
m_MeshMetrics[0]: 1
|
||||||
|
m_MeshMetrics[1]: 70883.87
|
||||||
|
m_MeshOptimizationFlags: 1
|
||||||
|
m_StreamData:
|
||||||
|
serializedVersion: 2
|
||||||
|
offset: 0
|
||||||
|
size: 0
|
||||||
|
path:
|
||||||
--- !u!1001 &1893649403
|
--- !u!1001 &1893649403
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -18,8 +18,8 @@ namespace BITFALL
|
||||||
public record InstanceBullet : SpawnBullet
|
public record InstanceBullet : SpawnBullet
|
||||||
{
|
{
|
||||||
public Vector3 currentPos;
|
public Vector3 currentPos;
|
||||||
public float InitialForce;
|
|
||||||
public float currentSpeed = 64;
|
public float currentSpeed = 64;
|
||||||
|
public float ElapsedTime;
|
||||||
public BITBullet model;
|
public BITBullet model;
|
||||||
}
|
}
|
||||||
[Serializable]
|
[Serializable]
|
||||||
|
@ -43,7 +43,7 @@ namespace BITFALL
|
||||||
private IDamageService damageService;
|
private IDamageService damageService;
|
||||||
|
|
||||||
[Header(Constant.Header.Settings)]
|
[Header(Constant.Header.Settings)]
|
||||||
public UnityPool<BITBullet> pool = new();
|
[SerializeField] private UnityPool<BITBullet> pool = new();
|
||||||
|
|
||||||
[Header(Constant.Header.InternalVariables)]
|
[Header(Constant.Header.InternalVariables)]
|
||||||
private readonly List<InstanceBullet> instances = new();
|
private readonly List<InstanceBullet> instances = new();
|
||||||
|
@ -77,9 +77,15 @@ namespace BITFALL
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// 计算子弹的下坠距离
|
||||||
|
float distance = 0.5f * Physics.gravity.y * bullet.ElapsedTime * bullet.ElapsedTime;
|
||||||
|
|
||||||
bullet.currentSpeed -= bullet.startSpeed * Time.fixedDeltaTime;
|
bullet.currentSpeed -= bullet.startSpeed * Time.fixedDeltaTime;
|
||||||
bullet.currentPos += (Vector3)bullet.forward * (bullet.currentSpeed * Time.fixedDeltaTime);
|
bullet.currentPos += (Vector3)bullet.forward * (bullet.currentSpeed * Time.fixedDeltaTime);
|
||||||
|
bullet.currentPos += Vector3.up * distance;
|
||||||
bullet.model.transform.position = bullet.currentPos;
|
bullet.model.transform.position = bullet.currentPos;
|
||||||
|
|
||||||
|
bullet.ElapsedTime += Time.fixedDeltaTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,7 +137,7 @@ namespace BITFALL
|
||||||
(null, null) => null,
|
(null, null) => null,
|
||||||
(null, not null) => damagable?.Rigidbody,
|
(null, not null) => damagable?.Rigidbody,
|
||||||
(not null, null) => raycastHit.rigidbody,
|
(not null, null) => raycastHit.rigidbody,
|
||||||
(not null, not null) => raycastHit.rigidbody,
|
(not null, not null) => damagable?.Rigidbody,
|
||||||
};
|
};
|
||||||
if (_rigidbody is not null && _rigidbody.gameObject.layer is not 0)
|
if (_rigidbody is not null && _rigidbody.gameObject.layer is not 0)
|
||||||
{
|
{
|
||||||
|
@ -154,8 +160,12 @@ namespace BITFALL
|
||||||
forward = raycastHit.normal,
|
forward = raycastHit.normal,
|
||||||
};
|
};
|
||||||
var vfx = DI.Get<VFXService>().Spawn(location, tags.ToArray());
|
var vfx = DI.Get<VFXService>().Spawn(location, tags.ToArray());
|
||||||
var constraint = vfx.gameObject.AddComponent<ParentConstraint>();
|
var constraint = vfx.gameObject.GetOrAddComponent<ParentConstraint>();
|
||||||
var sourceTransform = raycastHit.transform;
|
var sourceTransform = raycastHit.transform;
|
||||||
|
while (constraint.sourceCount>0)
|
||||||
|
{
|
||||||
|
constraint.RemoveSource(0);
|
||||||
|
}
|
||||||
constraint.AddSource(new ConstraintSource()
|
constraint.AddSource(new ConstraintSource()
|
||||||
{
|
{
|
||||||
sourceTransform = sourceTransform,
|
sourceTransform = sourceTransform,
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "BITFALL.Entities.Animation",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [
|
||||||
|
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
||||||
|
"GUID:709caf8d7fb6ef24bbba0ab9962a3ad0",
|
||||||
|
"GUID:84d565da37ad40546a118cfb3c3509f3",
|
||||||
|
"GUID:d525ad6bd40672747bde77962f1c401e",
|
||||||
|
"GUID:49b49c76ee64f6b41bf28ef951cb0e50",
|
||||||
|
"GUID:677cd05ca06c46b4395470200b1acdad"
|
||||||
|
],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
|
@ -1,18 +1,48 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using AYellowpaper.SerializedCollections;
|
||||||
|
using BITFALL.Entities.Equipment;
|
||||||
|
using BITKit.Animations;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class EntitiesAnimationController : MonoBehaviour
|
namespace BITKit.Entities.Animation
|
||||||
{
|
{
|
||||||
// Start is called before the first frame update
|
public sealed class EntitiesAnimationController : EntityComponent
|
||||||
void Start()
|
{
|
||||||
{
|
[SerializeField] private UnityAnimator unityAnimator;
|
||||||
|
[SerializeField] private SerializedDictionary<string, RuntimeAnimatorController> animatorControllers;
|
||||||
}
|
[Inject]
|
||||||
|
private IEntityEquipment _entityEquipment;
|
||||||
|
|
||||||
|
private RuntimeAnimatorController _initialRuntimeAnimatorController;
|
||||||
|
|
||||||
|
private readonly DoubleBuffer<RuntimeAnimatorController> _runtimeAnimatorControllerBuffer = new();
|
||||||
|
public override void OnAwake()
|
||||||
|
{
|
||||||
|
base.OnAwake();
|
||||||
|
_entityEquipment.OnEquip += OnEquip;
|
||||||
|
_initialRuntimeAnimatorController = unityAnimator.animator.runtimeAnimatorController;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnLateUpdate(float deltaTime)
|
||||||
|
{
|
||||||
|
if(_runtimeAnimatorControllerBuffer.TryGetRelease(out var controller))
|
||||||
|
{
|
||||||
|
unityAnimator.animator.runtimeAnimatorController = controller;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnEquip(IBasicItem obj)
|
||||||
|
{
|
||||||
|
if(animatorControllers.TryGetValue(obj.AddressablePath, out var controller))
|
||||||
|
{
|
||||||
|
_runtimeAnimatorControllerBuffer.Release(controller);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_runtimeAnimatorControllerBuffer.Release(_initialRuntimeAnimatorController);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,6 +278,7 @@ namespace BITFALL.Entities.Equipment
|
||||||
|
|
||||||
private void Equip(IBasicItem item)
|
private void Equip(IBasicItem item)
|
||||||
{
|
{
|
||||||
|
|
||||||
_equipment.EntryEquip(item);
|
_equipment.EntryEquip(item);
|
||||||
currentEquip = item;
|
currentEquip = item;
|
||||||
}
|
}
|
||||||
|
@ -296,6 +297,7 @@ namespace BITFALL.Entities.Equipment
|
||||||
{
|
{
|
||||||
if (!_equipmentContainer.Equipment.TryGetAny(x => x.Key is T, out var item)) return false;
|
if (!_equipmentContainer.Equipment.TryGetAny(x => x.Key is T, out var item)) return false;
|
||||||
//if (!_inventory.TryUseItem(item.Value)) return false;
|
//if (!_inventory.TryUseItem(item.Value)) return false;
|
||||||
|
_improvisedService.TryUnEquipImprovised(out _);
|
||||||
Equip(item.Value);
|
Equip(item.Value);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
"GUID:30cdc242b1ac6a944a460f4ab0b77b88",
|
"GUID:30cdc242b1ac6a944a460f4ab0b77b88",
|
||||||
"GUID:7efac18f239530141802fb139776f333",
|
"GUID:7efac18f239530141802fb139776f333",
|
||||||
"GUID:ef0bb553b58b90b488bdbe8672e3be0b",
|
"GUID:ef0bb553b58b90b488bdbe8672e3be0b",
|
||||||
"GUID:48ef04d98836e2640bf90b524bdff904"
|
"GUID:48ef04d98836e2640bf90b524bdff904",
|
||||||
|
"GUID:1eb13dc7c3cb5a444877a995967ed591",
|
||||||
|
"GUID:ea5474181b324dd49a5976cd68f44f18"
|
||||||
],
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
|
|
@ -6,10 +6,12 @@ using BITKit;
|
||||||
using BITKit.Animations;
|
using BITKit.Animations;
|
||||||
using BITKit.StateMachine;
|
using BITKit.StateMachine;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Security.Permissions;
|
||||||
using BITFALL;
|
using BITFALL;
|
||||||
using BITFALL.Entities.Equipment;
|
using BITFALL.Entities.Equipment;
|
||||||
using BITFALL.Player.Equip;
|
using BITFALL.Player.Equip;
|
||||||
using BITKit.Entities.Melee;
|
using BITKit.Entities.Melee;
|
||||||
|
using BITKit.Entities.VFX;
|
||||||
using Cinemachine;
|
using Cinemachine;
|
||||||
using Cysharp.Threading.Tasks;
|
using Cysharp.Threading.Tasks;
|
||||||
|
|
||||||
|
@ -22,7 +24,9 @@ namespace BITKit.Entities
|
||||||
[SerializeField] protected AssetableItem item;
|
[SerializeField] protected AssetableItem item;
|
||||||
|
|
||||||
[Header(Constant.Header.Components)]
|
[Header(Constant.Header.Components)]
|
||||||
public UnityAnimator animator;
|
[SerializeField] public UnityAnimator animator;
|
||||||
|
[SerializeField] protected EntityVFXPlayer vfxPlayer;
|
||||||
|
[SerializeField] protected EntityAnimator entityAnimator;
|
||||||
[SerializeField] private Renderer[] renderers;
|
[SerializeField] private Renderer[] renderers;
|
||||||
[SerializeField] protected Transform cameraTransform;
|
[SerializeField] protected Transform cameraTransform;
|
||||||
|
|
||||||
|
@ -30,6 +34,7 @@ namespace BITKit.Entities
|
||||||
[SerializeReference,SubclassSelector] protected IMeleeService meleeService;
|
[SerializeReference,SubclassSelector] protected IMeleeService meleeService;
|
||||||
|
|
||||||
public Core.Entites.IEntity Entity { get; set; }
|
public Core.Entites.IEntity Entity { get; set; }
|
||||||
|
public Entity UnityEntity=>Entity as Entity;
|
||||||
public IBasicItem Item { get; set; }
|
public IBasicItem Item { get; set; }
|
||||||
|
|
||||||
public readonly InputActionGroup inputActionGroup = new()
|
public readonly InputActionGroup inputActionGroup = new()
|
||||||
|
@ -46,14 +51,29 @@ namespace BITKit.Entities
|
||||||
{
|
{
|
||||||
AllowRendering.AddElement(this);
|
AllowRendering.AddElement(this);
|
||||||
inputActionGroup.allowInput.AddElement(this);
|
inputActionGroup.allowInput.AddElement(this);
|
||||||
|
|
||||||
|
if (entityAnimator)
|
||||||
|
entityAnimator.enabled = true;
|
||||||
|
if (vfxPlayer)
|
||||||
|
vfxPlayer.enabled = true;
|
||||||
|
|
||||||
|
var animName = animator.animator.GetCurrentAnimatorStateInfo(0).shortNameHash;
|
||||||
|
animator.animator.Play(animName, -1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual UniTask EntryAsync()
|
public virtual UniTask EntryAsync()
|
||||||
{
|
{
|
||||||
|
|
||||||
return UniTask.CompletedTask;
|
return UniTask.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void Exit()
|
public virtual void Exit()
|
||||||
{
|
{
|
||||||
|
if (entityAnimator)
|
||||||
|
entityAnimator.enabled = false;
|
||||||
|
if (vfxPlayer)
|
||||||
|
vfxPlayer.enabled = false;
|
||||||
|
|
||||||
inputActionGroup.allowInput.RemoveElement(this);
|
inputActionGroup.allowInput.RemoveElement(this);
|
||||||
}
|
}
|
||||||
public virtual UniTask ExitAsync()
|
public virtual UniTask ExitAsync()
|
||||||
|
@ -126,33 +146,54 @@ namespace BITKit.Entities
|
||||||
[CustomType(typeof(IEntityEquipment))]
|
[CustomType(typeof(IEntityEquipment))]
|
||||||
public class EntityEquipment : EntityComponent,IEquipService,IEntityEquipment
|
public class EntityEquipment : EntityComponent,IEquipService,IEntityEquipment
|
||||||
{
|
{
|
||||||
public EntryGroup<IEquipBase> equips = new();
|
|
||||||
public IOptional<float> Zoom { get; } = new Optional<float>(){Value = 1};
|
public IOptional<float> Zoom { get; } = new Optional<float>(){Value = 1};
|
||||||
|
|
||||||
public float InitialFov;
|
public float InitialFov;
|
||||||
|
|
||||||
[SerializeField] private CinemachineVirtualCamera virtualCamera;
|
[SerializeField] private CinemachineVirtualCamera virtualCamera;
|
||||||
|
|
||||||
|
[SerializeField] private Optional<int> overrideIndex;
|
||||||
|
|
||||||
public event Action<IBasicItem> OnEquip;
|
public event Action<IBasicItem> OnEquip;
|
||||||
public event Action<IBasicItem> OnDeEquip;
|
public event Action<IBasicItem> OnUnEquip;
|
||||||
|
public event Action<string> OnEquipAddressable;
|
||||||
|
public event Action<string> OnUnEquipAddressable;
|
||||||
|
|
||||||
|
private readonly EntryGroup<IEquipBase> equips = new();
|
||||||
protected IEquipBase entryComplete;
|
protected IEquipBase entryComplete;
|
||||||
private PlayerConfig playerConfig;
|
private PlayerConfig playerConfig;
|
||||||
|
|
||||||
private IBasicItem _currentItem;
|
private IBasicItem _currentItem;
|
||||||
public override void OnStart()
|
|
||||||
|
[Inject(true)] private IHealth _health;
|
||||||
|
public override void OnAwake()
|
||||||
{
|
{
|
||||||
base.OnStart();
|
base.OnAwake();
|
||||||
equips.list = GetComponentsInChildren<IEquipBase>(true).ToList();
|
equips.list = GetComponentsInChildren<IEquipBase>(true).ToList();
|
||||||
|
|
||||||
equips.OnEntry += OnEntry;
|
equips.OnEntry += OnEntry;
|
||||||
equips.OnExit += OnExit;
|
equips.OnExit += OnExit;
|
||||||
|
|
||||||
|
if (_health is not null)
|
||||||
|
{
|
||||||
|
_health.OnSetAlive += x =>
|
||||||
|
{
|
||||||
|
if (x is false)
|
||||||
|
EntryEquip(-1);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var x in equips.list)
|
foreach (var x in equips.list)
|
||||||
{
|
{
|
||||||
x.Entity = entity;
|
x.Entity = entity;
|
||||||
x.OnAwake();
|
x.OnAwake();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnStart()
|
||||||
|
{
|
||||||
|
base.OnStart();
|
||||||
foreach (var x in equips.list)
|
foreach (var x in equips.list)
|
||||||
{
|
{
|
||||||
x.OnStart();
|
x.OnStart();
|
||||||
|
@ -161,14 +202,18 @@ namespace BITKit.Entities
|
||||||
|
|
||||||
private void OnExit(IEquipBase obj)
|
private void OnExit(IEquipBase obj)
|
||||||
{
|
{
|
||||||
|
OnUnEquipAddressable?.Invoke(obj.AddressablePath);
|
||||||
|
OnUnEquip?.Invoke(obj.Item);
|
||||||
|
//Debug.Log($"已退出:{obj.Item.Name}");
|
||||||
obj.Item = null;
|
obj.Item = null;
|
||||||
OnDeEquip?.Invoke(obj.Item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnEntry(IEquipBase obj)
|
private void OnEntry(IEquipBase obj)
|
||||||
{
|
{
|
||||||
|
OnEquipAddressable?.Invoke(obj.AddressablePath);
|
||||||
obj.Item = _currentItem;
|
obj.Item = _currentItem;
|
||||||
OnEquip?.Invoke(obj.Item);
|
OnEquip?.Invoke(obj.Item);
|
||||||
|
//Debug.Log($"已进入:{obj.Item.Name}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnUpdate(float deltaTime)
|
public override void OnUpdate(float deltaTime)
|
||||||
|
@ -185,6 +230,11 @@ namespace BITKit.Entities
|
||||||
current = Mathf.Clamp(current, 10, PlayerConfig.Singleton.Fov);
|
current = Mathf.Clamp(current, 10, PlayerConfig.Singleton.Fov);
|
||||||
virtualCamera.m_Lens.FieldOfView = current;
|
virtualCamera.m_Lens.FieldOfView = current;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (overrideIndex.Allow && (_health?.IsAlive ?? true))
|
||||||
|
{
|
||||||
|
EntryEquip(overrideIndex.Value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsSupportItem(IBasicItem item)=> equips.list.Any(x => x.IsSupportItem(item));
|
public bool IsSupportItem(IBasicItem item)=> equips.list.Any(x => x.IsSupportItem(item));
|
||||||
|
|
|
@ -53,6 +53,10 @@ namespace BITFALL.Entities.Improvised
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (TryGetImprovisedItem(out var current))
|
||||||
|
{
|
||||||
|
TryUnEquipImprovised(out _);
|
||||||
|
}
|
||||||
_improvisedItem = weapon;
|
_improvisedItem = weapon;
|
||||||
OnEquipImprovisedItem?.Invoke(weapon);
|
OnEquipImprovisedItem?.Invoke(weapon);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace BITFALL
|
||||||
{
|
{
|
||||||
[CustomType(typeof(IEntityInventory))]
|
[CustomType(typeof(IEntityInventory))]
|
||||||
[CustomType(typeof(IBasicItemContainer))]
|
[CustomType(typeof(IBasicItemContainer))]
|
||||||
public abstract class EntityInventory : EntityComponent, IEntityInventory,IBasicItemContainer
|
public class EntityInventory : EntityComponent, IEntityInventory
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据字典
|
/// 数据字典
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace BITFALL
|
||||||
{
|
{
|
||||||
if (!obj.Transform.TryGetComponentAny<WorldItem>(out var item)) return;
|
if (!obj.Transform.TryGetComponentAny<WorldItem>(out var item)) return;
|
||||||
var _item = item.Pick();
|
var _item = item.Pick();
|
||||||
if(item.GetAssetable().TryGetProperty<Improvisable>(out _))
|
if(item.GetAssetable().IsImprovised)
|
||||||
{
|
{
|
||||||
if (_knockdown is not null && _knockdown.IsKnockdown)
|
if (_knockdown is not null && _knockdown.IsKnockdown)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,72 +9,104 @@ namespace BITFALL
|
||||||
{
|
{
|
||||||
public class EntityPropsDisplay : EntityComponent
|
public class EntityPropsDisplay : EntityComponent
|
||||||
{
|
{
|
||||||
[SerializeField] private SerializedDictionary<string, GameObject> equipments = new();
|
[SerializeField] private SerializedDictionary<string, GameObject> equipped = new();
|
||||||
[SerializeField] private SerializedDictionary<string, GameObject> unEquipDictionary = new();
|
[SerializeField] private SerializedDictionary<string, GameObject> bodyEquips = new();
|
||||||
[SerializeField] private SerializedDictionary<string, GameObject> equipDictionary = new();
|
[SerializeField] private SerializedDictionary<string, GameObject> holsteredEquips = new();
|
||||||
|
|
||||||
[Inject] private IEntityEquipment _entityEquipment;
|
[Inject(true)] private IEntityEquipment _entityEquipment;
|
||||||
[Inject] private IEntityEquipmentContainer _playerEquipContainer;
|
[Inject(true)] private IEntityEquipmentContainer _playerEquipContainer;
|
||||||
[Inject] private IPlayerEquipSelector _playerEquipSelector;
|
[Inject(true)] private IPlayerEquipSelector _playerEquipSelector;
|
||||||
|
|
||||||
public override void OnStart()
|
public override void OnStart()
|
||||||
{
|
{
|
||||||
_playerEquipContainer.OnEquip += OnEquip;
|
if (_entityEquipment is not null)
|
||||||
_playerEquipContainer.OnDeEquip += OnDeEquip;
|
{
|
||||||
|
_entityEquipment.OnEquip += OnEquippedEquip;
|
||||||
|
_entityEquipment.OnUnEquip += OnEquippedUnEquip;
|
||||||
|
_entityEquipment.OnEquipAddressable+=OnEquippedEquipAddressable;
|
||||||
|
_entityEquipment.OnUnEquipAddressable+=OnUnEquippedEquipAddressable;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_playerEquipSelector is not null)
|
||||||
|
{
|
||||||
|
_playerEquipSelector.OnUpdateEquip += OnUpdateHolsteredEquip;
|
||||||
|
}
|
||||||
|
|
||||||
_entityEquipment.OnEquip += OnEquip;
|
if (_playerEquipContainer is not null)
|
||||||
_entityEquipment.OnDeEquip += OnDeEquip;
|
{
|
||||||
_playerEquipSelector.OnUpdateEquip += OnUpdateEquip;
|
_playerEquipContainer.OnEquip += OnEquipBodyEquip;
|
||||||
|
_playerEquipContainer.OnDeEquip += OnUnEquipBodyEquip;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var x in equipments)
|
foreach (var x in equipped)
|
||||||
{
|
{
|
||||||
x.Value.SetActive(false);
|
x.Value.SetActive(false);
|
||||||
}
|
}
|
||||||
foreach (var x in unEquipDictionary)
|
foreach (var x in bodyEquips)
|
||||||
{
|
{
|
||||||
x.Value.SetActive(false);
|
x.Value.SetActive(false);
|
||||||
}
|
}
|
||||||
foreach (var x in equipDictionary)
|
foreach (var x in holsteredEquips)
|
||||||
{
|
{
|
||||||
x.Value.SetActive(false);
|
x.Value.SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void OnDeEquip(IEquipmentSlot slot, IBasicItem item)
|
|
||||||
|
private void OnUnEquippedEquipAddressable(string obj)
|
||||||
{
|
{
|
||||||
var asset = item.GetAssetable();
|
if (string.IsNullOrEmpty(obj) is false && equipped.TryGetValue(obj, out var go))
|
||||||
if (equipments.TryGetValue(asset.AddressablePath, out GameObject prop))
|
|
||||||
{
|
{
|
||||||
prop.SetActive(false);
|
go.SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnEquip(IEquipmentSlot slot, IBasicItem item)
|
private void OnEquippedEquipAddressable(string obj)
|
||||||
{
|
{
|
||||||
var asset = item.GetAssetable();
|
if (string.IsNullOrEmpty(obj) is false && equipped.TryGetValue(obj, out var go))
|
||||||
if(equipments.TryGetValue(asset.AddressablePath, out GameObject prop)) {
|
{
|
||||||
prop.SetActive(true);
|
go.SetActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnEquip(IBasicItem item)
|
private void OnUnEquipBodyEquip(IEquipmentSlot arg1, IBasicItem arg2)
|
||||||
{
|
{
|
||||||
if(item is null) return;
|
if (bodyEquips.TryGetValue(arg2.AddressablePath, out var go))
|
||||||
if (equipDictionary.TryGetValue(item.AddressablePath, out var model))
|
|
||||||
{
|
{
|
||||||
model.SetActive(true);
|
go.SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnDeEquip(IBasicItem item)
|
private void OnEquipBodyEquip(IEquipmentSlot arg1, IBasicItem arg2)
|
||||||
{
|
{
|
||||||
foreach (var x in equipDictionary)
|
if (bodyEquips.TryGetValue(arg2.AddressablePath, out var go))
|
||||||
{
|
{
|
||||||
x.Value.gameObject.SetActive(false);
|
go.SetActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void OnUpdateEquip(IDictionary<int, IBasicItem> maps)
|
|
||||||
|
private void OnUpdateHolsteredEquip(IDictionary<int, IBasicItem> obj)
|
||||||
{
|
{
|
||||||
|
foreach (var x in holsteredEquips)
|
||||||
|
{
|
||||||
|
x.Value.SetActive(false);
|
||||||
|
}
|
||||||
|
foreach (var x in obj)
|
||||||
|
{
|
||||||
|
if (holsteredEquips.TryGetValue(x.Value.AddressablePath, out var go))
|
||||||
|
{
|
||||||
|
go.SetActive(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnEquippedUnEquip(IBasicItem obj)
|
||||||
|
{
|
||||||
|
OnUnEquippedEquipAddressable(obj?.AddressablePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnEquippedEquip(IBasicItem obj)
|
||||||
|
{
|
||||||
|
OnEquippedEquipAddressable(obj?.AddressablePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -0,0 +1,58 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;using BITFALL.Entities.Equipment;
|
||||||
|
using BITKit;
|
||||||
|
using BITKit.Entities;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using UnityEngine;
|
||||||
|
using IEntity = BITKit.Core.Entites.IEntity;
|
||||||
|
|
||||||
|
namespace BITFALL.Entities.Equipment
|
||||||
|
{
|
||||||
|
public class AIEquipController : MonoBehaviour,IEquipBase
|
||||||
|
{
|
||||||
|
[SerializeField] protected AssetableItem assetableItem;
|
||||||
|
public bool IsEntered { get; set; }
|
||||||
|
public virtual void Entry()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual UniTask EntryAsync()
|
||||||
|
{
|
||||||
|
return UniTask.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Exit()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual UniTask ExitAsync()
|
||||||
|
{
|
||||||
|
return UniTask.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void OnAwake()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void OnStart()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void OnUpdate(float deltaTime)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public string AddressablePath => assetableItem.AddressablePath;
|
||||||
|
public IEntity Entity { get; set; }
|
||||||
|
public Entity UnityEntity=>Entity as Entity;
|
||||||
|
public IBasicItem Item { get; set; }
|
||||||
|
|
||||||
|
public bool IsSupportItem(IBasicItem item) => item?.AddressablePath == AddressablePath;
|
||||||
|
|
||||||
|
public void PlayAudio(string name)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,59 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using BITFALL.Bullet;
|
||||||
|
using BITFALL.Entities.Equipment;
|
||||||
|
using BITKit;
|
||||||
|
using BITKit.Entities;
|
||||||
|
using BITKit.StateMachine;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace BITFALL.Guns
|
||||||
|
{
|
||||||
|
public class AIGunController : AIEquipController
|
||||||
|
{
|
||||||
|
[SerializeField] private Transform firePoint;
|
||||||
|
[SerializeReference,SubclassSelector] private IBulletService bulletService;
|
||||||
|
[SerializeField] private bool forceFire;
|
||||||
|
private AssetableGun _gun=>assetableItem as AssetableGun;
|
||||||
|
|
||||||
|
private readonly IntervalUpdate fireInterval = new();
|
||||||
|
|
||||||
|
public override void Entry()
|
||||||
|
{
|
||||||
|
base.Entry();
|
||||||
|
fireInterval.Interval = _gun.FireMode.FireRate is 0 ? 1 : 1f/_gun.FireMode.FireRate;
|
||||||
|
UnityEntity.AddListener<BITConstant.Command.AttackCommand>(OnAttack);
|
||||||
|
}
|
||||||
|
public override void Exit()
|
||||||
|
{
|
||||||
|
base.Exit();
|
||||||
|
UnityEntity.RemoveListener<BITConstant.Command.AttackCommand>(OnAttack);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnUpdate(float deltaTime)
|
||||||
|
{
|
||||||
|
if (forceFire && fireInterval.AllowUpdate)
|
||||||
|
{
|
||||||
|
OnAttack(new BITConstant.Command.AttackCommand());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnAttack(BITConstant.Command.AttackCommand obj)
|
||||||
|
{
|
||||||
|
bulletService.Spawn(new SpawnBullet()
|
||||||
|
{
|
||||||
|
forward = firePoint.forward,
|
||||||
|
initialDamage = _gun.InitialDamage,
|
||||||
|
initiator = Entity.Id,
|
||||||
|
pos = firePoint.position,
|
||||||
|
rot = firePoint.rotation,
|
||||||
|
startSpeed = _gun.InitialBulletSpeed,
|
||||||
|
InitialForce = _gun.InitialBulletForce,
|
||||||
|
});
|
||||||
|
UnityEntity.Invoke(Constant.Animation.Play, BITConstant.Player.Fire);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,42 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using BITFALL.Bullet;
|
||||||
|
using BITFALL.Guns;
|
||||||
|
using BITKit;
|
||||||
|
using BITKit.Entities.Melee;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace BITFALL.Entities.Equipment
|
||||||
|
{
|
||||||
|
public class AIMeleeController : AIEquipController
|
||||||
|
{
|
||||||
|
[SerializeReference,SubclassSelector] private IMeleeService meleeService;
|
||||||
|
[SerializeField] private bool forceAttack;
|
||||||
|
|
||||||
|
private readonly IntervalUpdate interval = new(1);
|
||||||
|
public override void Entry()
|
||||||
|
{
|
||||||
|
base.Entry();
|
||||||
|
UnityEntity.AddListener<BITConstant.Command.AttackCommand>(OnAttack);
|
||||||
|
}
|
||||||
|
public override void Exit()
|
||||||
|
{
|
||||||
|
base.Exit();
|
||||||
|
UnityEntity.RemoveListener<BITConstant.Command.AttackCommand>(OnAttack);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnUpdate(float deltaTime)
|
||||||
|
{
|
||||||
|
if (forceAttack && interval.AllowUpdate)
|
||||||
|
{
|
||||||
|
OnAttack(new BITConstant.Command.AttackCommand());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnAttack(BITConstant.Command.AttackCommand obj)
|
||||||
|
{
|
||||||
|
UnityEntity.Invoke(Constant.Animation.Play, BITConstant.Player.Melee);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
"GUID:42a9827d94e00374aa52e51f0a1b035c",
|
"GUID:42a9827d94e00374aa52e51f0a1b035c",
|
||||||
"GUID:87bea3a21c744b1478660b70494160ba",
|
"GUID:87bea3a21c744b1478660b70494160ba",
|
||||||
"GUID:ef0bb553b58b90b488bdbe8672e3be0b",
|
"GUID:ef0bb553b58b90b488bdbe8672e3be0b",
|
||||||
"GUID:48ef04d98836e2640bf90b524bdff904"
|
"GUID:48ef04d98836e2640bf90b524bdff904",
|
||||||
|
"GUID:1eb13dc7c3cb5a444877a995967ed591"
|
||||||
],
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
|
|
@ -74,7 +74,6 @@ namespace BITFALL.Guns
|
||||||
[SerializeField] private Transform cameraView;
|
[SerializeField] private Transform cameraView;
|
||||||
// 引用组件
|
// 引用组件
|
||||||
[Header(Constant.Header.Components)]
|
[Header(Constant.Header.Components)]
|
||||||
[SerializeField] private VFXPlayer vfxPlayer;
|
|
||||||
[SerializeField] private LocationAdditive locationAdditive;
|
[SerializeField] private LocationAdditive locationAdditive;
|
||||||
|
|
||||||
// 引用预制体
|
// 引用预制体
|
||||||
|
@ -163,8 +162,6 @@ namespace BITFALL.Guns
|
||||||
base.EntryAsync();
|
base.EntryAsync();
|
||||||
isHolstered = false;
|
isHolstered = false;
|
||||||
|
|
||||||
var animName = animator.animator.GetCurrentAnimatorStateInfo(0).shortNameHash;
|
|
||||||
animator.animator.Play(animName,-1,0);
|
|
||||||
inputActionGroup.allowInput.AddElement(this);
|
inputActionGroup.allowInput.AddElement(this);
|
||||||
expectFiring.Reset();
|
expectFiring.Reset();
|
||||||
Enabled = true;
|
Enabled = true;
|
||||||
|
@ -260,7 +257,7 @@ namespace BITFALL.Guns
|
||||||
}
|
}
|
||||||
|
|
||||||
//播放射击动画
|
//播放射击动画
|
||||||
animator.Play(BITConstant.Player.Fire);
|
UnityEntity.Invoke(Constant.Animation.Play, BITConstant.Player.Fire);
|
||||||
|
|
||||||
//调用BulletManager生成子弹
|
//调用BulletManager生成子弹
|
||||||
var _transform = transform;
|
var _transform = transform;
|
||||||
|
@ -275,9 +272,6 @@ namespace BITFALL.Guns
|
||||||
InitialForce = _gun.InitialBulletForce,
|
InitialForce = _gun.InitialBulletForce,
|
||||||
});
|
});
|
||||||
|
|
||||||
//播放枪口MuzzleFlash
|
|
||||||
vfxPlayer.Execute();
|
|
||||||
|
|
||||||
//开火模式逻辑判断
|
//开火模式逻辑判断
|
||||||
switch (assetable.FireMode)
|
switch (assetable.FireMode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -260,7 +260,8 @@ namespace BITFALL.Guns.States
|
||||||
base.OnStateEntry(old);
|
base.OnStateEntry(old);
|
||||||
|
|
||||||
_entityMovement.ExecuteCommand<PlayerCancelRunCommand>();
|
_entityMovement.ExecuteCommand<PlayerCancelRunCommand>();
|
||||||
root.animator.Play(BITConstant.Player.Reload);
|
|
||||||
|
root.UnityEntity.Invoke(Constant.Animation.Play, BITConstant.Player.Reload);
|
||||||
}
|
}
|
||||||
public override void OnMovementStateChanged(IEntityMovementState old, IEntityMovementState newState)
|
public override void OnMovementStateChanged(IEntityMovementState old, IEntityMovementState newState)
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,16 +58,27 @@ namespace BITFALL.Entities.Equipment.Melee
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
private IEntityMovement _movement;
|
private IEntityMovement _movement;
|
||||||
[Inject]
|
[Inject(true)]
|
||||||
private IPlayerMovement _playerMovement;
|
private IPlayerMovement _playerMovement;
|
||||||
[Inject] private IHealth _health;
|
[Inject] private IHealth _health;
|
||||||
|
|
||||||
public override void OnAwake()
|
public override void OnAwake()
|
||||||
{
|
{
|
||||||
base.OnAwake();
|
base.OnAwake();
|
||||||
inputActionGroup.RegisterCallback(attackAction, OnAttack);
|
|
||||||
inputActionGroup.RegisterCallback(blockAction, OnBlock);
|
if (attackAction is not null)
|
||||||
_health.OnDamageFactory += OnDamageFactory;
|
{
|
||||||
|
inputActionGroup.RegisterCallback(attackAction, OnAttack);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (blockAction is not null)
|
||||||
|
{
|
||||||
|
inputActionGroup.RegisterCallback(blockAction, OnBlock);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_playerMovement is not null)
|
||||||
|
_health.OnDamageFactory += OnDamageFactory;
|
||||||
|
|
||||||
_movement.OnStateChanged += OnMovementStateChanged;
|
_movement.OnStateChanged += OnMovementStateChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace BITFALL.Player.Equip
|
||||||
public void OnAwake()
|
public void OnAwake()
|
||||||
{
|
{
|
||||||
_entityEquipment.OnEquip += OnEquip;
|
_entityEquipment.OnEquip += OnEquip;
|
||||||
_entityEquipment.OnDeEquip += OnDeEquip;
|
_entityEquipment.OnUnEquip += OnUnEquip;
|
||||||
}
|
}
|
||||||
public void OnStart()
|
public void OnStart()
|
||||||
{
|
{
|
||||||
|
@ -58,7 +58,7 @@ namespace BITFALL.Player.Equip
|
||||||
{
|
{
|
||||||
return UniTask.CompletedTask;
|
return UniTask.CompletedTask;
|
||||||
}
|
}
|
||||||
private void OnDeEquip(IBasicItem obj)
|
private void OnUnEquip(IBasicItem obj)
|
||||||
{
|
{
|
||||||
foreach (var x in modelDictionary.Values)
|
foreach (var x in modelDictionary.Values)
|
||||||
{
|
{
|
||||||
|
|
|
@ -80,10 +80,10 @@ namespace BITFALL.Throws
|
||||||
if (IsEntered is false) return;
|
if (IsEntered is false) return;
|
||||||
if (eventName is not BITConstant.Player.Throw) return;
|
if (eventName is not BITConstant.Player.Throw) return;
|
||||||
if (!_equipmentContainer.TryUseEquip<EquipmentAsThrow>()) return;
|
if (!_equipmentContainer.TryUseEquip<EquipmentAsThrow>()) return;
|
||||||
var instance = _assetableThrow.GetInstance();
|
var instance =Instantiate(_assetableThrow.Prefab,
|
||||||
|
throwPoint.position + throwPoint.forward * 0.016f,
|
||||||
|
throwPoint.rotation) ;
|
||||||
if (!instance.TryGetComponent<Rigidbody>(out var _rigidbody)) return;
|
if (!instance.TryGetComponent<Rigidbody>(out var _rigidbody)) return;
|
||||||
_rigidbody.rotation = throwPoint.rotation;
|
|
||||||
_rigidbody.position = throwPoint.position;
|
|
||||||
_rigidbody.AddForce(throwPoint.forward * throwForce, ForceMode.VelocityChange);
|
_rigidbody.AddForce(throwPoint.forward * throwForce, ForceMode.VelocityChange);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,12 +77,12 @@ namespace BITFALL.Guns
|
||||||
{
|
{
|
||||||
[Header(nameof(AssetableGun))]
|
[Header(nameof(AssetableGun))]
|
||||||
[SerializeReference, SubclassSelector] protected IFireMode fireMode;
|
[SerializeReference, SubclassSelector] protected IFireMode fireMode;
|
||||||
|
|
||||||
[SerializeField] private int initialDamage;
|
[SerializeField] private int initialDamage;
|
||||||
|
|
||||||
[SerializeField] private int initialBulletForce;
|
[SerializeField] private int initialBulletForce;
|
||||||
|
[SerializeField] private int initialBulletSpeed = 128;
|
||||||
public IFireMode FireMode => fireMode;
|
public IFireMode FireMode => fireMode;
|
||||||
public int InitialBulletForce => initialBulletForce;
|
public int InitialBulletForce => initialBulletForce;
|
||||||
public int InitialDamage => initialDamage;
|
public int InitialDamage => initialDamage;
|
||||||
|
public int InitialBulletSpeed => initialBulletSpeed;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -39,12 +39,14 @@ namespace BITFALL
|
||||||
[SerializeField] private Texture2D squareIcon;
|
[SerializeField] private Texture2D squareIcon;
|
||||||
[SerializeField] private Texture2D rectangleIcon;
|
[SerializeField] private Texture2D rectangleIcon;
|
||||||
[SerializeField] private ItemQuality quality;
|
[SerializeField] private ItemQuality quality;
|
||||||
|
[SerializeField] private bool isImprovised;
|
||||||
[Header(Constant.Header.Property)]
|
[Header(Constant.Header.Property)]
|
||||||
[SerializeReference, SubclassSelector] public IProperty[] factoryProperties;
|
[SerializeReference, SubclassSelector] public IProperty[] factoryProperties;
|
||||||
private Property property => new(factoryProperties);
|
private Property property => new(factoryProperties);
|
||||||
#endregion
|
#endregion
|
||||||
#region 接口实现
|
#region 接口实现
|
||||||
public int Id => -1;
|
public int Id => -1;
|
||||||
|
public bool IsImprovised => isImprovised;
|
||||||
public ItemQuality Quality => quality;
|
public ItemQuality Quality => quality;
|
||||||
public string Name => displayName;
|
public string Name => displayName;
|
||||||
public string Description => description;
|
public string Description => description;
|
||||||
|
|
|
@ -8,6 +8,7 @@ namespace BITFALL.Items
|
||||||
{
|
{
|
||||||
[SerializeField] private Transform instance;
|
[SerializeField] private Transform instance;
|
||||||
|
|
||||||
|
public Transform Prefab => instance;
|
||||||
public Transform GetInstance()
|
public Transform GetInstance()
|
||||||
{
|
{
|
||||||
return Instantiate(instance);
|
return Instantiate(instance);
|
||||||
|
|
|
@ -15,8 +15,6 @@ namespace BITFALL
|
||||||
#region 本地字段
|
#region 本地字段
|
||||||
[Header(Constant.Header.Settings)]
|
[Header(Constant.Header.Settings)]
|
||||||
[SerializeField]private AssetableItem asset;
|
[SerializeField]private AssetableItem asset;
|
||||||
|
|
||||||
private new Rigidbody _rigidbody;
|
|
||||||
#endregion
|
#endregion
|
||||||
#region 接口实现
|
#region 接口实现
|
||||||
public int Id => GetInstanceID();
|
public int Id => GetInstanceID();
|
||||||
|
@ -61,30 +59,16 @@ namespace BITFALL
|
||||||
#endregion
|
#endregion
|
||||||
#region 本地方法
|
#region 本地方法
|
||||||
public AssetableItem Assetable => asset;
|
public AssetableItem Assetable => asset;
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
_rigidbody = GetComponent<Rigidbody>();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FixedUpdate()
|
|
||||||
{
|
|
||||||
if (!_rigidbody.IsSleeping()) return;
|
|
||||||
_rigidbody.isKinematic = true;
|
|
||||||
enabled = false;
|
|
||||||
}
|
|
||||||
public ManagedItem Pick()
|
public ManagedItem Pick()
|
||||||
{
|
{
|
||||||
var newitem = new ManagedItem();
|
var managedItem = new ManagedItem();
|
||||||
newitem.CopyItemsFrom(this);
|
managedItem.CopyItemsFrom(this);
|
||||||
return newitem;
|
return managedItem;
|
||||||
}
|
}
|
||||||
public void Picked()
|
public void Picked()
|
||||||
{
|
{
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
|
|
|
@ -27,15 +27,21 @@ namespace BITFALL.Props
|
||||||
var instance = Instantiate(prefab);
|
var instance = Instantiate(prefab);
|
||||||
instance.SetPositionAndRotation(_transform.position, _transform.rotation);
|
instance.SetPositionAndRotation(_transform.position, _transform.rotation);
|
||||||
|
|
||||||
if (root is not null)
|
instance.TryGetComponent<Rigidbody>(out var _rigidbody);
|
||||||
|
if (root is not null && root.gameObject.isStatic is false)
|
||||||
{
|
{
|
||||||
instance.SetParentConstraint(root);
|
instance.SetParentConstraint(root);
|
||||||
if (instance.TryGetComponent<Rigidbody>(out var _rigidbody))
|
if (_rigidbody is not null)
|
||||||
{
|
{
|
||||||
//_rigidbody.isKinematic = true;
|
//_rigidbody.isKinematic = true;
|
||||||
_rigidbody.isKinematic = true;
|
_rigidbody.isKinematic = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(_rigidbody is not null)
|
||||||
|
{
|
||||||
|
_rigidbody.velocity = rigidbody.velocity;
|
||||||
|
_rigidbody.angularVelocity = rigidbody.angularVelocity;
|
||||||
|
}
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace BITFALL
|
||||||
var assets = item.GetAssetable();
|
var assets = item.GetAssetable();
|
||||||
currentUXEquip.SetTexture(assets.RectangleIcon);
|
currentUXEquip.SetTexture(assets.RectangleIcon);
|
||||||
}
|
}
|
||||||
public void OnDeEquip(IBasicItem item)
|
public void OnUnEquip(IBasicItem item)
|
||||||
{
|
{
|
||||||
currentUXEquip.SetTexture(null);
|
currentUXEquip.SetTexture(null);
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ namespace BITFALL
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
playerService.OnPlayerInitialized += OnStartLocalPlayer;
|
playerService.OnPlayerInitialized += OnStartLocalPlayer;
|
||||||
OnDeEquip(null);
|
OnUnEquip(null);
|
||||||
foreach (var x in dictionary)
|
foreach (var x in dictionary)
|
||||||
{
|
{
|
||||||
x.Value.visualElement.RegisterCallback<MouseDownEvent>(evt =>
|
x.Value.visualElement.RegisterCallback<MouseDownEvent>(evt =>
|
||||||
|
@ -80,7 +80,7 @@ namespace BITFALL
|
||||||
entity.Inject(this);
|
entity.Inject(this);
|
||||||
|
|
||||||
_entityEquipment.OnEquip += OnEquip;
|
_entityEquipment.OnEquip += OnEquip;
|
||||||
_entityEquipment.OnDeEquip += OnDeEquip;
|
_entityEquipment.OnUnEquip += OnUnEquip;
|
||||||
_equipSelector.OnUpdateEquip += OnUpdateEquip;
|
_equipSelector.OnUpdateEquip += OnUpdateEquip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace BITFALL
|
namespace BITFALL
|
||||||
{
|
{
|
||||||
|
@ -46,6 +48,23 @@ namespace BITFALL
|
||||||
public const string Horizontal = nameof(Horizontal);
|
public const string Horizontal = nameof(Horizontal);
|
||||||
public const string SqrMagnitude = nameof(SqrMagnitude);
|
public const string SqrMagnitude = nameof(SqrMagnitude);
|
||||||
}
|
}
|
||||||
|
public static class Command
|
||||||
|
{
|
||||||
|
public interface ICommand
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
[Serializable]
|
||||||
|
public struct MoveCommand:ICommand
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
[Serializable]
|
||||||
|
public struct AttackCommand:ICommand
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ namespace BITFALL
|
||||||
public float3 pos;
|
public float3 pos;
|
||||||
public quaternion rot;
|
public quaternion rot;
|
||||||
public float3 forward;
|
public float3 forward;
|
||||||
|
public float CreateTime = BITApp.Time.DeltaTime;
|
||||||
public int InitialForce;
|
public int InitialForce;
|
||||||
public int startSpeed;
|
public int startSpeed;
|
||||||
public int initialDamage;
|
public int initialDamage;
|
||||||
|
|
|
@ -9,7 +9,9 @@ namespace BITFALL.Entities.Equipment
|
||||||
public interface IEntityEquipment
|
public interface IEntityEquipment
|
||||||
{
|
{
|
||||||
event Action<IBasicItem> OnEquip;
|
event Action<IBasicItem> OnEquip;
|
||||||
event Action<IBasicItem> OnDeEquip;
|
event Action<IBasicItem> OnUnEquip;
|
||||||
|
event Action<string> OnEquipAddressable;
|
||||||
|
event Action<string> OnUnEquipAddressable;
|
||||||
bool IsSupportItem(IBasicItem item);
|
bool IsSupportItem(IBasicItem item);
|
||||||
void EntryEquip(int index);
|
void EntryEquip(int index);
|
||||||
void EntryEquip(Func<string,bool> item);
|
void EntryEquip(Func<string,bool> item);
|
||||||
|
|
|
@ -5,8 +5,6 @@ using BITKit;
|
||||||
|
|
||||||
namespace BITFALL.Entities.Improvised
|
namespace BITFALL.Entities.Improvised
|
||||||
{
|
{
|
||||||
[Serializable]
|
|
||||||
public sealed class Improvisable:IProperty{}
|
|
||||||
public interface ImprovisedServiceInterface
|
public interface ImprovisedServiceInterface
|
||||||
{
|
{
|
||||||
public bool IsImprovised { get; }
|
public bool IsImprovised { get; }
|
||||||
|
|
|
@ -26,6 +26,7 @@ namespace BITKit
|
||||||
}
|
}
|
||||||
public static class Time
|
public static class Time
|
||||||
{
|
{
|
||||||
|
public static float ElapsedTime { get; internal set; }
|
||||||
public static float DeltaTime { get; internal set; }
|
public static float DeltaTime { get; internal set; }
|
||||||
public static double TimeAsDouble { get; internal set; }
|
public static double TimeAsDouble { get; internal set; }
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ namespace BITKit.Core.Entites
|
||||||
bool RegisterComponent<T>(T component);
|
bool RegisterComponent<T>(T component);
|
||||||
IServiceProvider ServiceProvider { get; }
|
IServiceProvider ServiceProvider { get; }
|
||||||
void Inject(object obj);
|
void Inject(object obj);
|
||||||
|
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 基本实体组件
|
/// 基本实体组件
|
||||||
|
|
|
@ -87,30 +87,30 @@ namespace BITKit
|
||||||
{
|
{
|
||||||
var currentIndex = m_index;
|
var currentIndex = m_index;
|
||||||
m_index = index;
|
m_index = index;
|
||||||
if (currentIndex is not -1 && list.TryGetElementAt(currentIndex, out var element))
|
if (currentIndex is not -1 && list.TryGetElementAt(currentIndex, out var currentElement))
|
||||||
{
|
{
|
||||||
element.Exit();
|
currentElement.Exit();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await element.ExitAsync();
|
await currentElement.ExitAsync();
|
||||||
}
|
}
|
||||||
catch (OperationCanceledException)
|
catch (OperationCanceledException)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
element.IsEntered = false;
|
currentElement.IsEntered = false;
|
||||||
OnExit?.Invoke(element);
|
OnExit?.Invoke(currentElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index is not -1 && list.TryGetElementAt(index, out element))
|
if (index is not -1 && list.TryGetElementAt(index, out var nextElement))
|
||||||
{
|
{
|
||||||
element.IsEntered = true;
|
nextElement.IsEntered = true;
|
||||||
element.Entry();
|
nextElement.Entry();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await element.EntryAsync();
|
await nextElement.EntryAsync();
|
||||||
}
|
}
|
||||||
catch (OperationCanceledException){}
|
catch (OperationCanceledException){}
|
||||||
OnEntry?.Invoke(element);
|
OnEntry?.Invoke(nextElement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
completed = true;
|
completed = true;
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace BITKit.UniversalInputSystem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -3,6 +3,25 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace BITKit.StateMachine
|
namespace BITKit.StateMachine
|
||||||
{
|
{
|
||||||
|
public struct EmptyState:IState
|
||||||
|
{
|
||||||
|
public bool Enabled { get; set; }
|
||||||
|
public void Initialize()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnStateEntry(IState old)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnStateUpdate(float deltaTime)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnStateExit(IState old, IState newState)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
public interface IState
|
public interface IState
|
||||||
{
|
{
|
||||||
bool Enabled { get; set; }
|
bool Enabled { get; set; }
|
||||||
|
|
|
@ -0,0 +1,53 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!74 &7400000
|
||||||
|
AnimationClip:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Empty_Fire
|
||||||
|
serializedVersion: 7
|
||||||
|
m_Legacy: 0
|
||||||
|
m_Compressed: 0
|
||||||
|
m_UseHighQualityCurve: 1
|
||||||
|
m_RotationCurves: []
|
||||||
|
m_CompressedRotationCurves: []
|
||||||
|
m_EulerCurves: []
|
||||||
|
m_PositionCurves: []
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves: []
|
||||||
|
m_SampleRate: 60
|
||||||
|
m_WrapMode: 0
|
||||||
|
m_Bounds:
|
||||||
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
m_Extent: {x: 0, y: 0, z: 0}
|
||||||
|
m_ClipBindingConstant:
|
||||||
|
genericBindings: []
|
||||||
|
pptrCurveMapping: []
|
||||||
|
m_AnimationClipSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||||
|
m_AdditiveReferencePoseTime: 0
|
||||||
|
m_StartTime: 0
|
||||||
|
m_StopTime: 1
|
||||||
|
m_OrientationOffsetY: 0
|
||||||
|
m_Level: 0
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_HasAdditiveReferencePose: 0
|
||||||
|
m_LoopTime: 1
|
||||||
|
m_LoopBlend: 0
|
||||||
|
m_LoopBlendOrientation: 0
|
||||||
|
m_LoopBlendPositionY: 0
|
||||||
|
m_LoopBlendPositionXZ: 0
|
||||||
|
m_KeepOriginalOrientation: 0
|
||||||
|
m_KeepOriginalPositionY: 1
|
||||||
|
m_KeepOriginalPositionXZ: 0
|
||||||
|
m_HeightFromFeet: 0
|
||||||
|
m_Mirror: 0
|
||||||
|
m_EditorCurves: []
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -130,6 +130,7 @@ namespace BITKit
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
BITApp.Time.ElapsedTime = Time.time;
|
||||||
BITApp.Time.DeltaTime = Time.deltaTime;
|
BITApp.Time.DeltaTime = Time.deltaTime;
|
||||||
BITApp.Time.TimeAsDouble = Time.timeAsDouble;
|
BITApp.Time.TimeAsDouble = Time.timeAsDouble;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using BITKit.Animations;
|
||||||
|
|
||||||
namespace BITKit.Entities
|
namespace BITKit.Entities
|
||||||
{
|
{
|
||||||
|
|
||||||
public sealed class EntityAnimator : EntityComponent
|
public sealed class EntityAnimator : EntityComponent
|
||||||
{
|
{
|
||||||
[SerializeField] private Animator[] animators;
|
[SerializeField] private UnityAnimator[] animators;
|
||||||
[SerializeReference, SubclassSelector] private References[] animationKeyWords;
|
[SerializeReference, SubclassSelector] private References[] animationKeyWords;
|
||||||
[SerializeReference, SubclassSelector] private References _rootVelocity;
|
[SerializeReference, SubclassSelector] private References _rootVelocity;
|
||||||
[SerializeReference, SubclassSelector] private References[] boolParameters;
|
[SerializeReference, SubclassSelector] private References[] boolParameters;
|
||||||
|
@ -23,13 +25,13 @@ namespace BITKit.Entities
|
||||||
|
|
||||||
private void Play(string animationName)
|
private void Play(string animationName)
|
||||||
{
|
{
|
||||||
|
if (enabled is false) return;
|
||||||
if (animationKeyWords.Length is 0 || keyWords.Contains(animationName))
|
if (animationKeyWords.Length is 0 || keyWords.Contains(animationName))
|
||||||
{
|
{
|
||||||
animators.ForEach(x =>
|
animators.ForEach(x =>
|
||||||
{
|
{
|
||||||
if (!x.isActiveAndEnabled) return;
|
if (!x.isActiveAndEnabled) return;
|
||||||
animationName = animationName.Replace(".", "_");
|
x.Play(animationName);
|
||||||
x.SetTrigger(animationName);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +42,7 @@ namespace BITKit.Entities
|
||||||
animators.ForEach(x =>
|
animators.ForEach(x =>
|
||||||
{
|
{
|
||||||
if (x.isActiveAndEnabled)
|
if (x.isActiveAndEnabled)
|
||||||
x.SetBool(boolPar, entity.Get<bool>(boolPar));
|
x.animator.SetBool(boolPar, entity.Get<bool>(boolPar));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
foreach (var floatPar in floatParameters)
|
foreach (var floatPar in floatParameters)
|
||||||
|
@ -48,14 +50,18 @@ namespace BITKit.Entities
|
||||||
animators.ForEach(x =>
|
animators.ForEach(x =>
|
||||||
{
|
{
|
||||||
if (x.isActiveAndEnabled)
|
if (x.isActiveAndEnabled)
|
||||||
x.SetFloat(floatPar, entity.Get<float>(floatPar));
|
x.animator.SetFloat(floatPar, entity.Get<float>(floatPar));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnAnimatorMove()
|
private void OnAnimatorMove()
|
||||||
{
|
{
|
||||||
entity.Set(_rootVelocity, animators[0].velocity);
|
if (enabled is false) return;
|
||||||
|
if (_rootVelocity is not null && entity is not null)
|
||||||
|
entity.Set(_rootVelocity, animators[0].animator.velocity);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ReSharper disable once UnusedMember.Local
|
// ReSharper disable once UnusedMember.Local
|
||||||
private void AnimationEvent(string eventName)
|
private void AnimationEvent(string eventName)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,17 +14,14 @@ namespace BITKit
|
||||||
private readonly ValidHandle allowHeal = new();
|
private readonly ValidHandle allowHeal = new();
|
||||||
[Inject]
|
[Inject]
|
||||||
private IHealth _health;
|
private IHealth _health;
|
||||||
public override void Initialize(IEntity _entity)
|
|
||||||
{
|
|
||||||
base.Initialize(_entity);
|
|
||||||
_health.OnSetAlive += OnSetAlive;
|
|
||||||
_health.OnSetHealthPoint += OnSetHP;
|
|
||||||
_entity.RegisterCallback<IDamageCallback>(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void OnStart()
|
public override void OnStart()
|
||||||
{
|
{
|
||||||
_health = entity.Get<IHealth>();
|
_health = entity.Get<IHealth>();
|
||||||
|
|
||||||
|
_health.OnSetAlive += OnSetAlive;
|
||||||
|
_health.OnSetHealthPoint += OnSetHP;
|
||||||
|
|
||||||
|
entity.RegisterCallback<IDamageCallback>(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
|
|
@ -37,6 +37,7 @@ namespace BITKit
|
||||||
destroyCancellationToken.ThrowIfCancellationRequested();
|
destroyCancellationToken.ThrowIfCancellationRequested();
|
||||||
Execute();
|
Execute();
|
||||||
}
|
}
|
||||||
|
catch(MissingReferenceException){}
|
||||||
catch (OperationCanceledException){}
|
catch (OperationCanceledException){}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"name": "BITKit.Entities.InputSystem",
|
||||||
|
"references":[ "GUID:14fe60d984bf9f84eac55c6ea033a8f4", "GUID:f6155d9ae143f3949ac54e8355593d6c", "GUID:7efac18f239530141802fb139776f333", "GUID:709caf8d7fb6ef24bbba0ab9962a3ad0" ]
|
||||||
|
}
|
|
@ -0,0 +1,68 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.UIElements;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UIElements;
|
||||||
|
|
||||||
|
namespace BITKit.Entities.InputSystem
|
||||||
|
{
|
||||||
|
public class EntityInputSystem : EntityComponent
|
||||||
|
{
|
||||||
|
protected readonly InputActionGroup inputActionGroup = new()
|
||||||
|
{
|
||||||
|
allowGlobalActivation = true
|
||||||
|
};
|
||||||
|
[Inject(true)]
|
||||||
|
private IHealth _health;
|
||||||
|
[Inject(true)]
|
||||||
|
private IEntityOverride _override;
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
[SerializeField,HideInInspector] internal bool Allow;
|
||||||
|
#endif
|
||||||
|
public override void Initialize(IEntity _entity)
|
||||||
|
{
|
||||||
|
base.Initialize(_entity);
|
||||||
|
_entity.AddService(inputActionGroup);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnAwake()
|
||||||
|
{
|
||||||
|
base.OnAwake();
|
||||||
|
inputActionGroup.allowInput.AddListener(x=>Allow=x);
|
||||||
|
if (_health is not null)
|
||||||
|
{
|
||||||
|
_health.OnSetAlive += x =>
|
||||||
|
{
|
||||||
|
inputActionGroup.allowInput.SetElements(_health,x);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (_override is not null)
|
||||||
|
{
|
||||||
|
_override.OnOverride += x =>
|
||||||
|
{
|
||||||
|
inputActionGroup.allowInput.SetDisableElements(_override,x);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
[CustomEditor(typeof(EntityInputSystem))]
|
||||||
|
public sealed class EntityInputSystemInspector : BITInspector<EntityInputSystem>
|
||||||
|
{
|
||||||
|
public override VisualElement CreateInspectorGUI()
|
||||||
|
{
|
||||||
|
FillDefaultInspector();
|
||||||
|
var checkBox = root.Create<Toggle>();
|
||||||
|
checkBox.label = "Allow Input";
|
||||||
|
checkBox.SetEnabled(false);
|
||||||
|
|
||||||
|
checkBox.BindProperty(serializedObject.FindProperty(nameof(EntityInputSystem.Allow)));
|
||||||
|
|
||||||
|
return root;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
|
@ -17,8 +17,6 @@ namespace BITKit.Entities.Player
|
||||||
private IntervalUpdate cd = new(0.08f);
|
private IntervalUpdate cd = new(0.08f);
|
||||||
[Inject]
|
[Inject]
|
||||||
private IHealth _health;
|
private IHealth _health;
|
||||||
[Inject]
|
|
||||||
private InputActionGroup _inputActionReference;
|
|
||||||
|
|
||||||
public override void OnStart()
|
public override void OnStart()
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"name": "BITKit.Entities.VFX",
|
||||||
|
"rootNamespace": "",
|
||||||
|
"references": [
|
||||||
|
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
||||||
|
"GUID:709caf8d7fb6ef24bbba0ab9962a3ad0",
|
||||||
|
"GUID:ea5474181b324dd49a5976cd68f44f18",
|
||||||
|
"GUID:d525ad6bd40672747bde77962f1c401e",
|
||||||
|
"GUID:49b49c76ee64f6b41bf28ef951cb0e50"
|
||||||
|
],
|
||||||
|
"includePlatforms": [],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace BITKit.Entities.VFX
|
||||||
|
{
|
||||||
|
public class EntityVFXPlayer : EntityComponent
|
||||||
|
{
|
||||||
|
[SerializeReference,SubclassSelector] private IReference[] vfxReferences;
|
||||||
|
[SerializeField] private VFXPlayer vfxPlayer;
|
||||||
|
private readonly List<string> keyWords=new();
|
||||||
|
public override void OnAwake()
|
||||||
|
{
|
||||||
|
base.OnAwake();
|
||||||
|
keyWords.AddRange(vfxReferences.Select(x=>x.Value));
|
||||||
|
entity.AddListener<string>(Constant.Animation.Play, Play);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Play(string animationName)
|
||||||
|
{
|
||||||
|
if (isActiveAndEnabled is false) return;
|
||||||
|
if (keyWords.Contains(animationName) is false) return;
|
||||||
|
vfxPlayer.Execute();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -62,11 +62,28 @@ namespace BITKit.Entities
|
||||||
else if(attribute?.CanBeNull is false)
|
else if(attribute?.CanBeNull is false)
|
||||||
{
|
{
|
||||||
BIT4Log.Warning<Entity>($"{name}未找到{obj.GetType().Name}需要的{type.FullName}");
|
BIT4Log.Warning<Entity>($"{name}未找到{obj.GetType().Name}需要的{type.FullName}");
|
||||||
BIT4Log.Warning<Entity>(genericEvent.GetDiagnostics());
|
//BIT4Log.Warning<Entity>(genericEvent.GetDiagnostics());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void AddService<T>(T service)
|
||||||
|
{
|
||||||
|
AddService(typeof(T),service);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddService(object service)
|
||||||
|
{
|
||||||
|
AddService(service.GetType(),service);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddService(Type type, object service)
|
||||||
|
{
|
||||||
|
genericEvent.Set(type,service);
|
||||||
|
genericEvent.Set(type.FullName, service);
|
||||||
|
genericEvent.SetDirect(type.FullName,service);
|
||||||
|
}
|
||||||
|
|
||||||
private CancellationToken _cancellationToken;
|
private CancellationToken _cancellationToken;
|
||||||
private bool isInitialized;
|
private bool isInitialized;
|
||||||
private Core.Entites.IEntityComponent[] _components => entityComponents.Cast<Core.Entites.IEntityComponent>().ToArray();
|
private Core.Entites.IEntityComponent[] _components => entityComponents.Cast<Core.Entites.IEntityComponent>().ToArray();
|
||||||
|
@ -85,6 +102,7 @@ namespace BITKit.Entities
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var monoBehaviours = GetComponentsInChildren<MonoBehaviour>(true);
|
var monoBehaviours = GetComponentsInChildren<MonoBehaviour>(true);
|
||||||
|
entityComponents.ForEach(x => x.Initialize(this));
|
||||||
foreach (var x in monoBehaviours)
|
foreach (var x in monoBehaviours)
|
||||||
{
|
{
|
||||||
foreach (var att in x
|
foreach (var att in x
|
||||||
|
@ -95,9 +113,7 @@ namespace BITKit.Entities
|
||||||
.OfType<CustomTypeAttribute>()
|
.OfType<CustomTypeAttribute>()
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
genericEvent.Set(att.Type,x);
|
AddService(att.Type, x);
|
||||||
genericEvent.Set(att.Type.FullName, x);
|
|
||||||
genericEvent.SetDirect(att.Type.FullName,x);
|
|
||||||
}
|
}
|
||||||
genericEvent.Set(x.GetType(),x);
|
genericEvent.Set(x.GetType(),x);
|
||||||
}
|
}
|
||||||
|
@ -105,7 +121,7 @@ namespace BITKit.Entities
|
||||||
{
|
{
|
||||||
Inject(x);
|
Inject(x);
|
||||||
}
|
}
|
||||||
entityComponents.ForEach(x => x.Initialize(this));
|
|
||||||
|
|
||||||
entityComponents.ForEach(x => x.OnAwake());
|
entityComponents.ForEach(x => x.OnAwake());
|
||||||
entityComponents.ForEach(x => x.OnStart());
|
entityComponents.ForEach(x => x.OnStart());
|
||||||
|
|
|
@ -11,6 +11,9 @@ namespace BITKit.Entities
|
||||||
public interface IEntity :BITKit.Core.Entites.IEntity,IGenericEvent<string>, IDatabase, IProcessor, ICallback
|
public interface IEntity :BITKit.Core.Entites.IEntity,IGenericEvent<string>, IDatabase, IProcessor, ICallback
|
||||||
{
|
{
|
||||||
IEntityComponent[] entityComponents { get; set; }
|
IEntityComponent[] entityComponents { get; set; }
|
||||||
|
void AddService<T>(T service);
|
||||||
|
void AddService(object service);
|
||||||
|
void AddService(Type type, object service);
|
||||||
}
|
}
|
||||||
public class IEntityReader : NetMessageReader<IEntity>
|
public class IEntityReader : NetMessageReader<IEntity>
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace BITKit
|
||||||
|
{
|
||||||
|
public static class GameObjectExtensions
|
||||||
|
{
|
||||||
|
public static T GetOrAddComponent<T>(this GameObject gameObject) where T : Component
|
||||||
|
{
|
||||||
|
return gameObject.TryGetComponent<T>(out var t) ? t : gameObject.AddComponent<T>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -28,7 +28,11 @@ namespace BITKit.Physics
|
||||||
{
|
{
|
||||||
foreach (var x in jointConfigures)
|
foreach (var x in jointConfigures)
|
||||||
{
|
{
|
||||||
x.InitialRotation=x.animate.localRotation;
|
x.InitialRotation= x.animate.localRotation;
|
||||||
|
if (x.animate.localRotation != x.joint.transform.localRotation)
|
||||||
|
{
|
||||||
|
BIT4Log.Log<PhysicsBasedAnimation>($"{x.animate.name}初始旋转与关节旋转不一致,将会导致动画不正确");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
|
|
|
@ -134,6 +134,13 @@ namespace BITKit
|
||||||
protected static void FillDefaultInspector(VisualElement container, SerializedObject serializedObject, bool hideScript)
|
protected static void FillDefaultInspector(VisualElement container, SerializedObject serializedObject, bool hideScript)
|
||||||
{
|
{
|
||||||
container.Clear();
|
container.Clear();
|
||||||
|
|
||||||
|
if (serializedObject.targetObject is null)
|
||||||
|
{
|
||||||
|
var label = container.Create<Label>();
|
||||||
|
label.text = "Null";
|
||||||
|
return;
|
||||||
|
}
|
||||||
var property = serializedObject.GetIterator();
|
var property = serializedObject.GetIterator();
|
||||||
if (!property.NextVisible(true)) return; // Expand first child.
|
if (!property.NextVisible(true)) return; // Expand first child.
|
||||||
do
|
do
|
||||||
|
|
|
@ -16,22 +16,43 @@ namespace BITKit
|
||||||
{
|
{
|
||||||
pool = new ObjectPool<T>(Spawn, OnGet, OnReturn, OnDestroy, maxSize: 16);
|
pool = new ObjectPool<T>(Spawn, OnGet, OnReturn, OnDestroy, maxSize: 16);
|
||||||
}
|
}
|
||||||
|
[Header(Constant.Header.Settings)]
|
||||||
|
[SerializeField] private int defaultCapacity = 16;
|
||||||
[Header(Constant.Header.Prefabs)]
|
[Header(Constant.Header.Prefabs)]
|
||||||
public T prefab;
|
[SerializeField] private T prefab;
|
||||||
|
|
||||||
[Header(Constant.Header.Gameobjects)]
|
[Header(Constant.Header.Gameobjects)]
|
||||||
public Transform root;
|
[SerializeField] private Transform root;
|
||||||
|
|
||||||
private ObjectPool<T> pool;
|
private ObjectPool<T> pool;
|
||||||
|
|
||||||
|
private readonly List<T> _list=new();
|
||||||
|
private int _offset;
|
||||||
|
|
||||||
public T Get(T element = null, Transform _root = null)
|
public T Get(T element = null, Transform _root = null)
|
||||||
{
|
{
|
||||||
|
if (_list.Count == defaultCapacity)
|
||||||
|
{
|
||||||
|
return _list[_offset = _offset/_list.Count+1];
|
||||||
|
}
|
||||||
|
|
||||||
if (element is not null)
|
if (element is not null)
|
||||||
prefab = element;
|
prefab = element;
|
||||||
if (_root is not null)
|
if (_root is not null)
|
||||||
root = _root;
|
root = _root;
|
||||||
return pool.Get();
|
|
||||||
|
var instance = pool.Get();
|
||||||
|
|
||||||
|
_list.Add(instance);
|
||||||
|
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Return(T element)
|
||||||
|
{
|
||||||
|
pool.Release(element);
|
||||||
|
_list.Remove(element);
|
||||||
}
|
}
|
||||||
public void Return(T element) => pool.Release(element);
|
|
||||||
private T Spawn() => Object.Instantiate(prefab, root);
|
private T Spawn() => Object.Instantiate(prefab, root);
|
||||||
private void OnGet(T element) => element.gameObject.SetActive(true);
|
private void OnGet(T element) => element.gameObject.SetActive(true);
|
||||||
private void OnReturn(T element) => element.gameObject.SetActive(false);
|
private void OnReturn(T element) => element.gameObject.SetActive(false);
|
||||||
|
|
|
@ -22,14 +22,6 @@ namespace BITKit
|
||||||
sinleton = this;
|
sinleton = this;
|
||||||
DI.Register(this);
|
DI.Register(this);
|
||||||
}
|
}
|
||||||
public Transform Spawn(VFXMessage message)
|
|
||||||
{
|
|
||||||
if (Data.TryGetValue<Transform>(message.path, out var vfx))
|
|
||||||
{
|
|
||||||
return Instantiate(vfx, message.location, message.location);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
public Transform Spawn(Location location, params string[] keyWords)
|
public Transform Spawn(Location location, params string[] keyWords)
|
||||||
{
|
{
|
||||||
if (TryMatch(out var prefab, keyWords))
|
if (TryMatch(out var prefab, keyWords))
|
||||||
|
|
|
@ -33,6 +33,7 @@ Transform:
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 5824457780679868934}
|
- {fileID: 5824457780679868934}
|
||||||
- {fileID: 4316118497711393265}
|
- {fileID: 4316118497711393265}
|
||||||
|
- {fileID: 8098435069078192609}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &285318316677895407
|
--- !u!33 &285318316677895407
|
||||||
|
@ -85,6 +86,37 @@ MeshRenderer:
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!1 &4781878446384759127
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8098435069078192609}
|
||||||
|
m_Layer: 10
|
||||||
|
m_Name: FirePoint
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &8098435069078192609
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4781878446384759127}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: 0.021532295, y: -0.70677847, z: -0.0215317, w: 0.7067793}
|
||||||
|
m_LocalPosition: {x: -0.658, y: 0.084, z: -0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 285318316674503887}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -90, z: -3.49}
|
||||||
--- !u!1001 &4316118497711264625
|
--- !u!1001 &4316118497711264625
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -1,19 +1,5 @@
|
||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!64 &4412805659928910459
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2088938590677247059}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 14
|
|
||||||
m_Mesh: {fileID: 4300000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
|
||||||
--- !u!1 &4877693905175751852
|
--- !u!1 &4877693905175751852
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -25,7 +11,6 @@ GameObject:
|
||||||
- component: {fileID: 4877693905175392396}
|
- component: {fileID: 4877693905175392396}
|
||||||
- component: {fileID: 4877693905176719532}
|
- component: {fileID: 4877693905176719532}
|
||||||
- component: {fileID: 4877693905177686636}
|
- component: {fileID: 4877693905177686636}
|
||||||
- component: {fileID: 3267094196586430519}
|
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Pistol4_02
|
m_Name: Pistol4_02
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -40,15 +25,16 @@ Transform:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 4877693905175751852}
|
m_GameObject: {fileID: 4877693905175751852}
|
||||||
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: 0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8353621443291457325}
|
- {fileID: 8353621443291457325}
|
||||||
- {fileID: 8010641801069542431}
|
- {fileID: 8010641801069542431}
|
||||||
- {fileID: 2088938590677219443}
|
- {fileID: 2088938590677219443}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &4877693905176719532
|
--- !u!33 &4877693905176719532
|
||||||
MeshFilter:
|
MeshFilter:
|
||||||
|
@ -69,9 +55,12 @@ MeshRenderer:
|
||||||
m_CastShadows: 1
|
m_CastShadows: 1
|
||||||
m_ReceiveShadows: 1
|
m_ReceiveShadows: 1
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
m_MotionVectors: 1
|
m_MotionVectors: 1
|
||||||
m_LightProbeUsage: 1
|
m_LightProbeUsage: 1
|
||||||
m_ReflectionProbeUsage: 1
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 2
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
m_RenderingLayerMask: 1
|
m_RenderingLayerMask: 1
|
||||||
m_RendererPriority: 0
|
m_RendererPriority: 0
|
||||||
m_Materials:
|
m_Materials:
|
||||||
|
@ -83,6 +72,7 @@ MeshRenderer:
|
||||||
m_ProbeAnchor: {fileID: 0}
|
m_ProbeAnchor: {fileID: 0}
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
m_ScaleInLightmap: 1
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
m_PreserveUVs: 0
|
m_PreserveUVs: 0
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
m_ImportantGI: 0
|
m_ImportantGI: 0
|
||||||
|
@ -95,59 +85,23 @@ MeshRenderer:
|
||||||
m_SortingLayerID: 0
|
m_SortingLayerID: 0
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
--- !u!64 &3267094196586430519
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4877693905175751852}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 14
|
|
||||||
m_Mesh: {fileID: 4300000, guid: 89512c38742bf2e4386daa601c4e23be, type: 3}
|
|
||||||
--- !u!64 &4239393123459653888
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8010641801069371455}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 14
|
|
||||||
m_Mesh: {fileID: 4300000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
|
||||||
--- !u!64 &6663174663519179083
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8353621443291822861}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Convex: 0
|
|
||||||
m_CookingOptions: 14
|
|
||||||
m_Mesh: {fileID: 4300000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
|
||||||
--- !u!1001 &2088938590677345011
|
--- !u!1001 &2088938590677345011
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 4877693905175392396}
|
m_TransformParent: {fileID: 4877693905175392396}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 100000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
- target: {fileID: 100000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Pistol4_02_2
|
value: Pistol4_02_2
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: -0.0745
|
value: -0.0745
|
||||||
|
@ -160,6 +114,10 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: -0
|
value: -0
|
||||||
|
@ -172,14 +130,6 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: -0
|
value: -0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 2
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
- target: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -197,13 +147,10 @@ PrefabInstance:
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 661ec4eae843be3459327dc9fcf69a92, type: 3}
|
||||||
--- !u!1 &2088938590677247059 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 100000, guid: 661ec4eae843be3459327dc9fcf69a92,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 2088938590677345011}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!4 &2088938590677219443 stripped
|
--- !u!4 &2088938590677219443 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92,
|
m_CorrespondingSourceObject: {fileID: 400000, guid: 661ec4eae843be3459327dc9fcf69a92,
|
||||||
|
@ -215,12 +162,17 @@ PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 4877693905175392396}
|
m_TransformParent: {fileID: 4877693905175392396}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 100000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
- target: {fileID: 100000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Pistol4_02_3
|
value: Pistol4_02_3
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: -0.0578
|
value: -0.0578
|
||||||
|
@ -233,6 +185,10 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: -0
|
value: -0
|
||||||
|
@ -245,14 +201,6 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: -0
|
value: -0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
- target: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -270,13 +218,10 @@ PrefabInstance:
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 8c6d9d1ab92f5b247861d64f7e31f755, type: 3}
|
||||||
--- !u!1 &8010641801069371455 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 100000, guid: 8c6d9d1ab92f5b247861d64f7e31f755,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 8010641801069405855}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!4 &8010641801069542431 stripped
|
--- !u!4 &8010641801069542431 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755,
|
m_CorrespondingSourceObject: {fileID: 400000, guid: 8c6d9d1ab92f5b247861d64f7e31f755,
|
||||||
|
@ -288,12 +233,17 @@ PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 4877693905175392396}
|
m_TransformParent: {fileID: 4877693905175392396}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 100000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
- target: {fileID: 100000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Pistol4_02_4
|
value: Pistol4_02_4
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
|
propertyPath: m_RootOrder
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -306,6 +256,10 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: -0
|
value: -0
|
||||||
|
@ -318,14 +272,6 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: -0
|
value: -0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
- target: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
value: 0
|
value: 0
|
||||||
|
@ -343,13 +289,10 @@ PrefabInstance:
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
objectReference: {fileID: 2100000, guid: 28af8aa4e6bad69439ee2d4d6d11939a, type: 2}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 7b3cced378bc9ef44a297c0f0cba7393, type: 3}
|
||||||
--- !u!1 &8353621443291822861 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 100000, guid: 7b3cced378bc9ef44a297c0f0cba7393,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 8353621443291856301}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!4 &8353621443291457325 stripped
|
--- !u!4 &8353621443291457325 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393,
|
m_CorrespondingSourceObject: {fileID: 400000, guid: 7b3cced378bc9ef44a297c0f0cba7393,
|
||||||
|
|
Loading…
Reference in New Issue