示例#1
0
            private void UpdateFace(Information information)
            {
                var image = gameObject.GetComponent <Image>();

                image.sprite = FaceSprites.ChooseFace(card, perception);
                Rotate();
            }
示例#2
0
        public GameObject Print(Card card)
        {
            var gameObject = Print(card.Name, FaceSprites.ChooseFace(card, perception));

            gameObject.AddComponent <PrintedCard>().Represent(card, perception, Sideways);
            gameObject.AddComponent <CardInspection>().Represent(zoom, card);
            return(gameObject);
        }