Unity, Animations, Visual Graphs - #1
Draft
Smer4k wants to merge 15 commits into
Draft
Conversation
Introduces conditional compilation to support both legacy int instance IDs and Unity 6.5+ ulong EntityIds across schematic serialization, action target rebinding, culling zones, and decompilation. It also wraps GraphToolkit visual scripting editor classes in UNITY_6000_5_OR_NEWER && UNITY_EDITOR to avoid runtime/build issues on unsupported targets. Includes small cleanup/fixes like removing duplicate RequiredUniqName overrides and handling legacy LightType.Area values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unity Upgrade, Manual Animation Serialization, Visual Scripting for Schematics
Changes
1. Unity Version Upgrade
The project has been migrated to a newer version of Unity.
2. Manual Serialization of Animations and Animator
Due to the version mismatch between the game's Unity build and the editor, custom (manual) serialization has been implemented for animations and the Animator, replacing the default serialization. As a side benefit, this also enables animating object parameters that previously couldn't be animated — for example, block color and other properties.
3. Visual Scripting for Schematics
Added a basic implementation of node-based visual scripting for working with schematics.
4. ObjectId and ParentId Type Change
ObjectIdandParentIdhave been changed tolong, due to limitations introduced by the new Unity version.Checklist
🇷🇺 Русская версия / Russian version (click to expand)
Обновление Unity, ручная сериализация анимаций, визуальное программирование для схематик
Изменения
1. Обновление версии Unity
Проект переведён на более новую версию Unity.
2. Ручная сериализация анимаций и Animator
Из-за расхождения версий Unity в игре и в редакторе реализована ручная (кастомная) сериализация анимаций и аниматора вместо стандартной. Дополнительный плюс — теперь можно анимировать параметры объектов, которые раньше были недоступны для анимации, например цвет блоков и другие свойства.
3. Визуальное программирование для схематик
Добавлена базовая реализация node-based визуального программирования для работы со схематиками.
4. Изменение типов ObjectId и ParentId
ObjectIdиParentIdпереведены наlong— это связано с ограничениями новой версии Unity.Чек-лист