Make editor play mode transactional
This commit is contained in:
@@ -396,6 +396,12 @@ bool EditorSceneRuntime::SaveScene(const std::filesystem::path& scenePath) {
|
||||
return m_backend != nullptr ? m_backend->GetActiveScene() : nullptr;
|
||||
}
|
||||
|
||||
std::unique_ptr<EditorScenePlaySession> EditorSceneRuntime::BeginPlaySession() {
|
||||
return m_backend != nullptr
|
||||
? m_backend->BeginPlaySession()
|
||||
: nullptr;
|
||||
}
|
||||
|
||||
bool EditorSceneRuntime::RenameGameObject(
|
||||
std::string_view itemId,
|
||||
std::string_view newName) {
|
||||
|
||||
Reference in New Issue
Block a user