public void InstantiatePlayerHandler(int index, bool isLocalClient) { PlayerHandle playerHandle = Instantiate(prefabPlayer); playerHandle.SetPlayerHandle(index, isLocalClient); playersList.Add(index, playerHandle); }