cleaned up scripts a little bit

This commit is contained in:
slevy14
2023-04-17 16:47:12 -07:00
parent 275763628b
commit cb059613f9
7 changed files with 170 additions and 346 deletions

View File

@@ -15,6 +15,7 @@ GameObject:
- component: {fileID: 5885597207104481990}
- component: {fileID: 5885597207104481984}
- component: {fileID: 1407172087}
- component: {fileID: 3893791749692807526}
- component: {fileID: 5559747613460074786}
m_Layer: 2
m_Name: Player
@@ -219,12 +220,59 @@ MonoBehaviour:
m_ControlsChangedEvent:
m_PersistentCalls:
m_Calls: []
m_ActionEvents: []
m_ActionEvents:
- m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 5559747613460074786}
m_TargetAssemblyTypeName: PlayerMovement, Assembly-CSharp
m_MethodName: OnGrapple
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_ActionId: 183693a0-ab31-4f85-a4ef-b43b8a80fa77
m_ActionName: Player/Move[/Keyboard/w,/Keyboard/s,/Keyboard/a,/Keyboard/d]
- m_PersistentCalls:
m_Calls: []
m_ActionId: 2116b59e-20ee-4f7c-a656-aad81b0ae23a
m_ActionName: Player/Grapple[/Keyboard/l]
- m_PersistentCalls:
m_Calls: []
m_ActionId: 00940c0e-3199-4943-a074-8cde87588db2
m_ActionName: Player/ThrowTambourine[/Keyboard/k]
- m_PersistentCalls:
m_Calls: []
m_ActionId: 5a10231f-97fe-4bfb-89d8-4ac906d76de6
m_ActionName: Player/Jump[/Keyboard/space]
m_NeverAutoSwitchControlSchemes: 0
m_DefaultControlScheme:
m_DefaultActionMap: Player
m_SplitScreenIndex: -1
m_Camera: {fileID: 0}
--- !u!114 &3893791749692807526
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5885597207104481991}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b0115312556794123a3cafad4b83d0a7, type: 3}
m_Name:
m_EditorClassIdentifier:
playerInput: {fileID: 1407172087}
launcher: {fileID: 6559806128767475056}
hasTambourine: 1
grapplingGun: {fileID: 3465910379319867675}
grapplingRope: {fileID: 7648135587659148198}
playerController: {fileID: 5559747613460074786}
stateController: {fileID: 0}
--- !u!114 &5559747613460074786
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -247,8 +295,6 @@ MonoBehaviour:
m_Bits: 64
boxSize: {x: 0.03, y: 0.21}
maxDistanceFromGround: 0.13
grapplingGun: {fileID: 3465910379319867675}
grapplingRope: {fileID: 7648135587659148198}
stateController: {fileID: 0}
--- !u!1 &5885597207531562995
GameObject:
@@ -357,7 +403,7 @@ SpriteRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingOrder: 1
m_Sprite: {fileID: 7482667652216324306, guid: 311925a002f4447b3a28927169b83ea6, type: 3}
m_Color: {r: 0.64606833, g: 1, b: 0, a: 1}
m_FlipX: 0
@@ -528,7 +574,7 @@ LineRenderer:
- {x: 0, y: 0, z: 1}
m_Parameters:
serializedVersion: 3
widthMultiplier: 0.15
widthMultiplier: 0.1
widthCurve:
serializedVersion: 2
m_Curve:
@@ -593,7 +639,7 @@ Rigidbody2D:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5885597207789090697}
m_BodyType: 0
m_BodyType: 1
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
@@ -686,7 +732,7 @@ MonoBehaviour:
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0.0012016296
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
@@ -696,7 +742,7 @@ MonoBehaviour:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
startWaveSize: 2
startWaveSize: 4
ropeProgressionCurve:
serializedVersion: 2
m_Curve: