1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00

2 Commits

Author SHA1 Message Date
Jeff Campbell
43ea56fb29
PR Fix
* Removed "Unity" as an assembly prefix to check for as users have reported issues with this previously in the past
2020-02-27 11:19:49 +01:00
Jeff Campbell
86ef6510ef String format fix and simplified assembly skip
Fixed missing format arguments for exception

* Added missing string format arguments used for exception
* Moved duplicate exception message to XNodeRuntimeConstants class
* Modified NodeDataCache deserialization exception thrown to be the same format as Node

Simplified logic for discovering node types

* Simplified the reflection logic used to discover node types by creating a constant array of assembly prefixes to ignore and then checking to see if discovered assembly names begin with those prefixes, and if they do skip checking them for derived node types. Added additional common assembly prefixes that Unity loads into memory that would not contain Node types.
2020-02-26 09:56:48 +01:00