Test Push Target
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@
|
||||
<workItem from="1680459748883" duration="4859000" />
|
||||
<workItem from="1680539278905" duration="1085000" />
|
||||
<workItem from="1680546560659" duration="3839000" />
|
||||
<workItem from="1680813239896" duration="1691000" />
|
||||
<workItem from="1680813239896" duration="1933000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
||||
@@ -169,6 +169,7 @@ public class NoPlayablePlayer : Player
|
||||
//Der Spieler steht gerade
|
||||
else
|
||||
{
|
||||
/*
|
||||
if (currentField.placedItem != null)
|
||||
{
|
||||
Trap t = currentField.placedItem.GetComponent<Trap>();
|
||||
@@ -177,6 +178,7 @@ public class NoPlayablePlayer : Player
|
||||
Destroy(t);
|
||||
currentField.placedItem = null;
|
||||
}
|
||||
*/
|
||||
Vector3 currentRotation = Quaternion.ToEulerAngles(transform.rotation);
|
||||
currentRotation.y = -34;
|
||||
transform.rotation = Quaternion.Euler(currentRotation);
|
||||
|
||||
@@ -171,6 +171,8 @@ public class PlayablePlayer : Player
|
||||
}
|
||||
//Der Spieler steht gerade
|
||||
else
|
||||
{
|
||||
if (currentField != null)
|
||||
{
|
||||
if (currentField.placedItem != null)
|
||||
{
|
||||
@@ -180,6 +182,7 @@ public class PlayablePlayer : Player
|
||||
Destroy(t);
|
||||
currentField.placedItem = null;
|
||||
}
|
||||
}
|
||||
Vector3 currentRotation = Quaternion.ToEulerAngles(transform.rotation);
|
||||
currentRotation.y = -34;
|
||||
transform.rotation = Quaternion.Euler(currentRotation);
|
||||
|
||||
Reference in New Issue
Block a user