예제 #1
0
        public override void UpdateAppearance()
        {
            faceTexture = cg.GetCardFaceTexture((Card)mc.ModelData);
            backTexture = cg.GetCardBackTexture((Card)mc.ModelData);

            rend.materials[1].mainTexture = faceTexture;
            // TODO Assign cardback
        }
예제 #2
0
        public override void UpdateAppearance()
        {
            faceTexture = cg.GetCardFaceTexture(db.ModelData.VisibleFaceCard);
            backTexture = cg.GetCardBackTexture(db.ModelData.VisibleBackCard);

            rend.materials[1].mainTexture = faceTexture;
            // TODO Assign cardback

            AdjustSize();
        }