public void LoadSceneNode(SceneNodeSaveData sceneNodeSaveData) { //Debug.Log("QuestLog.LoadQuest(" + questSaveData.MyName + ")"); SceneNode sceneNode = GetResource(sceneNodeSaveData.MyName); if (sceneNode == null) { //Debug.LogError("SystemSceneNodeManager.LoadSceneNode(): Scene " + sceneNodeSaveData.MyName + " could not be found."); return; } sceneNode.MyCutsceneViewed = sceneNodeSaveData.isCutSceneViewed; }
public void LoadSceneNode(SceneNodeSaveData sceneNodeSaveData) { //Debug.Log("QuestLog.LoadQuest(" + questSaveData.MyName + ")"); SceneNode sceneNode = GetResource(sceneNodeSaveData.MyName); if (sceneNode == null) { //Debug.LogError("SystemSceneNodeManager.LoadSceneNode(): Scene " + sceneNodeSaveData.MyName + " could not be found."); return; } if (sceneNodeSaveData.persistentObjects != null) { foreach (PersistentObjectSaveData persistentObjectSaveData in sceneNodeSaveData.persistentObjects) { sceneNode.MyPersistentObjects.Add(persistentObjectSaveData.UUID, persistentObjectSaveData); } } }