Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     //Checking for the sound things
     if (inspectorTest == null)
     {
         inspectorTest = GetComponentInChildren <InspectorTest>();
     }
 }
Exemplo n.º 2
0
 public void OnEnable()
 {
     //Setting up the serialized properties
     inspectorTest = (InspectorTest)target;
 }