コード例 #1
0
        protected override void FillTab()
        {
            UpdateSize();
            Vector2 vector = CharacterCardUtility.PawnCardSize(PawnToShowInfoAbout);

            CharacterCardUtility.DrawCharacterCard(new Rect(17f, 17f, vector.x, vector.y), PawnToShowInfoAbout);
        }
コード例 #2
0
 protected override void UpdateSize()
 {
     base.UpdateSize();
     size = CharacterCardUtility.PawnCardSize(PawnToShowInfoAbout) + new Vector2(17f, 17f) * 2f;
 }