Thanks! Nice and simple. Some lines could possibly be made even more readable. `if definition and not node.isLockedHDA():` (unless definition can be a valid empty object), as well as `if not node.matchesCurrentFileDefinition():`, and using the python3 format-string instead of the format method of the string object `unityDir = f'path/to/project/{hdaName}.hdalc'`.
コメント
ThomasSpaceflower 3 年, 9 ヶ月 前 |
Hey, thank you!
That's a good time saver!
OlafHaag 3 年, 8 ヶ月 前 |
Thanks! Nice and simple.
Some lines could possibly be made even more readable.
`if definition and not node.isLockedHDA():` (unless definition can be a valid empty object), as well as `if not node.matchesCurrentFileDefinition():`,
and using the python3 format-string instead of the format method of the string object
`unityDir = f'path/to/project/{hdaName}.hdalc'`.
Please log in to leave a comment.