private void CreateBattleRoundEnd() { GameObject pvPPrefab = ResourcesPath.GetPvPPrefab("PvPBattle_RoundEnd"); GameObject gameObject = base.Instantiate <GameObject>(pvPPrefab); Transform transform = gameObject.transform; transform.SetParent(this.ui.skillSelectUi.transform); transform.localPosition = new Vector3(0f, 310f, 0f); transform.localScale = Vector3.one; this.battleRoundEnd = gameObject.GetComponent <BattleRoundEndPvP>(); }