示例#1
0
        private void OnEnable()
        {
            self = this;

            m_position = serializedObject.FindProperty("m_LocalPosition");
            m_rotation = serializedObject.FindProperty("m_LocalRotation");
            m_scale    = serializedObject.FindProperty("m_LocalScale");



            EditorApplication.update += Update;
        }
示例#2
0
 private void OnDestroy()
 {
     self = null;
     EditorApplication.update -= Update;
 }