Commit bf7e7747 authored by 神楽坂玲奈's avatar 神楽坂玲奈

remove DeckManager 3d

parent 51349d85
Pipeline #5425 canceled with stages
in 38 minutes and 50 seconds
......@@ -117,14 +117,6 @@ public class DeckManager : ServantWithCardDescription
}
camrem();
if (Input.mousePosition.x < Screen.width - 280)
if (Input.mousePosition.x > 250)
{
cameraAngle += Program.wheelValue * 1.2f;
if (cameraAngle < 0f) cameraAngle = 0f;
if (cameraAngle > 90f) cameraAngle = 90f;
}
cameraDistance = 29 - 3.1415926f / 180f * (cameraAngle - 60f) * 13f;
Program.cameraPosition = new Vector3(0, cameraDistance * Mathf.Sin(3.1415926f / 180f * cameraAngle),
-cameraDistance * Mathf.Cos(3.1415926f / 180f * cameraAngle));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment