Object A inspector referenced public variable has the value even if Object B is disabled

public transform variable assigned through inspector on object A that reference Object B transform is showing the reference even if I disable the object B before running the game ?

Is the reference somehow obtained even after disabling “B” ?

Thank you for your time.

Disabling a game object hides it from view (it doesn‘t render or update). Active state does not affect references.

1 Like