Exemplo n.º 1
0
 void OnEnable()
 {
     player      = (PlayerCustomInspector)target;
     name        = serializedObject.FindProperty("name");
     description = serializedObject.FindProperty("description");
     healht      = serializedObject.FindProperty("healht");
 }
Exemplo n.º 2
0
 void OnEnable()
 {
     player = (PlayerCustomInspector)target;
 }