void Start() { SE = SEobj.GetComponents <AudioSource>(); Screen.SetResolution(1920, 1080, true); player = playerObj.GetComponent <Player>(); CardHandNum = player.PlayerZone.Count; pool = cardPoolObj.GetComponent <CardPool>(); getDoubleUp = doubleUpobj.GetComponent <DoubleUp>(); showSpace = showZone.GetComponent <ShowSpace>(); showSpace.manager = this; StartCoroutine(GameStart()); }
void Start() { SystemSound = SEobj.GetComponents <AudioSource>(); Screen.SetResolution(1920, 1080, true); player = playerObj.GetComponent <Player>(); CardHandNum = player.PlayerZone.Count; pool = cardPoolObj.GetComponent <CardPool>(); enemy = enemyObj.GetComponent <Enemy>(); DefaultScale = SelectFrame.transform.localScale; defupos = new Vector3(-3, 1, 0); showSpace = showZone.GetComponent <ShowSpace>(); showSpace.manager = this; StartCoroutine(GameStart()); }