Compare commits

..

No commits in common. "457d8cc8d1dd9f24c0fa7b5c627ffeae2c9bccf0" and "ace58eb9143af3129fcd83273a17b3975d66154e" have entirely different histories.

3 changed files with 8 additions and 13 deletions

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 1113159741}
m_IndirectSpecularColor: {r: 0.16235206, g: 0.30609706, b: 0.6687956, a: 1}
m_IndirectSpecularColor: {r: 0.1623277, g: 0.30598003, b: 0.66832066, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -68599,7 +68599,6 @@ MonoBehaviour:
distance: 0
isScale: 0
satelliteImagery: {fileID: 1378295488}
rect: {fileID: 6368481659655708048}
--- !u!1 &1720385560
GameObject:
m_ObjectHideFlags: 0
@ -70681,7 +70680,7 @@ MonoBehaviour:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
randSeed: 684474421
randSeed: 102493484
isDoingTransition: 0
minimumHeight: 0
--- !u!114 &1820978574
@ -100605,8 +100604,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0.000030518, y: 0}
m_SizeDelta: {x: 14.560303, y: -131.06934}
m_AnchoredPosition: {x: -71, y: -28.6}
m_SizeDelta: {x: 167.36975, y: -41.188477}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &6368481659655708051
GameObject:

View File

@ -26,7 +26,6 @@ public class PostureController : MonoBehaviour
public Camera satelliteImagery;
public Coroutine currentCoroutine;
public RectTransform rect;
// Start is called before the first frame update
void Awake()
@ -41,8 +40,6 @@ public class PostureController : MonoBehaviour
void Update()
{
if (Input.GetMouseButton(0))
{
if (RectTransformUtility.RectangleContainsScreenPoint(rect, Input.mousePosition))
{
float mouseX = Input.GetAxis("Mouse X") * 10f * Time.deltaTime;
float mouseY = Input.GetAxis("Mouse Y") * 10f * Time.deltaTime;
@ -50,7 +47,6 @@ public class PostureController : MonoBehaviour
satelliteImagery.transform.Translate(Vector3.left * mouseX * 60f);
}
}
}
private void OnUp()
{