KAI_MixinActor - inkoalawetrust/KAI GitHub Wiki
KAI_MixinActor
This class is a normal actor, however, it also has the [KAI_CheckFunctions]] and [[KAI_UniversalFunctions]] [mixins included.
This class exists because mixins can't be included in a class that is in a different mod. Which means that if, for example, you want to use KAI_CheckFunctions in a non KAI_Actor class of yours. Then this:
Class MyCustomActor : Actor
{
Mixin KAI_CheckFunctions;
//Other code goes here.
}
Will create a startup error.
So to use the KAI library's' mixins. You must instead inherit from KAI_MixinActor:
Class MyCustomActor : KAI_MixinActor
{
//Other code goes here.
}