Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.WrapperGameObjectExtensions Class Reference

Description

Extensions methods for GameObject that can be used to wrap plain old class objects with Wrapper<> components and attach them to GameObjects.

Static Public Member Functions

static Wrapper Add< TWrapped > ([DisallowNull] this GameObject gameObject, TWrapped wrapped)
 Wraps the plain old class object of type TWrapped in a wrapper component and adds it to the gameObject .