Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ OnReset()

virtual void Sisus.Init.Wrapper< TWrapped >.OnReset ( ref TWrapped wrapped)
protectedvirtual

Resets the wrapped object to its default value.

OnReset is called when the user hits the Reset button in the Inspector's context menu or when adding the component to a GameObject the first time.

This function is only called in the editor in edit mode.

Parameters
wrappedThe wrapped object to reset.