剧情+对话完善
This commit is contained in:
@@ -105,8 +105,13 @@ namespace Ichni.Story
|
||||
string.IsNullOrWhiteSpace(tutorialBlock.tutorialProgressVariable) ||
|
||||
tutorialBlock.tutorialDifficultySaveId < 0)
|
||||
{
|
||||
Debug.LogWarning($"[TutorialFlowController] TutorialBlock '{tutorialBlock?.blockId}' 的 Tutorial Key、Progress Variable 或 Difficulty Save ID 未配置完整。\n" +
|
||||
$"Tutorial Key:{tutorialBlock.tutorialKey}, Progress Variable:{tutorialBlock.tutorialProgressVariable}, Difficulty Save ID:{tutorialBlock.tutorialDifficultySaveId}");
|
||||
// tutorialBlock 本身也可能为空;错误日志不能因为读取空对象字段而掩盖真正的配置问题。
|
||||
Debug.LogWarning(
|
||||
$"[TutorialFlowController] TutorialBlock '{tutorialBlock?.blockId}' 的 Tutorial Key、" +
|
||||
$"Progress Variable 或 Difficulty Save ID 未配置完整。" +
|
||||
$" Tutorial Key:{tutorialBlock?.tutorialKey}," +
|
||||
$" Progress Variable:{tutorialBlock?.tutorialProgressVariable}," +
|
||||
$" Difficulty Save ID:{tutorialBlock?.tutorialDifficultySaveId}");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user