private void SetHandCards(IList <int> handcards) { m_handCards.Clear(); foreach (var cardId in handcards) { var cardData = GF.GetProxy <SosProxy>().room.GetCard(cardId); AddCard(cardData); } }
public void SetSprite(string spriteName, bool isSetNativeSize = true) { if (Application.isPlaying) { sprite = GF.GetProxy <SpriteProxy>().GetSprite(spriteName); if (isSetNativeSize) { SetNativeSize(); } } }