Hello everyone.
I’m useing an Inspector for store some data of prefabs.
For example - max health of mob.
Prefab is a prototyp. So, I want to be sure, that every mob will have correct max health, which i’ve setup in inspector.
But, I want to protect myself from random changing of this value at runtime.
Sure, I should not write any code like prefab.maxHealth=100;
But, is any way to protect myself? I want to setup a value by inspector and then disallow it’s changing at runtime.
PS. sry for my english ;;