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

◆ TryGetFor()

bool Sisus.Init.IValueProvider< TValue >.TryGetFor ( [AllowNull] Component client,
[NotNullWhen(true), MaybeNullWhen(false)] out TValue value )

Gets the value of type TValue for the client .

Parameters
clientThe component requesting the value, if request is coming from a component; otherwise, null.
valueWhen this method returns, contains the value of type TValue , if available; otherwise, the default value of TValue . This parameter is passed uninitialized.
Returns
true if a value was provided; otherwise, false.