Table of Contents

Adopt

Methods
public bool Adopt()

Requests authority over an orphaned entity.

Returns
Type Description
bool

true if the adoption request succeeds; false otherwise.

Remarks

This method is similar to RequestAuthority(AuthorityType), but is used for entities that are orphaned. Adoption requests require IsOrphaned to be true. Even if the adoption requests succeeds, the authority request itself can fail.

Examples