Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BlendTree.RemoveChild

public void RemoveChild(int index);

Parameters

index The index of the blend tree to remove.

Description

Utility function to remove the child of a blend tree.

If the blend tree is a sub asset of the blend tree, it will be deleted. This function pushes an Undo operation.