Esempio n. 1
0
 void OnEnable()
 {
     Instance = this;
     mPos     = serializedObject.FindProperty("m_LocalPosition");
     mRot     = serializedObject.FindProperty("m_LocalRotation");
     mScale   = serializedObject.FindProperty("m_LocalScale");
 }
Esempio n. 2
0
 void OnDestroy()
 {
     Instance = null;
 }