Is there a way to see this variable in the inspector? e.g:
public string pigName {
get {
this.gameObject.name;
}
}
I want to see the variable in the inspector for debug purposes and I don't want to change the inspector to debug mode all the time. Someone can help me ?
↧