diff --git a/Assets/Replay/CameraRotator.cs b/Assets/Replay/CameraRotator.cs new file mode 100644 index 0000000000000000000000000000000000000000..91d19ba04a6b067eefd805e5770160705344b63e --- /dev/null +++ b/Assets/Replay/CameraRotator.cs @@ -0,0 +1,99 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class CameraRotator : MonoBehaviour +{ + public GameObject CameraTarget; + public float cameraTargetHeight = 0.0f; + public int ZoomRate = 20; + public float MaxViewDistance = 15f; + public float MinViewDistance = 1f; + + private float x = 0.0f; + private float y = 0.0f; + private int mouseXSpeedMod = 5; + private int mouseYSpeedMod = 5; + private float distance = 3f; + private float desireDistance; + private float correctedDistance; + private float currentDistance; + + private Vector3 initialPosition; + private Quaternion initialRotation; + private bool useInitialTransform = true; + + public void ToggleUseInitialTransform() + { + if (useInitialTransform) + useInitialTransform = false; + else + { + transform.position = initialPosition; + transform.rotation = initialRotation; + useInitialTransform = true; + } + } + + void Start () + { + initialPosition = transform.position; + initialRotation = transform.rotation; + + Vector3 Angles = transform.eulerAngles; + x = Angles.x; + y = Angles.y; + currentDistance = distance; + desireDistance = distance; + correctedDistance = distance; + } + + void LateUpdate () + { + if (!useInitialTransform) + { + if (Input.GetMouseButton (0)) //left click + { + x += Input.GetAxis("Mouse X") * mouseXSpeedMod; + y -= Input.GetAxis("Mouse Y") * mouseYSpeedMod; + } + + //apply + y = ClampAngle (y, -15, 25); + Quaternion rotation = Quaternion.Euler (y,x,0); + + desireDistance -= Input.GetAxis("Mouse ScrollWheel") * Time.deltaTime * ZoomRate * Mathf.Abs(desireDistance); + desireDistance = Mathf.Clamp (desireDistance, MinViewDistance, MaxViewDistance); + correctedDistance = desireDistance; + + Vector3 position = CameraTarget.transform.position - (rotation * Vector3.forward * desireDistance); + + RaycastHit collisionHit; + Vector3 cameraTargetPosition = new Vector3 (CameraTarget.transform.position.x, CameraTarget.transform.position.y + cameraTargetHeight, CameraTarget.transform.position.z); + + bool isCorrected = false; + if (Physics.Linecast (cameraTargetPosition, position, out collisionHit)) + { + position = collisionHit.point; + correctedDistance = Vector3.Distance(cameraTargetPosition,position); + isCorrected = true; + } + + currentDistance = !isCorrected || correctedDistance > currentDistance ? Mathf.Lerp(currentDistance,correctedDistance,Time.deltaTime * ZoomRate) : correctedDistance; + + position = CameraTarget.transform.position - (rotation * Vector3.forward * currentDistance + new Vector3 (0, -cameraTargetHeight, 0)); + + transform.rotation = rotation; + transform.position = position; + } + } + + private static float ClampAngle(float angle, float min, float max) + { + if (angle < -360) + angle += 360; + if (angle > 360) + angle -= 360; + return Mathf.Clamp (angle,min,max); + } +} diff --git a/Assets/Replay/CameraRotator.cs.meta b/Assets/Replay/CameraRotator.cs.meta new file mode 100644 index 0000000000000000000000000000000000000000..898ce932d24a8d1521adbcd3f7c2eb18a520a0fe --- /dev/null +++ b/Assets/Replay/CameraRotator.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f9717c297d551d14d91808e2b82d60fe +timeCreated: 1515426840 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Replay.unity b/Assets/Scenes/Replay.unity index 9db222d45d1c4d5291890ca50f0f5314f855b479..26f74f0338f4c7cb820905bdc257e1db090899ae 100644 --- a/Assets/Scenes/Replay.unity +++ b/Assets/Scenes/Replay.unity @@ -186,12 +186,133 @@ CanvasRenderer: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 409326027} +--- !u!1 &425149262 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 425149263} + - component: {fileID: 425149266} + - component: {fileID: 425149265} + - component: {fileID: 425149264} + m_Layer: 5 + m_Name: ButtonToggleCamera + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &425149263 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 425149262} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -421.73, y: 201.5, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1487093064} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -421.73, y: 201.5} + m_SizeDelta: {x: 30, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &425149264 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 425149262} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 425149265} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1394823284} + m_MethodName: ToggleUseInitialTransform + m_Mode: 1 + 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_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &425149265 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 425149262} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: 33dfc4537cc1e124d84a4704e2304e54, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &425149266 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 425149262} --- !u!1001 &487240167 Prefab: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 1394823279} + m_TransformParent: {fileID: 1848223075} m_Modifications: - target: {fileID: 11406336, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: ModelCollection.Array.size @@ -199,35 +320,35 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalPosition.x - value: -0 + value: -658.8754 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalPosition.y - value: -0.3 + value: -285.03082 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalPosition.z - value: 0.3 + value: 21.349669 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalRotation.x - value: 0 + value: 0.08438388 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalRotation.y - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalRotation.z - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_LocalRotation.w - value: 1 + value: 0.9964334 objectReference: {fileID: 0} - target: {fileID: 432918, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: m_RootOrder - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 11406336, guid: b9c7aaf0d314cb847a3b2a20e893f1b6, type: 2} propertyPath: LeftGraphicsModel @@ -804,16 +925,16 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 701084997} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalRotation: {x: 0.08438388, y: -0, z: -0, w: 0.9964334} + m_LocalPosition: {x: -658.8754, y: -284.68463, z: 21.104391} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1100443892} - {fileID: 1934208170} - {fileID: 2058227364} - {fileID: 2076504241} - m_Father: {fileID: 1394823279} - m_RootOrder: 1 + m_Father: {fileID: 1848223075} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &704240553 GameObject: @@ -1289,6 +1410,7 @@ GameObject: - component: {fileID: 1394823282} - component: {fileID: 1394823281} - component: {fileID: 1394823280} + - component: {fileID: 1394823284} m_Layer: 0 m_Name: Camera m_TagString: MainCamera @@ -1303,13 +1425,11 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1394823278} m_LocalRotation: {x: 0.08438388, y: -0, z: -0, w: 0.9964334} - m_LocalPosition: {x: 0.311, y: 1.023, z: -1.947} + m_LocalPosition: {x: -658.8754, y: -284.68463, z: 21.104391} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 487240170} - - {fileID: 701084998} - m_Father: {fileID: 0} - m_RootOrder: 5 + m_Children: [] + m_Father: {fileID: 1848223075} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 9.681001, y: 0, z: 0} --- !u!81 &1394823280 AudioListener: @@ -1367,6 +1487,22 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 +--- !u!114 &1394823284 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1394823278} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9717c297d551d14d91808e2b82d60fe, type: 3} + m_Name: + m_EditorClassIdentifier: + CameraTarget: {fileID: 701084997} + cameraTargetHeight: 0 + ZoomRate: 20 + MaxViewDistance: 15 + MinViewDistance: 1 --- !u!1 &1475768281 GameObject: m_ObjectHideFlags: 0 @@ -1592,6 +1728,7 @@ RectTransform: - {fileID: 2041325545} - {fileID: 652086752} - {fileID: 799589079} + - {fileID: 425149263} m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1969,6 +2106,37 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1848223074 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1848223075} + m_Layer: 0 + m_Name: Camera Hands System + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1848223075 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1848223074} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 659.1864, y: 285.70764, z: -23.051392} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1394823279} + - {fileID: 487240170} + - {fileID: 701084998} + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1882596557 GameObject: m_ObjectHideFlags: 0 @@ -2150,7 +2318,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 6 + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1934208168 Prefab: @@ -2517,15 +2685,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 445960, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.09995663 + value: 0.099975586 objectReference: {fileID: 0} - target: {fileID: 445960, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.11906846 + value: 0.1190552 objectReference: {fileID: 0} - target: {fileID: 445960, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.037580788 + value: 0.03758353 objectReference: {fileID: 0} - target: {fileID: 428954, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2545,15 +2713,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 428954, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.104021996 + value: 0.104003906 objectReference: {fileID: 0} - target: {fileID: 428954, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12403938 + value: 0.12401608 objectReference: {fileID: 0} - target: {fileID: 428954, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.07046977 + value: 0.07047421 objectReference: {fileID: 0} - target: {fileID: 499498, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2573,15 +2741,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 499498, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.106627285 + value: 0.10662842 objectReference: {fileID: 0} - target: {fileID: 499498, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12722492 + value: 0.12720874 objectReference: {fileID: 0} - target: {fileID: 499498, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.091546685 + value: 0.091548234 objectReference: {fileID: 0} - target: {fileID: 424738, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2601,15 +2769,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 424738, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.048510164 + value: 0.04852295 objectReference: {fileID: 0} - target: {fileID: 424738, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.13554826 + value: 0.13554381 objectReference: {fileID: 0} - target: {fileID: 424738, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: -0.035985798 + value: -0.035984933 objectReference: {fileID: 0} - target: {fileID: 467128, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2629,15 +2797,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 467128, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.028058618 + value: 0.028076172 objectReference: {fileID: 0} - target: {fileID: 467128, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.15161817 + value: 0.15159172 objectReference: {fileID: 0} - target: {fileID: 467128, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: -0.0070667863 + value: -0.0070637167 objectReference: {fileID: 0} - target: {fileID: 481326, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2657,15 +2825,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 481326, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.014061451 + value: 0.014038086 objectReference: {fileID: 0} - target: {fileID: 481326, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.16261655 + value: 0.1626143 objectReference: {fileID: 0} - target: {fileID: 481326, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.012725681 + value: 0.012724876 objectReference: {fileID: 0} - target: {fileID: 414404, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2685,15 +2853,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 414404, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.07655245 + value: 0.076538086 objectReference: {fileID: 0} - target: {fileID: 414404, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.11931026 + value: 0.11929044 objectReference: {fileID: 0} - target: {fileID: 414404, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.04531035 + value: 0.045313984 objectReference: {fileID: 0} - target: {fileID: 451232, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2713,15 +2881,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 451232, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.07550508 + value: 0.07550049 objectReference: {fileID: 0} - target: {fileID: 451232, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12457338 + value: 0.12456128 objectReference: {fileID: 0} - target: {fileID: 451232, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.08038223 + value: 0.08038467 objectReference: {fileID: 0} - target: {fileID: 424054, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2741,15 +2909,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 424054, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.07485962 + value: 0.07489014 objectReference: {fileID: 0} - target: {fileID: 424054, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12781686 + value: 0.12781465 objectReference: {fileID: 0} - target: {fileID: 424054, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.101995766 + value: 0.101995915 objectReference: {fileID: 0} - target: {fileID: 450638, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2769,15 +2937,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 450638, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.11958265 + value: 0.11956787 objectReference: {fileID: 0} - target: {fileID: 450638, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12173277 + value: 0.12172121 objectReference: {fileID: 0} - target: {fileID: 450638, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.025443435 + value: 0.02544576 objectReference: {fileID: 0} - target: {fileID: 406836, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2797,15 +2965,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 406836, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.12617612 + value: 0.12615967 objectReference: {fileID: 0} - target: {fileID: 406836, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.124424085 + value: 0.124399185 objectReference: {fileID: 0} - target: {fileID: 406836, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.049850732 + value: 0.049854368 objectReference: {fileID: 0} - target: {fileID: 403052, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2825,15 +2993,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 403052, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.13059378 + value: 0.13061523 objectReference: {fileID: 0} - target: {fileID: 403052, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12622727 + value: 0.12619853 objectReference: {fileID: 0} - target: {fileID: 403052, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.06620371 + value: 0.06620887 objectReference: {fileID: 0} - target: {fileID: 430274, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2853,11 +3021,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 430274, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.05351609 + value: 0.053527832 objectReference: {fileID: 0} - target: {fileID: 430274, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.120950565 + value: 0.12092295 objectReference: {fileID: 0} - target: {fileID: 437978, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2877,11 +3045,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 437978, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.04835543 + value: 0.048339844 objectReference: {fileID: 0} - target: {fileID: 437978, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.125561 + value: 0.12553495 objectReference: {fileID: 0} - target: {fileID: 441686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalRotation.x @@ -2901,7 +3069,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 441686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.y - value: 0.12839425 + value: 0.12837082 objectReference: {fileID: 0} - target: {fileID: 5499686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_Interpolate @@ -3101,7 +3269,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 441686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.x - value: 0.045183986 + value: 0.045166016 objectReference: {fileID: 0} - target: {fileID: 441686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalScale.x @@ -3109,7 +3277,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 437978, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.072839946 + value: 0.072844625 objectReference: {fileID: 0} - target: {fileID: 437978, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalScale.x @@ -3117,7 +3285,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 430274, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.042540073 + value: 0.04254332 objectReference: {fileID: 0} - target: {fileID: 430274, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalScale.x @@ -3177,7 +3345,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 441686, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} propertyPath: m_LocalPosition.z - value: 0.09146041 + value: 0.09146416 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 23f2cce114628a448bfeaae171b4c0c0, type: 2} @@ -3249,15 +3417,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 447880, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.09995663 + value: -0.099975586 objectReference: {fileID: 0} - target: {fileID: 447880, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.11906846 + value: 0.1190552 objectReference: {fileID: 0} - target: {fileID: 447880, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.037580788 + value: 0.03758353 objectReference: {fileID: 0} - target: {fileID: 441364, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3277,15 +3445,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 441364, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.104021996 + value: -0.104003906 objectReference: {fileID: 0} - target: {fileID: 441364, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12403938 + value: 0.12401608 objectReference: {fileID: 0} - target: {fileID: 441364, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.07046977 + value: 0.07047421 objectReference: {fileID: 0} - target: {fileID: 429658, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3305,15 +3473,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 429658, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.1066273 + value: -0.10662842 objectReference: {fileID: 0} - target: {fileID: 429658, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12722492 + value: 0.12720874 objectReference: {fileID: 0} - target: {fileID: 429658, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.091546685 + value: 0.091548234 objectReference: {fileID: 0} - target: {fileID: 436198, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3333,15 +3501,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 436198, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.048510164 + value: -0.04852295 objectReference: {fileID: 0} - target: {fileID: 436198, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.13554826 + value: 0.13554381 objectReference: {fileID: 0} - target: {fileID: 436198, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: -0.035985798 + value: -0.035984933 objectReference: {fileID: 0} - target: {fileID: 425120, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3361,15 +3529,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 425120, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.028058618 + value: -0.028076172 objectReference: {fileID: 0} - target: {fileID: 425120, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.15161817 + value: 0.15159172 objectReference: {fileID: 0} - target: {fileID: 425120, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: -0.0070667863 + value: -0.0070637167 objectReference: {fileID: 0} - target: {fileID: 407702, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3389,15 +3557,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 407702, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.014061451 + value: -0.014038086 objectReference: {fileID: 0} - target: {fileID: 407702, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.16261655 + value: 0.1626143 objectReference: {fileID: 0} - target: {fileID: 407702, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.012725681 + value: 0.012724876 objectReference: {fileID: 0} - target: {fileID: 467038, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3417,15 +3585,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 467038, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.076552466 + value: -0.076538086 objectReference: {fileID: 0} - target: {fileID: 467038, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.11931026 + value: 0.11929044 objectReference: {fileID: 0} - target: {fileID: 467038, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.04531035 + value: 0.045313984 objectReference: {fileID: 0} - target: {fileID: 434850, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3445,15 +3613,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 434850, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.07550506 + value: -0.07550049 objectReference: {fileID: 0} - target: {fileID: 434850, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12457338 + value: 0.12456128 objectReference: {fileID: 0} - target: {fileID: 434850, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.08038223 + value: 0.08038467 objectReference: {fileID: 0} - target: {fileID: 445228, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3473,15 +3641,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 445228, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.07485959 + value: -0.0748291 objectReference: {fileID: 0} - target: {fileID: 445228, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12781686 + value: 0.12781465 objectReference: {fileID: 0} - target: {fileID: 445228, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.101995766 + value: 0.101995915 objectReference: {fileID: 0} - target: {fileID: 494458, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3501,15 +3669,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 494458, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.11958265 + value: -0.11956787 objectReference: {fileID: 0} - target: {fileID: 494458, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12173277 + value: 0.12172121 objectReference: {fileID: 0} - target: {fileID: 494458, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.025443435 + value: 0.02544576 objectReference: {fileID: 0} - target: {fileID: 478232, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3529,15 +3697,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 478232, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.1261761 + value: -0.12615967 objectReference: {fileID: 0} - target: {fileID: 478232, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.124424085 + value: 0.124399185 objectReference: {fileID: 0} - target: {fileID: 478232, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.049850732 + value: 0.049854368 objectReference: {fileID: 0} - target: {fileID: 483186, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3557,15 +3725,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 483186, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.13059378 + value: -0.13061523 objectReference: {fileID: 0} - target: {fileID: 483186, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12622727 + value: 0.12619853 objectReference: {fileID: 0} - target: {fileID: 483186, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.06620371 + value: 0.06620887 objectReference: {fileID: 0} - target: {fileID: 484030, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3585,11 +3753,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 484030, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.05351609 + value: -0.053527832 objectReference: {fileID: 0} - target: {fileID: 484030, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.120950565 + value: 0.12092295 objectReference: {fileID: 0} - target: {fileID: 433670, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3609,11 +3777,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 433670, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.04835543 + value: -0.048339844 objectReference: {fileID: 0} - target: {fileID: 433670, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.125561 + value: 0.12553495 objectReference: {fileID: 0} - target: {fileID: 452704, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalRotation.x @@ -3633,11 +3801,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 452704, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.x - value: -0.045183986 + value: -0.045166016 objectReference: {fileID: 0} - target: {fileID: 452704, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.y - value: 0.12839425 + value: 0.12837082 objectReference: {fileID: 0} - target: {fileID: 5451820, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_Interpolate @@ -3765,7 +3933,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 484030, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.042540073 + value: 0.04254332 objectReference: {fileID: 0} - target: {fileID: 484030, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalScale.x @@ -3773,7 +3941,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 433670, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.072839946 + value: 0.072844625 objectReference: {fileID: 0} - target: {fileID: 433670, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalScale.x @@ -3909,7 +4077,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 452704, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} propertyPath: m_LocalPosition.z - value: 0.09146041 + value: 0.09146416 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: c8515ebee271c0649b9db1321f3026a4, type: 2} diff --git a/Assets/Textures.meta b/Assets/Textures.meta new file mode 100644 index 0000000000000000000000000000000000000000..1a6b974fd3dd485c7a9b42fe3d80e349ee5f42a6 --- /dev/null +++ b/Assets/Textures.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 0121c37022d319d4a9c16a0c6b08ac20 +folderAsset: yes +timeCreated: 1515427857 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/video-camera.png b/Assets/Textures/video-camera.png new file mode 100644 index 0000000000000000000000000000000000000000..782cf37333a1d480f663da63e0a7dc531f2b6a2c Binary files /dev/null and b/Assets/Textures/video-camera.png differ diff --git a/Assets/Textures/video-camera.png.meta b/Assets/Textures/video-camera.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..55db58573be84386003f5fca6cdc110d7b74964d --- /dev/null +++ b/Assets/Textures/video-camera.png.meta @@ -0,0 +1,103 @@ +fileFormatVersion: 2 +guid: 33dfc4537cc1e124d84a4704e2304e54 +timeCreated: 1515427862 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + externalObjects: {} + serializedVersion: 4 + 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 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + 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} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: