Add the class below in a script file and compile scripts
//------------------------------------------------------------------------------------------------
class MyClass : Managed
{
float m_fMyValue;
}
Go to play mode and run the script below in the remote console
MyClass instance = new MyClass()
Print(instance.m_fMyValue)
typename type = instance.Type()
float value
type.GetVariableValue(instance, 0, value)
Print(value)