I create a CustomAnimator which inherit Animator like this:
public class CustomAnimator : Animator
{
// Some custom data
}
There is no compile error, but I cannot find the CustomAnimator in AddComponent Menus, why?
I create a CustomAnimator which inherit Animator like this:
public class CustomAnimator : Animator
{
// Some custom data
}
There is no compile error, but I cannot find the CustomAnimator in AddComponent Menus, why?
Up
Animator does not inherit from MonoBehaviour, directly form Behaviour, and despite that he can be added as a component. Why does an inherited class of animator not have this component status ?