private void OnEnable()
        {
            properties = new Properties(serializedObject);

            if (rotationGUI == null)
            {
                rotationGUI = new TransformRotationGUI();
            }
            rotationGUI.Initialize(properties.Rotation, Content.Rotation);
        }
        protected void OnEnable()
        {
            spLocalPosition = serializedObject.FindProperty("m_LocalPosition");
            spLocalRotation = serializedObject.FindProperty("m_LocalRotation");
            spLocalScale    = serializedObject.FindProperty("m_LocalScale");
            scale           = spLocalScale.FindPropertyRelative("x").floatValue;
            if (s_Contents == null)
            {
                s_Contents = new Contents();
            }

            if (rotationGUI == null)
            {
                rotationGUI = new TransformRotationGUI();
            }

            rotationGUI.OnEnable(spLocalRotation, s_Contents.rotationContent);
        }
        //==============================================================================
        // 関数
        //==============================================================================
        /// <summary>
        /// 有効になった時に呼び出されます
        /// </summary>
        private void OnEnable()
        {
            m_positionProperty = serializedObject.FindProperty("m_LocalPosition");
            m_rotationProperty = serializedObject.FindProperty("m_LocalRotation");
            m_scaleProperty    = serializedObject.FindProperty("m_LocalScale");

            if (m_transformRotationGUI == null)
            {
                m_transformRotationGUI = new TransformRotationGUI();
            }

            m_transformRotationGUI.OnEnable(m_rotationProperty);

            if (m_setLocalEulerAnglesMethod == null)
            {
                var transformType = typeof(Transform);
                m_setLocalEulerAnglesMethod = transformType.GetMethod
                                              (
                    name: "SetLocalEulerAngles",
                    bindingAttr: SET_LOCAL_EULER_ANGLES_ATTR
                                              );
            }
        }