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

            mPos   = serializedObject.FindProperty("m_LocalPosition");
            mRot   = serializedObject.FindProperty("m_LocalRotation");
            mScale = serializedObject.FindProperty("m_LocalScale");
        }
        void OnEnable()
        {
            instance = this;

            mPos = serializedObject.FindProperty("m_LocalPosition");
            mRot = serializedObject.FindProperty("m_LocalRotation");
            mScale = serializedObject.FindProperty("m_LocalScale");
        }
 void OnDestroy()
 {
     instance = null;
 }
Example #4
0
 void OnDestroy()
 {
     instance = null;
 }