调整对话,将 Combine 接入对话
This commit is contained in:
@@ -70,7 +70,7 @@ namespace UI
|
||||
{
|
||||
if (!CanBuildContext(context))
|
||||
{
|
||||
Log.Warning("CombineMvcForm open failed. StructurePrefab/PartSprites is invalid.");
|
||||
Log.Warning("CombineMvcForm open failed. StructurePrefab is invalid.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -98,8 +98,7 @@ namespace UI
|
||||
}
|
||||
|
||||
bool hasStructurePrefab = context.StructurePrefab != null;
|
||||
bool hasPartSprites = context.PartSprites != null && context.PartSprites.Count > 0;
|
||||
return hasStructurePrefab && hasPartSprites;
|
||||
return hasStructurePrefab;
|
||||
}
|
||||
|
||||
protected override void OnClose(bool isShutdown, object userData)
|
||||
|
||||
Reference in New Issue
Block a user