Uploaded June 2023 | Updated September 2026, 1 day ago
Unity Spline Branches and Paths take center stage in this fourth installment of our Rail Shooter Game Development series. Get ready to dive deeper into the fascinating world of path creation and branching as we explore advanced techniques for positioning along splines. This video unlocks the power of runtime path generation, enabling dynamic and unpredictable gameplay experiences. With our newfound knowledge, we gain precise control over the spaceship's movement, allowing us to navigate intricate branches and diverging paths. Join us as we delve into the art of sculpting interactive environments, where every twist and turn adds to the thrill of our coding adventure!
🔔 Subscribe for more Unity Tutorials youtube.com/@git-amend?sub_confirmation=1
#unity3d #gamedev #indiedev #unitysplines
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 Intro
1:00 Adding a Branch
2:10 Custom PlayerFollow
6:25 Exposing SplinePath Data
13:05 Recalculating the Path
14:41 Saving Play Mode Changes
16:12 Outro
*Source code:* github.com/adammyhre/Rail-Shooter
*Open Source Used In This Video*
github.com/KyleBanks/scene-ref-attribute.git
github.com/starikcetin/Eflatun.SceneReference.git#2.1.0
These open-source projects were featured in Game Dev Digest recently, and so was one of my videos! You should subscribe to this amazing FREE weekly newsletter which features all kinds of Games, Tutorials, Assets and Deals.
gamedevdigest.com
twitter.com/GameDevDigest
*Assets In This Video* (Affiliate Links)
Play Mode Save: assetstore.unity.com/packages/tools/utilities/play-mode-save-177452?aid=1101lw3sv
Star Sparrow (FREE): assetstore.unity.com/packages/3d/vehicles/space/star-sparrow-modular-spaceship-73167?aid=1101lw3sv
The Ultimate Spaceships Creator: assetstore.unity.com/packages/3d/vehicles/space/ultimate-spaceships-creator-196802?
Ultimate Low Poly Pack: assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101lw3sv
DOTween (FREE): assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676
DOTween (Pro): assetstore.unity.com/packages/tools/visual-scripting/dotween-pro-32416?aid=1101lw3sv
Kyeoms Stylized Shoot & Hit Vol.1: assetstore.unity.com/packages/vfx/particles/stylized-shoot-hit-vol-1-216558?aid=1101lw3sv
Kyeoms Stylized Shoot & Hit Vol.2: assetstore.unity.com/packages/vfx/particles/stylized-shoot-hit-vol-2-222939?aid=1101lw3sv
Kyeoms Stylized Explosion Package: assetstore.unity.com/packages/vfx/particles/stylized-explosion-package-190334?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend
SIDE NOTE: Freya Holmér (author of Shapes) has been working on a Splines tool, which I'm sure will be awesome. Go ♥ her Tweet here if you want her to release it as an Asset!
twitter.com/FreyaHolmer/status/1602602594307870721
Unity Spline Branches and Paths take center stage in this fourth installment of our Rail Shooter Game Development series. Get ready to dive deeper into the fascinating world of path creation and branching as we explore advanced techniques for positioning along splines. This video unlocks the power of runtime path generation, enabling dynamic and unpredictable gameplay experiences. With our newfound knowledge, we gain precise control over the spaceship's movement, allowing us to navigate intricate branches and diverging paths. Join us as we delve into the art of sculpting interactive environments, where every twist and turn adds to the thrill of our coding adventure!
🔔 Subscribe for more Unity Tutorials youtube.com/@git-amend?sub_confirmation=1
#unity3d #gamedev #indiedev #unitysplines
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 Intro
1:00 Adding a Branch
2:10 Custom PlayerFollow
6:25 Exposing SplinePath Data
13:05 Recalculating the Path
14:41 Saving Play Mode Changes
16:12 Outro
*Source code:* github.com/adammyhre/Rail-Shooter
*Open Source Used In This Video*
github.com/KyleBanks/scene-ref-attribute.git
github.com/starikcetin/Eflatun.SceneReference.git#2.1.0
These open-source projects were featured in Game Dev Digest recently, and so was one of my videos! You should subscribe to this amazing FREE weekly newsletter which features all kinds of Games, Tutorials, Assets and Deals.
gamedevdigest.com
twitter.com/GameDevDigest
*Assets In This Video* (Affiliate Links)
Play Mode Save: assetstore.unity.com/packages/tools/utilities/play-mode-save-177452?aid=1101lw3sv
Star Sparrow (FREE): assetstore.unity.com/packages/3d/vehicles/space/star-sparrow-modular-spaceship-73167?aid=1101lw3sv
The Ultimate Spaceships Creator: assetstore.unity.com/packages/3d/vehicles/space/ultimate-spaceships-creator-196802?
Ultimate Low Poly Pack: assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101lw3sv
DOTween (FREE): assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676
DOTween (Pro): assetstore.unity.com/packages/tools/visual-scripting/dotween-pro-32416?aid=1101lw3sv
Kyeoms Stylized Shoot & Hit Vol.1: assetstore.unity.com/packages/vfx/particles/stylized-shoot-hit-vol-1-216558?aid=1101lw3sv
Kyeoms Stylized Shoot & Hit Vol.2: assetstore.unity.com/packages/vfx/particles/stylized-shoot-hit-vol-2-222939?aid=1101lw3sv
Kyeoms Stylized Explosion Package: assetstore.unity.com/packages/vfx/particles/stylized-explosion-package-190334?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend
SIDE NOTE: Freya Holmér (author of Shapes) has been working on a Splines tool, which I'm sure will be awesome. Go ♥ her Tweet here if you want her to release it as an Asset!
twitter.com/FreyaHolmer/status/1602602594307870721







![10 Useful C# Attributes for Intermediate and Advanced Game Devs
C# Attributes are a powerful tool for customizing and extending the behavior of your code, especially in game development where performance and clarity matter most. In this video, we explore attributes that can elevate your projects to the next level. From controlling memory layouts with `[StructLayout]` and `[FieldOffset]`, to ensuring robust runtime behavior with `[NotNull]` and `[UsedImplicitly]`, this guide dives into practical use cases for both performance optimization and tooling enhancements. Whether youre working with Unity, creating custom editors, or tackling advanced interop scenarios, these attributes will help you write cleaner, faster, and more efficient code.
Scene Reference Attribute: https://github.com/KyleBanks/scene-ref-attribute
Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre
🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend
Discord: https://discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 StructLayout, FieldOffset, Preserve
3:50 InspectorName, DefaultExecutionOrder
5:40 NotNull, CanBeNull, UsedImplicitly
8:45 PreferBinarySerialization
11:10 SelectionBase
12:10 Child, Parent, Self, Anywhere
Correction: 04:47 Enum Search is from Odin Inspector and is compatible with InspectorName
More Useful Code:
https://github.com/adammyhre?tab=repositories
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642
Assets Shown In This Video (Affiliate Links)
Odin - https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041?aid=1101lw3sv
Odin Validator - https://assetstore.unity.com/packages/tools/utilities/odin-validator-227861?aid=1101lw3sv
Heroic Creatures: https://assetstore.unity.com/packages/3d/characters/creatures/heroic-fantasy-creatures-full-pack-volume-1-5730?aid=1101lw3sv
Dynamic Nature: https://assetstore.unity.com/packages/3d/vegetation/forest-environment-dynamic-nature-150668?aid=1101lw3sv
Beautify: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/beautify-3-advanced-post-processing-233073?aid=1101lw3sv
Umbra Soft Shadows: https://assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/umbra-soft-shadows-better-directional-contact-shadows-for-urp-282485?aid=1101lw3sv
Cloud Shadows: https://assetstore.unity.com/packages/vfx/shaders/cloud-shadows-fx-267702?aid=1101lw3sv
Timeflow: https://assetstore.unity.com/packages/tools/animation/timeflow-animation-system-247895?aid=1101lw3sv
Hot Reload: https://assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Hierarchy Icons: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent 276554?aid=1101lw3sv
Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: https://assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend 10 Useful C# Attributes for Intermediate and Advanced Game Devs](https://i.ytimg.com/vi/mB4KaZ4GcH4/mqdefault.jpg)


