summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Box2d/Assets/Art.meta8
-rw-r--r--Box2d/Assets/Art/Canvas.prefab67
-rw-r--r--Box2d/Assets/Art/Canvas.prefab.meta8
-rw-r--r--Box2d/Assets/Art/Main Camera.prefab90
-rw-r--r--Box2d/Assets/Art/Main Camera.prefab.meta8
-rw-r--r--Box2d/Assets/Art/Texture.meta8
-rw-r--r--Box2d/Assets/Art/Texture/lexaloffle-pico8.pngbin0 -> 442 bytes
-rw-r--r--Box2d/Assets/Art/Texture/lexaloffle-pico8.png.meta99
-rw-r--r--Box2d/Assets/Program/Box2d/Properties.meta8
-rw-r--r--Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs36
-rw-r--r--Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs.meta11
-rw-r--r--Box2d/Assets/Program/Test.meta8
-rw-r--r--Box2d/Assets/Program/Test/ApplicationMain.cs40
-rw-r--r--Box2d/Assets/Program/Test/ApplicationMain.cs.meta11
-rw-r--r--Box2d/Assets/Program/Test/DontDestroyOnLoad.cs13
-rw-r--r--Box2d/Assets/Program/Test/DontDestroyOnLoad.cs.meta11
-rw-r--r--Box2d/Assets/Scenes/TestScene.unity328
-rw-r--r--Box2d/Assets/mcs.rsp1
-rw-r--r--Box2d/Assets/mcs.rsp.meta7
19 files changed, 693 insertions, 69 deletions
diff --git a/Box2d/Assets/Art.meta b/Box2d/Assets/Art.meta
new file mode 100644
index 0000000..7d70031
--- /dev/null
+++ b/Box2d/Assets/Art.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 6082076517c3f3f449641bfc0cafdc36
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Art/Canvas.prefab b/Box2d/Assets/Art/Canvas.prefab
new file mode 100644
index 0000000..fd1ab2e
--- /dev/null
+++ b/Box2d/Assets/Art/Canvas.prefab
@@ -0,0 +1,67 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1585533856776318}
+ m_IsPrefabAsset: 1
+--- !u!1 &1585533856776318
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 224487244742334886}
+ - component: {fileID: 223972664136431454}
+ m_Layer: 0
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!223 &223972664136431454
+Canvas:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1585533856776318}
+ m_Enabled: 1
+ serializedVersion: 3
+ m_RenderMode: 1
+ m_Camera: {fileID: 20262391213892542, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 1
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_AdditionalShaderChannelsFlag: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 0
+ m_TargetDisplay: 0
+--- !u!224 &224487244742334886
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1585533856776318}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
diff --git a/Box2d/Assets/Art/Canvas.prefab.meta b/Box2d/Assets/Art/Canvas.prefab.meta
new file mode 100644
index 0000000..e495dc6
--- /dev/null
+++ b/Box2d/Assets/Art/Canvas.prefab.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a100429bd81f89648aebd9ca97e5ff23
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Art/Main Camera.prefab b/Box2d/Assets/Art/Main Camera.prefab
new file mode 100644
index 0000000..1154286
--- /dev/null
+++ b/Box2d/Assets/Art/Main Camera.prefab
@@ -0,0 +1,90 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 1894989351867914}
+ m_IsPrefabAsset: 1
+--- !u!1 &1894989351867914
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 4783774878210068}
+ - component: {fileID: 20262391213892542}
+ - component: {fileID: 81949174401061288}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4783774878210068
+Transform:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1894989351867914}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -1}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!20 &20262391213892542
+Camera:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1894989351867914}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 2
+ m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
+ m_projectionMatrixMode: 1
+ m_SensorSize: {x: 36, y: 24}
+ m_LensShift: {x: 0, y: 0}
+ m_FocalLength: 50
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: 0
+ far clip plane: 10
+ field of view: 60
+ orthographic: 1
+ orthographic size: 5
+ m_Depth: -1
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingPath: -1
+ m_TargetTexture: {fileID: 0}
+ m_TargetDisplay: 0
+ m_TargetEye: 3
+ m_HDR: 1
+ m_AllowMSAA: 1
+ m_AllowDynamicResolution: 0
+ m_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+--- !u!81 &81949174401061288
+AudioListener:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 1894989351867914}
+ m_Enabled: 0
diff --git a/Box2d/Assets/Art/Main Camera.prefab.meta b/Box2d/Assets/Art/Main Camera.prefab.meta
new file mode 100644
index 0000000..58a0746
--- /dev/null
+++ b/Box2d/Assets/Art/Main Camera.prefab.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 570ef1a3f2711584e94b37ddfa0bc936
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 100100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Art/Texture.meta b/Box2d/Assets/Art/Texture.meta
new file mode 100644
index 0000000..db7284b
--- /dev/null
+++ b/Box2d/Assets/Art/Texture.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 811985bbe3eadb44f939f9d739db6f98
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Art/Texture/lexaloffle-pico8.png b/Box2d/Assets/Art/Texture/lexaloffle-pico8.png
new file mode 100644
index 0000000..0d11f85
--- /dev/null
+++ b/Box2d/Assets/Art/Texture/lexaloffle-pico8.png
Binary files differ
diff --git a/Box2d/Assets/Art/Texture/lexaloffle-pico8.png.meta b/Box2d/Assets/Art/Texture/lexaloffle-pico8.png.meta
new file mode 100644
index 0000000..01b20c7
--- /dev/null
+++ b/Box2d/Assets/Art/Texture/lexaloffle-pico8.png.meta
@@ -0,0 +1,99 @@
+fileFormatVersion: 2
+guid: 5a725dff2b060034ca20a183dc9bd40d
+TextureImporter:
+ fileIDToRecycleName: {}
+ externalObjects: {}
+ serializedVersion: 7
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 2048
+ textureSettings:
+ serializedVersion: 2
+ filterMode: -1
+ aniso: -1
+ mipBias: -100
+ wrapU: 1
+ wrapV: 1
+ wrapW: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 1
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 1
+ spriteTessellationDetail: -1
+ textureType: 8
+ textureShape: 1
+ singleChannelComponent: 0
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ platformSettings:
+ - serializedVersion: 2
+ buildTarget: DefaultTexturePlatform
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ - serializedVersion: 2
+ buildTarget: Standalone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ physicsShape: []
+ bones: []
+ spriteID:
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ spritePackingTag:
+ pSDRemoveMatte: 0
+ pSDShowRemoveMatteOption: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Program/Box2d/Properties.meta b/Box2d/Assets/Program/Box2d/Properties.meta
new file mode 100644
index 0000000..6aaffc5
--- /dev/null
+++ b/Box2d/Assets/Program/Box2d/Properties.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 7c4ee467041d7054a88577b9e498be90
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs b/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..3d6b9cd
--- /dev/null
+++ b/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Box2DX")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Box2DX")]
+[assembly: AssemblyCopyright("Copyright (c) 2008 Ihar Kalasouski http://code.google.com/p/box2dx")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("0164b8c9-6d35-419c-a4c1-05217f6f2f7a")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("2.0.1.*")]
+[assembly: AssemblyFileVersion("2.0.1.0")]
diff --git a/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs.meta b/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs.meta
new file mode 100644
index 0000000..4805537
--- /dev/null
+++ b/Box2d/Assets/Program/Box2d/Properties/AssemblyInfo.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 82127baaa1730684590b28c5dce9f6d6
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Program/Test.meta b/Box2d/Assets/Program/Test.meta
new file mode 100644
index 0000000..3018498
--- /dev/null
+++ b/Box2d/Assets/Program/Test.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: cb44a5912cadba440b51ae5ea814a52f
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Program/Test/ApplicationMain.cs b/Box2d/Assets/Program/Test/ApplicationMain.cs
new file mode 100644
index 0000000..bec4540
--- /dev/null
+++ b/Box2d/Assets/Program/Test/ApplicationMain.cs
@@ -0,0 +1,40 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using Box2DX;
+using Box2DX.Dynamics;
+using Box2DX.Collision;
+using Box2DX.Common;
+
+public class ApplicationMain : MonoBehaviour
+{
+
+
+ public Material material;
+
+ void OnPostRender()
+ {
+ //绘制正四边形,提供的坐标必须是顺时针或者逆时针
+ Draw(100, 100, 100, 200, 200, 200, 200, 100);
+ //绘制无规则四边形
+ Draw(15, 5, 10, 115, 95, 110, 90, 10);
+ }
+
+ //绘制四边形,四个点坐标
+ void Draw(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
+ {
+ GL.PushMatrix();
+ //material.SetPass(0);//设置该材质通道,0为默认值
+ GL.LoadOrtho();//设置绘制2d图像
+ GL.Begin(GL.QUADS);//绘制类型为四边形
+
+ GL.Vertex3(x1 / Screen.width, y1 / Screen.height, 0);
+ GL.Vertex3(x2 / Screen.width, y2 / Screen.height, 0);
+ GL.Vertex3(x3 / Screen.width, y3 / Screen.height, 0);
+ GL.Vertex3(x4 / Screen.width, y4 / Screen.height, 0);
+
+ GL.End();
+ GL.PopMatrix();
+ }
+
+}
diff --git a/Box2d/Assets/Program/Test/ApplicationMain.cs.meta b/Box2d/Assets/Program/Test/ApplicationMain.cs.meta
new file mode 100644
index 0000000..0b20af6
--- /dev/null
+++ b/Box2d/Assets/Program/Test/ApplicationMain.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 2dc4697d525f9454e9497e4fc4ac0a66
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs b/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs
new file mode 100644
index 0000000..0ea2e7f
--- /dev/null
+++ b/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs
@@ -0,0 +1,13 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class DontDestroyOnLoad : MonoBehaviour
+{
+
+ private void Awake()
+ {
+ DontDestroyOnLoad(gameObject);
+ }
+
+}
diff --git a/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs.meta b/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs.meta
new file mode 100644
index 0000000..579b1fd
--- /dev/null
+++ b/Box2d/Assets/Program/Test/DontDestroyOnLoad.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: bc2944ec2555cbb4f831f0702cc76c95
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Box2d/Assets/Scenes/TestScene.unity b/Box2d/Assets/Scenes/TestScene.unity
index 155809d..c333f49 100644
--- a/Box2d/Assets/Scenes/TestScene.unity
+++ b/Box2d/Assets/Scenes/TestScene.unity
@@ -179,122 +179,312 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
---- !u!1 &511688542
+--- !u!1 &665368328 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 1585533856776318, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ m_PrefabInternal: {fileID: 1416295150}
+--- !u!114 &665368329
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 665368328}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2dc4697d525f9454e9497e4fc4ac0a66, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ mat: {fileID: 0}
+--- !u!120 &665368331
+LineRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 665368328}
+ m_Enabled: 0
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_MotionVectors: 0
+ m_LightProbeUsage: 0
+ m_ReflectionProbeUsage: 0
+ m_RenderingLayerMask: 4294967295
+ m_Materials:
+ - {fileID: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_StitchLightmapSeams: 0
+ 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_Positions:
+ - {x: 0, y: 0, z: 0}
+ - {x: 0, y: 0, z: 1}
+ m_Parameters:
+ serializedVersion: 2
+ widthMultiplier: 1
+ widthCurve:
+ serializedVersion: 2
+ m_Curve:
+ - serializedVersion: 3
+ time: 0
+ value: 0.9446831
+ inSlope: 0
+ outSlope: 0
+ tangentMode: 0
+ weightedMode: 0
+ inWeight: 0.33333334
+ outWeight: 0.33333334
+ 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_NumColorKeys: 2
+ m_NumAlphaKeys: 2
+ numCornerVertices: 0
+ numCapVertices: 0
+ alignment: 0
+ textureMode: 0
+ generateLightingData: 0
+ m_UseWorldSpace: 1
+ m_Loop: 0
+--- !u!1 &1237135154
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 511688545}
- - component: {fileID: 511688544}
- - component: {fileID: 511688543}
+ - component: {fileID: 1237135155}
+ - component: {fileID: 1237135156}
+ - component: {fileID: 1237135157}
m_Layer: 0
- m_Name: Main Camera
- m_TagString: MainCamera
+ m_Name: Application
+ m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!81 &511688543
-AudioListener:
+--- !u!4 &1237135155
+Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 511688542}
- m_Enabled: 0
---- !u!20 &511688544
-Camera:
+ m_GameObject: {fileID: 1237135154}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0.21522346, y: -0.2583059, z: -0.07421875}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1237135156
+MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 511688542}
+ m_GameObject: {fileID: 1237135154}
m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 2
- m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
- m_projectionMatrixMode: 1
- m_SensorSize: {x: 36, y: 24}
- m_LensShift: {x: 0, y: 0}
- m_FocalLength: 50
- m_NormalizedViewPortRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1
- height: 1
- near clip plane: 0
- far clip plane: 10
- field of view: 60
- orthographic: 1
- orthographic size: 5
- m_Depth: -1
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_RenderingPath: -1
- m_TargetTexture: {fileID: 0}
- m_TargetDisplay: 0
- m_TargetEye: 3
- m_HDR: 1
- m_AllowMSAA: 1
- m_AllowDynamicResolution: 0
- m_ForceIntoRT: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
---- !u!4 &511688545
-Transform:
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2dc4697d525f9454e9497e4fc4ac0a66, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ mat: {fileID: 0}
+--- !u!114 &1237135157
+MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
- m_GameObject: {fileID: 511688542}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: -1}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1001 &1398880139
+ m_GameObject: {fileID: 1237135154}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: bc2944ec2555cbb4f831f0702cc76c95, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!1001 &1416295150
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalPosition.x
- value: -5.75
+ value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalPosition.y
- value: 2.87
+ value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- - target: {fileID: 4861056112530586, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
propertyPath: m_RootOrder
- value: 2
+ value: 3
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchorMin.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchorMax.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_Pivot.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 224487244742334886, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_Pivot.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 223972664136431454, guid: a100429bd81f89648aebd9ca97e5ff23,
+ type: 2}
+ propertyPath: m_Enabled
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: a100429bd81f89648aebd9ca97e5ff23, type: 2}
+ m_IsPrefabAsset: 0
+--- !u!1001 &1779527489
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: -1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4783774878210068, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
+ propertyPath: m_RootOrder
+ value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
- m_SourcePrefab: {fileID: 100100000, guid: 34ebd6d57db1403459f3131db297b063, type: 2}
+ m_SourcePrefab: {fileID: 100100000, guid: 570ef1a3f2711584e94b37ddfa0bc936, type: 2}
m_IsPrefabAsset: 0
diff --git a/Box2d/Assets/mcs.rsp b/Box2d/Assets/mcs.rsp
new file mode 100644
index 0000000..e96009c
--- /dev/null
+++ b/Box2d/Assets/mcs.rsp
@@ -0,0 +1 @@
+-unsafe -warnaserror- \ No newline at end of file
diff --git a/Box2d/Assets/mcs.rsp.meta b/Box2d/Assets/mcs.rsp.meta
new file mode 100644
index 0000000..5cd5ff4
--- /dev/null
+++ b/Box2d/Assets/mcs.rsp.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 3fea9dd0bfba1a4489ca90c584ffc233
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant: