Managing Character States for Player ~ Making a Resource Gathering Game in Unity ~ Part 6
Chris' Tutorials
In this video, we create states to hold some of our character logic and link those states to the animation sets using dictionaries. However, dictionaries are not serializable in unity out of the box so we can use a free plugin to have a serializable version of a C# dictionary to suit our purposes working in the Unity editor.
Serializable Dictionary Download https://github.com/azixMcAze/Unity-SerializableDictionary
Gatherer's Exterior Pack Download Itch.io ➣ https://chris-tutorials.itch.io/gatherers-exterior-pack Patreon Supporters ➣ https://www.patreon.com/posts/67997091
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://linktr.ee/ChrisTutorials https://chris-tutorials.itch.io/
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - Walk and Use Animation Sets 07:42 - Managing Character States 11:37 - Serialized Dictionary in Unity 16:01 - Get Facing Clip from State 19:39 - Testing Code 20:56 - Migrating Dictionary Code to a New Class 23:43 - Making New Dictionary Class Serializable 24:37 - Wrapup ... https://www.youtube.com/watch?v=_U71B9KHlU4
97599345 Bytes