Description
The ShouldShowSequenceEditor
property of the SkinnedModelRenderer
class is a boolean value that determines whether the sequence editor should be displayed for the skinned model. This property is typically used in the context of UI or editor tools to conditionally show or hide the sequence editor based on the current state or configuration of the skinned model renderer.
Usage
To use the ShouldShowSequenceEditor
property, you can access it directly from an instance of the SkinnedModelRenderer
class. This property is read-only and is used to check if the sequence editor should be visible.
Example
// Example of accessing the ShouldShowSequenceEditor property
SkinnedModelRenderer renderer = new SkinnedModelRenderer();
// Check if the sequence editor should be shown
bool showEditor = renderer.ShouldShowSequenceEditor;
if (showEditor)
{
// Logic to display the sequence editor
}