internal void SetEditorOnlyData(EditorOnlyData mask, bool value) { if (value) { editorOnlyData.intValue |= (int)mask; } else { editorOnlyData.intValue &= ~(int)mask; } }
internal void ToggleEditorOnlyData(EditorOnlyData mask) => SetEditorOnlyData(mask, !GetEditorOnlyData(mask));
internal bool GetEditorOnlyData(EditorOnlyData mask) => (editorOnlyData.intValue & (int)mask) == (int)mask;