MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetValue

Method SetValue

Source/Engine/Engine/GameplayGlobals.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void GameplayGlobals::SetValue(const StringView& name, const Variant& value)
87{
88 ScopeLock lock(Locker);
89 auto e = Variables.TryGet(name);
90 if (e)
91 {
92 e->Value = value;
93 }
94}
95
96void GameplayGlobals::ResetValues()
97{

Callers 14

AccessVariantFunction · 0.45
FieldSetValueMethod · 0.45
SetReferenceTypeFieldMethod · 0.45
InitStructureMethod · 0.45
ReadVariantMethod · 0.45
ProcessGroupPackingMethod · 0.45
SetImageParamMethod · 0.45
SetColorParamMethod · 0.45
UpdateLayoutMethod · 0.45
RestoreMethod · 0.45
TickMethod · 0.45

Calls 1

TryGetMethod · 0.45

Tested by

no test coverage detected