Skip to main content
added 2034 characters in body
Source Link
Daniel Lip
  • 1.8k
  • 4
  • 40
  • 81

After edited the file in notepad I found the area of the text:

GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 1705786629}
  - component: {fileID: 1705786630}
  m_Layer: 0
  m_Name: DialogueTrigger
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!4 &1705786629
Transform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1705786628}
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: 0, y: 0, z: 0}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_Children: []
  m_Father: {fileID: 104156395}
  m_RootOrder: 2
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1705786630
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1705786628}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 8a658bdd09c49324ba103199b05e0b88, type: 3}
  m_Name: 
  m_EditorClassIdentifier: 
  conversations: []
  dialogue:
  - name: NAVI
    sentences:
    - Hey Hey, Someone is coming...
    - Quick let's hide.
  - name: PLAYER
    sentences:
    - I'm the player so....
    - And I can't play now
  - name: NEW MAN
    sentences:
    - Hello my friend
    - I need help
    - I lost my basket full of apples
    - Please help me find it
    - Your award will help you in your quest
  dialogueNum: 0

But it's a small part of the file not sure if it's telling anything more.

After edited the file in notepad I found the area of the text:

GameObject:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  serializedVersion: 6
  m_Component:
  - component: {fileID: 1705786629}
  - component: {fileID: 1705786630}
  m_Layer: 0
  m_Name: DialogueTrigger
  m_TagString: Untagged
  m_Icon: {fileID: 0}
  m_NavMeshLayer: 0
  m_StaticEditorFlags: 0
  m_IsActive: 1
--- !u!4 &1705786629
Transform:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1705786628}
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: 0, y: 0, z: 0}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_Children: []
  m_Father: {fileID: 104156395}
  m_RootOrder: 2
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1705786630
MonoBehaviour:
  m_ObjectHideFlags: 0
  m_CorrespondingSourceObject: {fileID: 0}
  m_PrefabInstance: {fileID: 0}
  m_PrefabAsset: {fileID: 0}
  m_GameObject: {fileID: 1705786628}
  m_Enabled: 1
  m_EditorHideFlags: 0
  m_Script: {fileID: 11500000, guid: 8a658bdd09c49324ba103199b05e0b88, type: 3}
  m_Name: 
  m_EditorClassIdentifier: 
  conversations: []
  dialogue:
  - name: NAVI
    sentences:
    - Hey Hey, Someone is coming...
    - Quick let's hide.
  - name: PLAYER
    sentences:
    - I'm the player so....
    - And I can't play now
  - name: NEW MAN
    sentences:
    - Hello my friend
    - I need help
    - I lost my basket full of apples
    - Please help me find it
    - Your award will help you in your quest
  dialogueNum: 0

But it's a small part of the file not sure if it's telling anything more.

added 506 characters in body
Source Link
Daniel Lip
  • 1.8k
  • 4
  • 40
  • 81

Ok after a long search I found that the text of the dialogues names and sentences is stored for some reason inside the project scene file:

Results

With my program that search inside files I could find it in the scene .unity file of my project.

Still I can't figure out what object or what script store it or call it or what and why make it show when running the game.

But at least I found where it stored. What next ? I have no clue.

Ok after a long search I found that the text of the dialogues names and sentences is stored for some reason inside the project scene file:

Results

With my program that search inside files I could find it in the scene .unity file of my project.

Still I can't figure out what object or what script store it or call it or what and why make it show when running the game.

But at least I found where it stored. What next ? I have no clue.

added 544 characters in body
Source Link
Daniel Lip
  • 1.8k
  • 4
  • 40
  • 81

Here is a screenshot showing when using a break point on it before the game is running: There are 3 dialogues names and sentences:

Dialogues

And this is a screenshot of the editor: Everything is empty the conversations size is set to 0. But still when running the game it's taking/getting the old dialogues from the serializedObject.

I'm not sure yet where this old 3 dialogues are kept. In the editor memory ?

empty

Here is a screenshot showing when using a break point on it before the game is running: There are 3 dialogues names and sentences:

Dialogues

And this is a screenshot of the editor: Everything is empty the conversations size is set to 0. But still when running the game it's taking/getting the old dialogues from the serializedObject.

I'm not sure yet where this old 3 dialogues are kept. In the editor memory ?

empty

Source Link
Daniel Lip
  • 1.8k
  • 4
  • 40
  • 81
Loading