public void leavePlayerEvent(LeavePlayerInfo leavePlayerInfo) { if (leavePlayer != null) { leavePlayer(leavePlayerInfo); } }
public void leavePlayer(LeavePlayerInfo leavePlayerInfo) { int inputIndex = leavePlayerInfo.inputIndex; inputEntities[inputIndex].leavePlayer(inputIndex); currentPlayerCount -= 1; }
public void leavePlayer(LeavePlayerInfo leaverPlayerInfo) { }
public void leavePlayer(LeavePlayerInfo leavePlayerInfo) { targets.Remove(leavePlayerInfo.trans); targets.Remove(leavePlayerInfo.trans.Find("cursorAnchor").GetChild(0).GetComponent <Transform>()); }