Hi Nina,
your explanation get me on the right track, thank you
At the end the explanation that enlighted me were yours and these two quotes which I will leave here if anybody else is thinking about it as well.
“A static method, field, property, or event is callable on a class even when no instance of the class has been created.” …and this example…:
“For example, your enemy class would have a static enemyCount; This variable will be the same for all enemies as there will be only one instance of it. Shall you destroy an enemy object or all of them, the variable is still there, if you create a new object then he will access that same variable.”
(Quote-source: What exactly is static? - Unity Answers)
So, I think I finally get it and thank you for the reply.
(Sry that my reply took so long, didn’t had the time the last days)
As a final prove of my understanding:
- If I would execute AudioSource.PlayClipAtPoint() with a 3 second clip and during this time this command gets triggered somewhere else it would either crash or the first clip would end and the new clip starts.
Thanks and, if my prove does satisfy you that you teached me something - this can be closed