Good day!
Very often the following question arises: if a method does not relate logically to a given class, and you don’t want to create a class with a single method, then how to be in such situations? The logic in many classes is superfluous, but necessary. For example, a method that mixes the values of an array in a script that generates blocks.
I want the code to be as simple as possible. Can you tell me how best to structure the code in Unity projects?
PS * class - the next MonoBehaviour class. (component, script)