Answer the question
In order to leave comments, you need to log in
How to make the sheet not cleared at startup?
Like there is a sheet:
[System.Serializable]
public static class GridActions
{
[SerializeField] public static List<Cell> AllCell = new List<Cell>();
}
GridActions.AllCell.Add(cell);
[ContextMenu("Test")]
public void Check()
{
GridActions.AllCell.ForEach(cell => print(cell.name));
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question