public static void UpdateStageIndices() { int stageCount = _stages.Count; for(int s = 0; s<stageCount; s++) { _stages[s].index = s; } _isDepthChangeNeeded = true; }