public void OnEnable() { this.m_Position = base.serializedObject.FindProperty("m_LocalPosition"); this.m_Scale = base.serializedObject.FindProperty("m_LocalScale"); if (this.m_RotationGUI == null) { this.m_RotationGUI = new TransformRotationGUI(); } this.m_RotationGUI.OnEnable(base.serializedObject.FindProperty("m_LocalRotation"), new GUIContent(LocalizationDatabase.GetLocalizedString("Rotation"))); }