常用方法
常用方法
常用方法
常用方法
public bool IsSupported(Vector2Int position) { foreach (GridElement e in Instance.ElementsAtPosition(position)) { if (e.isSupport) { return(true); } } return(false); }
public bool IsSupported(Vector2Int position) { foreach (GridElement e in Instance.ElementsAtPosition(position)) { if (e.isSupport) { return(true); } } return(false); }