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

◆ OnReset()

virtual void Sisus.Init.ScriptableObjectInitializerBase< TClient, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument >.OnReset ( ref TFirstArgument firstArgument,
ref TSecondArgument secondArgument,
ref TThirdArgument thirdArgument,
ref TFourthArgument fourthArgument,
ref TFifthArgument fifthArgument )
protectedvirtual

Resets the Init arguments to their default values.

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

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

Parameters
firstArgumentThe first argument to reset.
secondArgumentThe second argument to reset.
thirdArgumentThe third argument to reset.
fourthArgumentThe fourth argument to reset.
fifthArgumentThe fifth argument to reset.