예제 #1
0
        private void OnEnable()
        {
            trans = this;

            mPos   = serializedObject.FindProperty("m_LocalPosition");
            mRot   = serializedObject.FindProperty("m_LocalRotation");
            mScale = serializedObject.FindProperty("m_LocalScale");
        }
예제 #2
0
 private void OnDestroy()
 {
     trans = null;
 }