diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta new file mode 100644 index 0000000..701c35f --- /dev/null +++ b/Assets/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d326b18ea8589c2469ee0099d1392d6c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Editor.meta b/Assets/Scripts/Editor.meta new file mode 100644 index 0000000..7f4e87f --- /dev/null +++ b/Assets/Scripts/Editor.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: b0381c2bccb74e9585d9a832265fe1ea +timeCreated: 1708196843 \ No newline at end of file diff --git a/Assets/Scripts/Editor/ClearPlayerPreferences.cs b/Assets/Scripts/Editor/ClearPlayerPreferences.cs new file mode 100644 index 0000000..4e23517 --- /dev/null +++ b/Assets/Scripts/Editor/ClearPlayerPreferences.cs @@ -0,0 +1,24 @@ +#if UNITY_EDITOR +using UnityEditor; +using UnityEngine; + +// Editor only classes. +namespace Editor +{ + /// + /// Class that exists in the editor only to clear player preferences. + /// + public static class ClearPlayerPreferences + { + /// + /// Clear player preferences from the menu under "Edit > Clear Player Preferences". + /// + [MenuItem("Edit/Clear Player Preferences", priority = int.MaxValue)] + private static void Perform() + { + // Delete all player preferences. + PlayerPrefs.DeleteAll(); + } + } +} +#endif \ No newline at end of file diff --git a/Assets/Scripts/Editor/ClearPlayerPreferences.cs.meta b/Assets/Scripts/Editor/ClearPlayerPreferences.cs.meta new file mode 100644 index 0000000..bd94635 --- /dev/null +++ b/Assets/Scripts/Editor/ClearPlayerPreferences.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: d4abaf6f16e6450db63d8ee315ed7da7 +timeCreated: 1708196861 \ No newline at end of file diff --git a/ProjectSettings/DynamicsManager.asset b/ProjectSettings/DynamicsManager.asset index 3013343..ec7ed42 100644 --- a/ProjectSettings/DynamicsManager.asset +++ b/ProjectSettings/DynamicsManager.asset @@ -15,13 +15,13 @@ PhysicsManager: m_QueriesHitBackfaces: 0 m_QueriesHitTriggers: 1 m_EnableAdaptiveForce: 0 - m_ClothInterCollisionDistance: 0 - m_ClothInterCollisionStiffness: 0 + m_ClothInterCollisionDistance: 0.1 + m_ClothInterCollisionStiffness: 0.2 m_ContactsGeneration: 1 - m_LayerCollisionMatrix: fff7ffff01f7ffff01f7fffff9f7fffff9f7fffff9f7fffff9fdffff79fdfffffff7ffff3ff7fffffff7ffffc0f0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff m_SimulationMode: 0 m_AutoSyncTransforms: 0 - m_ReuseCollisionCallbacks: 1 + m_ReuseCollisionCallbacks: 0 m_InvokeCollisionCallbacks: 1 m_ClothInterCollisionSettingsToggle: 0 m_ClothGravity: {x: 0, y: -9.81, z: 0} diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index 307ccd3..224decf 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 2022.3.19f1 -m_EditorVersionWithRevision: 2022.3.19f1 (244b723c30a6) +m_EditorVersion: 2022.3.20f1 +m_EditorVersionWithRevision: 2022.3.20f1 (61c2feb0970d) diff --git a/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset index 347bc80..558a017 100644 --- a/ProjectSettings/TimeManager.asset +++ b/ProjectSettings/TimeManager.asset @@ -6,4 +6,4 @@ TimeManager: Fixed Timestep: 0.02 Maximum Allowed Timestep: 0.33333334 m_TimeScale: 1 - Maximum Particle Timestep: 0.1 + Maximum Particle Timestep: 0.03