private void OnEnable() { properties = new Properties(serializedObject); if (rotationGUI == null) { rotationGUI = new TransformRotationGUI(); } rotationGUI.Initialize(properties.Rotation, Content.Rotation); }