Beispiel #1
0
        void OnEnable()
        {
            instance = this;

            pos   = serializedObject.FindProperty("m_LocalPosition");
            rot   = serializedObject.FindProperty("m_LocalRotation");
            scale = serializedObject.FindProperty("m_LocalScale");
        }
Beispiel #2
0
 void OnDestroy()
 {
     instance = null;
 }