private void UpdateFace(Information information) { var image = gameObject.GetComponent <Image>(); image.sprite = FaceSprites.ChooseFace(card, perception); Rotate(); }
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); }