I often see [SomeRelevantText] at the top of the code before the class.
Example:
[ExecuteInEditMode]
public class LookAtPoint : MonoBehaviour {}
What are these called?
I often see [SomeRelevantText] at the top of the code before the class.
Example:
[ExecuteInEditMode]
public class LookAtPoint : MonoBehaviour {}
What are these called?
They’re called “attributes”, and provide extra metadata about classes or methods.