mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
Update PlayerMaster.cs
This commit is contained in:
@@ -13,7 +13,7 @@ public class PlayerMaster : MonoBehaviour
|
|||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
//JUST FOR DEBUG
|
//JUST FOR DEBUG
|
||||||
Players[0].AddKills(1);
|
//Players[0].AddKills(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ public class PlayerMaster : MonoBehaviour
|
|||||||
|
|
||||||
public void TestDamage()
|
public void TestDamage()
|
||||||
{
|
{
|
||||||
Players[0].RemoveHealth(10);
|
//Players[0].RemoveHealth(10);
|
||||||
}
|
}
|
||||||
//Join
|
//Join
|
||||||
public void OnPlayerJoin(GameObject player) //When a Player joins
|
public void OnPlayerJoin(GameObject player) //When a Player joins
|
||||||
|
|||||||
Reference in New Issue
Block a user