has<T> abstract method

Asset<T> has<T>(
  1. AssetKey<T> key
)

Declares key and returns its handle.

Idempotent per identity: calling it twice with equal keys - from two prefabs sharing one texture, or a second scene needing the same UI atlas

  • returns the identical handle, so a shared asset is one decode and one address, never two.

Implementation

Asset<T> has<T>(AssetKey<T> key);