How to change Inspector variable from code, so that when i exit the “play mode” the new values persist, here i wont be changing the values from the inspector, instead i will be setting them from the code. but i want these values to persist after the play mode.
Actually this is not possible when you declare a variable as public it is only be change from inspector … you have to use private modifier if you want to change them during the playmode …