# SetHierarchyIfConstantNull

## SetHierarchyIfConstantNull(FlexibleHierarchyType)

public bool SetHierarchyIfConstantNull(FlexibleHierarchyType hierarchyType) ;

### Description

Change to FlexibleSceneObjectType.Hierarchy if FlexibleSceneObjectType.Constant and the referencing object is null.

### Parameters

Parameter Name | Description
--- | ---
hierarchyType | FlexibleHierarchyType to set

### Returns

Return true if changed.