-
Notifications
You must be signed in to change notification settings - Fork 0
KAI_MixinActor
inkoalawetrust edited this page Apr 30, 2023
·
1 revision
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.
}
- Home
- Features
- Classes
- Functions
- Guides