public void PlaceUnit(GameUnit unit) { if (unit == null) { Debug.LogError("GameUnit pushed to node stack is null"); } else { unitStack.Peek().Disable(); unitStack.Push(unit); unit.Enable(); OnNodeStackChange(this); } }