Created
March 28, 2014 00:13
-
-
Save mikelovesrobots/9822135 to your computer and use it in GitHub Desktop.
Dungeon Highway Character Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
[System.Serializable] | |
public class Character { | |
public CharacterType CharacterType; | |
public Sprite DefaultSprite; | |
public string PortraitSpriteName; | |
public string WalkAnimationName { | |
get { return CharacterType.ToString() + "Walk"; } | |
} | |
public string DieAnimationName { | |
get { return CharacterType.ToString() + "Die"; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment