Skip to content

Commit aee24d0

Browse files
Trivial - Fix mistake in analyze-examples.md
Fix the section talking about MonoScripts. The original text said "..UnityDataTool does implement.. " in a place that was supposed to say "does not implement".
1 parent 6bae5f2 commit aee24d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/analyze-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ID: -5763254701832525334 (ClassID: 115) MonoScript
115115
m_AssemblyName (string) Unity.Scenes
116116
```
117117

118-
Currently UnityDataTool does implement custom handling for MonoScript objects, so we only have the m_Name field, which matches the m_ClassName field._ However so long as the class name is unique in your project this can be used to match against.
118+
Currently UnityDataTool does not implement custom handling for MonoScript objects, so the ClassName, Namespace and AssemblyName fields are not in the database. However the main object table records the m_Name field of object, and for a MonoScript that should match the m_Classname. For the common case, where the class name is itself unique in a project, it is possible to use the name field as the way to identify instances of the script.
119119

120120
For example to list all distinct class names in the build you can run this query
121121

0 commit comments

Comments
 (0)