BitQuirky.Core.Variable
Public bit quirky core: addressables (optional) symbols in BitQuirky.Core.Variable.
Source snapshot ad0983d00d77.
On this page
Assembly: BitQuirky.Core.Addressables
ComponentReferenceSetter<TVariable, TComponent>
Section titled “ComponentReferenceSetter<TVariable, TComponent>”Category: Low-level runtime
class BitQuirky.Core.Variable.ComponentReferenceSetter<TVariable, TComponent> where TVariable : BitQuirky.Core.Variable.Variable<TComponent> where TComponent : UnityEngine.ComponentSource declaration: ../bitquirky-core/Runtime/Addressables/Variable/ComponentReferenceSetter.cs:43-85
Inherits: LoggingBehavior
Loads a Variable asset via Addressables and assigns the host component as its value.
Responsibilities:
- Resolve an Addressables AssetReference to a Variable
. - Force-set the loaded variable to this GameObject’s component.
Does NOT:
- Compile when com.unity.addressables is not installed.
- Release the Addressables handle after load (legacy behavior preserved).
Members
Section titled “Members”Component
Section titled “Component”public TComponent Component { get; }Source declaration: ../bitquirky-core/Runtime/Addressables/Variable/ComponentReferenceSetter.cs:55
Component found on this game object and published to the loaded variable; null until Awake has run.
Awake()
Section titled “Awake()”protected override void Awake()Source declaration: ../bitquirky-core/Runtime/Addressables/Variable/ComponentReferenceSetter.cs:64-73
Finds the component on this game object, ready for the variable asset to be loaded and assigned in Start; asserts when either the asset reference or the component is missing.
Source fingerprint: sha256:ad0983d00d773d882bc61865e18d8c5559e009d181e5891575cd7f262515b23e