@@ -203,7 +203,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
//Presenter.BuildLayoutOnUpdate();
|
//Presenter.BuildLayoutOnUpdate();
|
||||||
|
|
||||||
// Better way is to just update the reference value using the new default instance of the prefab, created after changes apply
|
// Better way is to just update the reference value using the new default instance of the prefab, created after changes apply
|
||||||
if (Values != null && prefab && !prefab.WaitForLoaded())
|
if (Values != null && (Actor)Values[0] && prefab && !prefab.WaitForLoaded())
|
||||||
{
|
{
|
||||||
var actor = (Actor)Values[0];
|
var actor = (Actor)Values[0];
|
||||||
var prefabObjectId = actor.PrefabObjectID;
|
var prefabObjectId = actor.PrefabObjectID;
|
||||||
|
|||||||
Reference in New Issue
Block a user