class MAGES::CharacterController::Editor::AnimationsContainer

Overview

The class rensposibe for creating Animations Container. More…

class AnimationsContainer
{
public:
    // methods

    AnimationsContainer(
        MAGES.CharacterController.AnimatorController sourceRef,
        UnityEditor.Animations.AnimatorController characterAnimatorController,
        MAGESCharacterController characterController,
        int layerType
    );

    VisualElement CreateGUI();
};

Detailed Documentation

The class rensposibe for creating Animations Container.

Methods

AnimationsContainer(
    MAGES.CharacterController.AnimatorController sourceRef,
    UnityEditor.Animations.AnimatorController characterAnimatorController,
    MAGESCharacterController characterController,
    int layerType
)

Initializes a new instance of the AnimationsContainer class. Takes in the source reference and a bool to show which source to use.

Parameters:

sourceRef

The source reference

characterAnimatorController

The character animator controller.

characterController

The character controller instance.

layerType

The layer type.

VisualElement CreateGUI()

Creates GUI for the Animations.

Returns:

The layer List view.