Can i save the abastract class with ES2_Type?
Posted: Tue Aug 07, 2018 10:33 am
Hi there, as the title, can I save the class like them to ES2 and store to file *.txt, I using the manager types but I can not found the class HitObject, I'm newer, s.o can help! <3
public abstract class HitObject { public Vector3 Position; public int StartTime; public int EndTime; public int HitSound; //public List<int> Addition { get; set; } = new List<int>(); public int MaxCombo = 1; public HitObject(Vector3 position, int startTime, int endTime, int hitSound) { Position = position; StartTime = startTime; EndTime = endTime; HitSound = hitSound; } }
public abstract class StandardHitObject : HitObject { public bool IsNewCombo; public StandardHitObject(Vector3 position, int startTime, int endTime, int hitSound, bool isNewCombo) : base(position, startTime, endTime, hitSound) { IsNewCombo = isNewCombo; } }
public class StandardSpinner : StandardHitObject { public StandardSpinner(Vector2 position, int startTime, int endTime, int hitSound, bool isNewCombo) : base(position, startTime, endTime, hitSound, isNewCombo) { } }
public class StandardSlider : StandardHitObject { public CurveType CurveType; public List<Vector3> SliderPoints = new List<Vector3>(); public int Repeats; public float PixelLength; //public int EdgeHitSound { get; set; } //public List<int> EdgeAddition { get; set; } public StandardSlider(Vector3 position, int startTime, int endTime, int hitSound, bool isNewCombo, CurveType type, List<Vector3> points, int repeats, float pixelLength) : base(position, startTime, endTime, hitSound, isNewCombo) { CurveType = type; SliderPoints = points; Repeats = repeats; PixelLength = pixelLength; } }