Last updated: Oct 19, 2022

Introduction

The Object Linker ScriptableObject contains an array of ObjectLink values which we can very easily reference from other scripts. This is useful to access objects that may be relevant to other ones in a more direct manner.

You can find the Object Linker script ****at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Linkers\Object Linker\ObjectLinker.cs

Fields Serialized

objectLinks. Array of all links.

Functions

Get. Returns the object that the given link type refers to.

Get<T>. Returns a reference to the first component of type T found attached to the GameObject that the given link type refers to.