Table of Contents

Enum OwnerResolution

Namespace
ElectricDrill.AstraRpgFramework.Ownership
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

Experimental — this API may still change. Determines how Owner is resolved when not explicitly assigned.

public enum OwnerResolution

Fields

Explicit = 0

Owner is only ever set explicitly (via the inspector or code). The default, matching today's behavior for flat, unowned entities.

NearestAncestor = 1

On Awake, if Owner is unset, resolves it to the nearest EntityCore found by walking up the transform hierarchy starting at the parent. Ergonomic default for nested entities (e.g. a weapon nested under a ship).