Version: 2022.2
言語: 日本語
public bool IsChildOf (Material ancestor);

パラメーター

ancestor The specific ancestor to find in the hierarchy.

戻り値

bool True if the given material is an ancestor of this Material.

説明

Returns True if the given material is an ancestor of this Material.

This method is Editor-only.

See Also: Material.parent.