Description
The ShouldShowSequenceEditor
property of the SkinnedModelRenderer
class is a boolean value that determines whether the sequence editor should be displayed. This property is typically used in the context of the editor to control the visibility of sequence-related UI elements.
Usage
Use the ShouldShowSequenceEditor
property to check if the sequence editor should be visible. This can be useful when implementing custom editor tools or UI elements that interact with the SkinnedModelRenderer
component.
Example
// Example of checking the ShouldShowSequenceEditor property
SkinnedModelRenderer renderer = new SkinnedModelRenderer();
if (renderer.ShouldShowSequenceEditor)
{
// Code to display sequence editor UI
ShowSequenceEditorUI();
}
else
{
// Code to hide sequence editor UI
HideSequenceEditorUI();
}