Reworked controls and fixed equipment generation with Place = Bag
This commit is contained in:
@@ -74,6 +74,7 @@ public class Controls : MonoBehaviour
|
||||
|
||||
public void FixedUpdate()
|
||||
{
|
||||
Debug.Log(playerInput.currentControlScheme);
|
||||
if (direction != MoveDirection.None)
|
||||
{
|
||||
AxisEventData data = new AxisEventData(EventSystem.current);
|
||||
|
||||
@@ -190,6 +190,7 @@ namespace Assets.Scripts
|
||||
if (state == UIState.PAUSE)
|
||||
{
|
||||
closePauseMenu();
|
||||
Cursor.lockState = CursorLockMode.Locked;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Assets.Scripts
|
||||
numberOfAttributes = 0;
|
||||
}
|
||||
calculateAttributes(luck, numberOfAttributes);
|
||||
place = (ItemPlace)rand.Next(8);
|
||||
place = (ItemPlace)rand.Next(7);
|
||||
editName();
|
||||
loadImage();
|
||||
}
|
||||
|
||||
@@ -183,7 +183,6 @@ namespace Assets.Scripts.Player
|
||||
}
|
||||
|
||||
public void rotate(Vector2 input, Vector2 speed){
|
||||
Debug.Log(input.x * speed.x);
|
||||
transform.Rotate(Vector3.up, input.x * speed.x * 5);// * Time.deltaTime);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user