Hello.
In some cases need to register handle, but disable possibility to null it (e.g. like reference or value type).
Possible to add registering properties with this behaviour? Like this:
ScriptString* str = ScriptString::GetFromPool(); // Class can't be allocated on stack
Engine->RegisterGlobalProperty( "string& str", &str ); // Here i want register like handle, but protect from nulling it
Same for RegisterObjectProperty where need type class offset, not pointer.