public static void RemoveLevelAnim(LevelAnim item) { LevelData.levelAnims.Remove(item); changes.Push("Remove level animation"); InvalidateRenderState(); }
public static void AddLevelAnim(LevelAnim item) { LevelData.levelAnims.Add(item); changes.Push("Add level animation"); InvalidateRenderState(); }
public static int GetIndexOfItem(LevelAnim item) { if (levelAnims.Contains(item)) { return(levelAnims.IndexOf(item)); } else { return(-1); } }