using System.Collections.Generic; using UnityEngine; public interface ILevelObject { public enum ObjectType { Tile = 0, Prefab = 1 } string Name { get; } Vector3 Position { get; } void LevelUpdate(); void LevelStart(); void LevelDestroy(); bool Equals(ILevelObject other); Dictionary ToDictionary(); void LoadDictionary(Dictionary dict); void RemoveFromLevel(); }