Hey,
I wanna write down custom inspector which will change a name of my array which holds statistics.
[System.Serializable]
public class Statistics
{
float[] baseValues = new float[6];
float[] modValues = new float[6];
}
This is the class which is included in Person class, and I wanted to know how to get inside of the class from custom editor of Person class.
_personStats = serializedObject.FindProperty("personStats");
This line gives me the class, but how can I change the array elements names of the arrays inside of it?
I will appreciate any help,
Thanks!