pub fn ref_count() -> Component<u32>
Expand description

Reference count: Ref-counted enity. If this entity doesn’t have a parent component, and the ref count reaches 0, it will be removed together with all its children recursively.

Attributes: MaybeResource, Debuggable, Networked