using System.Collections.Generic; using UnityEngine; public enum PlankType {Plank = 10, Plank1 = 20, Plank2 = 30, Plank3 = 40}; public abstract class Plank : MonoBehav