Can I require a component of a custom type somehow? Or is it only possible for Unity types?
You can require any type of component. The code is exactly the same. In c#
[RequireComponent(TypeOf(MyMonoBehaviour))]
Can I require a component of a custom type somehow? Or is it only possible for Unity types?
You can require any type of component. The code is exactly the same. In c#
[RequireComponent(TypeOf(MyMonoBehaviour))]