private void OnClientPlaceTrap(int connectionId, string trapType, int trapId, string[] data) { Debug.Log("Player: " + connectionId + " is placing [" + trapType + "]"); float x = float.Parse(data[0]); float z = float.Parse(data[1]); Debug.Log("Ratio: " + x / 96f + " : " + z / 96f); traps.placeTrap(connectionId, trapId, x, z, trapType); }