if I understood correctly I make a [SerializeField] public, if I want my variable to be editable in the inspector but remain private to other scripts.
Sorry if I’m wrong and misunderstand this feature.
What I would like to know is how to make a variable public (to be able to access it with another script) but private in the inspector (not to be able to access it from the inspector)
[HideInInspector] ```
is just perfect thank you, I know it but I had forgotten it, not easy to program, we spend our time relearning the same things, thank you very much ^^