mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
Add ResolveVariables()
Settings will be set to fixed values based on the values of the variables used.
This commit is contained in:
@@ -93,3 +93,9 @@ template<typename T> NumberVariable<T>::operator T() const
|
||||
{
|
||||
return GetValue();
|
||||
}
|
||||
|
||||
template<typename T> void NumberVariable<T>::ResolveVariables()
|
||||
{
|
||||
_value = GetValue();
|
||||
_type = Type::FIXED_VALUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user