Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

BlendTree.RemoveChild

Switch to Manual
public function RemoveChild(index: int): void;

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.