private void DeselectDeckCard(APFCardUI deselectCard) { List <APFCharacter> aliveCharList = APFGameMode.GetInstance().GetAliveCharList(); PFCharacterStuff.Active_CharSelectIconUI(aliveCharList, false); if (deselectCard != null) { float fDefaultScale = 1.0f; deselectCard.gameObject.transform.localScale = new Vector3(fDefaultScale, fDefaultScale, fDefaultScale); } SelectedCard_OnDeck = null; }
private void SelectDeckCard(APFCardUI selectCard) { DeselectDeckCard(SelectedCard_OnDeck); if (selectCard != null) { SelectedCard_OnDeck = selectCard; SelectedCard_OnDeck.gameObject.transform.localScale = new Vector3(PFConst.Scale_ClickedCardOnDeck, PFConst.Scale_ClickedCardOnDeck, 1.0f); PFTable.ECardApplyTarget applyTarget = PFCardTable.GetApplyTarget(SelectedCard_OnDeck.CardTableId); if (applyTarget == PFTable.ECardApplyTarget.EnemyAll) { List <APFCharacter> aliveMonsterList = APFGameMode.GetInstance().GetAliveCharList(PFTable.CharacterType.Monster); PFCharacterStuff.Active_CharSelectIconUI(aliveMonsterList, true); } } }