public override int DrawEffect(int xPos, int yPos, GUISkin skin) { yPos = base.DrawEffect(xPos, yPos, skin); #if UNITY_EDITOR m_damage = EditorGUI.FloatField(new Rect(xPos + 150, yPos += 20, 200, 20), m_damage); EditorGUI.LabelField((new Rect(xPos, yPos, 180, 20)), new GUIContent("Total Damage: "), skin.label); m_dotType = (EDotType)EditorGUI.EnumPopup(new Rect(xPos + 150, yPos += 20, 200, 20), m_dotType); EditorGUI.LabelField((new Rect(xPos, yPos, 180, 20)), new GUIContent("Effect Type: "), skin.label); EditorUtility.SetDirty(this); #endif return(yPos); }
public Note(ENote aNote, int aOctave, ENoteValue aNoteValue, EAccidental aAccidental, EDotType aDotType) : this(aNote, aOctave, aNoteValue, aAccidental) { DotType = aDotType; }
public DotEffect(DotEffect sideEffect) : base(sideEffect) { m_dotType = sideEffect.m_dotType; m_damage = sideEffect.m_damage; }
public Rest(ERestValue aRestValue, EDotType aDotType) : this(aRestValue) { DotType = aDotType; }