Пример #1
0
 void OnEnable()
 {
     myTarget = (LightShapeProbe) target;
     m_Object = new SerializedObject(target);
 }
Пример #2
0
 void OnEnable()
 {
     LightShapeProbe = gameObject.GetComponent<LightShapeProbe>();
 }