Server Sync
Player move on sync
This commit is contained in:
@@ -152,9 +152,4 @@ public class NoPlayablePlayer : Player
|
||||
}
|
||||
}
|
||||
|
||||
public void EventStopFinished()
|
||||
{
|
||||
eventstop = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -37,12 +37,13 @@ public class PlayablePlayer : Player
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
/*
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
eventstop = false;
|
||||
client.EventStopFinished();
|
||||
}
|
||||
|
||||
*/
|
||||
if (activated && !name.Equals(""))
|
||||
{
|
||||
//Generiere Würfelzahl von 1-6 wenn gerade gewürfelt werden darf
|
||||
|
||||
@@ -70,4 +70,9 @@ public abstract class Player : MonoBehaviour
|
||||
eventstop = true;
|
||||
Layout2.SetActive(true);
|
||||
}
|
||||
|
||||
public void EventStopFinished()
|
||||
{
|
||||
eventstop = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user