Skip to content

Commit

Permalink
Removed a useless variable, ready for 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Glaas committed Apr 2, 2021
1 parent c0783c4 commit acba0f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 131 deletions.
1 change: 0 additions & 1 deletion Editor/FPSControllerEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public override void OnInspectorGUI()
EditorGUILayout.LabelField("Jump", GuiStylesBank.boldStyle);
fps.jumpSpeed = EditorGUILayout.Slider("Jump force", fps.jumpSpeed, .1f, 30);
fps.gravity = EditorGUILayout.Slider("Gravity", fps.gravity, .1f, 30);
fps.allowAirControl = EditorGUILayout.Toggle("AllowAirControl", fps.allowAirControl);
EditorGUILayout.Separator();

EditorGUILayout.LabelField("Camera", GuiStylesBank.boldStyle);
Expand Down
4 changes: 1 addition & 3 deletions Runtime/PlayerControllers/FPSController/FPSController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ public class FPSController : MonoBehaviour
public float gravity = 20.0f;
public float lookSpeed = 2.0f;
public float lookXLimit = 45.0f;

public bool allowAirControl = true;


public KeyCode runKey = KeyCode.LeftShift;
public KeyCode jumpKey = KeyCode.Space;

Expand Down
127 changes: 0 additions & 127 deletions Samples/CharacterController2D/CharacterController2DExampleScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -757,133 +757,6 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1409418711
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1409418715}
- component: {fileID: 1409418714}
- component: {fileID: 1409418713}
- component: {fileID: 1409418712}
- component: {fileID: 1409418716}
m_Layer: 0
m_Name: Floor (4)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!61 &1409418712
BoxCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1409418711}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
serializedVersion: 2
m_Size: {x: 1, y: 1}
m_EdgeRadius: 0
--- !u!23 &1409418713
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1409418711}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a9891715bcd92cc4eaa309bf8c4ef63d, 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_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1409418714
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1409418711}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1409418715
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1409418711}
m_LocalRotation: {x: -0, y: -0, z: 0.27858144, w: 0.96041256}
m_LocalPosition: {x: 10.99, y: 6.33, z: -2.4202526}
m_LocalScale: {x: 4.6913834, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 32.351}
--- !u!114 &1409418716
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1409418711}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 849d93af0c914074b8575cb38ef871b2, type: 3}
m_Name:
m_EditorClassIdentifier:
isFloating: 0
isRotating: 0
intensity: 1
speed: 1
rotateSpeed: 2
rotationDirection: 0
--- !u!1 &1993535720
GameObject:
m_ObjectHideFlags: 0
Expand Down

0 comments on commit acba0f6

Please sign in to comment.