(Start from part 150) Souls-like Part 17 #C Scriptable Object Inventory - Unity Tutorial (Advanced)

preview_player
Показать описание

FOLLOW ME ON SOCIALS:
Support the development of series like this here
Рекомендации по теме
Комментарии
Автор

Kinda like a simplified version of the weapon creator from TPS Beta. Pretty cool stuff!

samuellvaladares
Автор

I really want more and more! Tutorials on this topic is really cool and interesting(Sorry for my bad english, I am from Russia. The capital, Vodka, the Soviet bear is ours! :))) )

jamian_egistique
Автор

Am i safe to skip videos 17 #A and video 17 #B Completely and pickup here ?

SteeznGames
Автор

Ok So do I need to skip video 17A and B and Start from learning here? I saw alot of comment that you can skip the A and B part so what's the deal?

amuletgames
Автор

I'm getting a NullReferenceException on (SA.StateManager states) (at Any thoughts on what could be causing this?
UPDATE: For some reason i only get this error when i have one weapon equipped. So that went away and is now giving me a NullReference at (UnityEngine.Collider other) (at

derekcasey
Автор

Everything seems to be working but I am getting 4 warnings . Animator.GotoState: State could not be found UnityEngine.Animator:Play (String) and Invalid Layer Index '-1' UnityEngine.Animator:Play (String) both twice. I can figure out where they are coming from and was wondering if you have any idea. Otherwise, I may try doing the tutorial over to see if I can fix it. Lucky for me, I save a separate copy of each tutorial file. Great stuff even if it is a bit over my head. Learning a lot! Thanks!

serpnta
Автор

Hi, great videos man, also these three videos were awesome, it can be a bit boring to copy all those stuff, but I think they can be very useful for any project with inventory.

Anyway, all that being said, I also had some problems, first we forget to copy canParry action in StaticFunctions.cs in DeepCopyActionToAction method, but that was easy to find, no problem. The other thing is that I have problem with ActionInput class, or with input variable we are copying. I noticed it shortly after xml video, or anyway, somewhere around that, my rt or lt input stopped working, and I tried to find the problem, and it was okay with Item to XML, and from xml to resources was fine, so ResourceManager had everything copied like it supposed to, but then, when we create the new GameObject, it has actions done correctly, but the input variable was always rb, no matter what i do, so it kind of works, except this input variable.

Now, with scriptable object is the same thing, I create the inventory item, set up everything I want, for actions, let's say two actions, rb - attack, targetAnim oh_attack_1, rt - attack, targetAnim oh_attack_3, but when we create new GameObject, it has two actions and everything is fine, except input field, which is always rb. I tried to find the problem, and I think it has to be somewhere in InventoryManager.cs, in WeaponToRuntimeWeapon method, because that is where we create new GameObject, or at least I think it is somewhere in there. Anyway, I don't know if this is going to be addressed in the next videos or later, but I just thought I could mention this.

Also, scriptable object has lost settings at least couple of times for me, when I exit the Unity, next time I enter, all the positions are deleted, so I had to do it more than once for some items, so I thought there must be some easier way to do this, but now it is mostly fine, and I think it is not that bad actually. I still have some problems with shield, but I have to check it again, see if I am doing something wrong.

Anyway, great stuff, lot of fun, lot to learn, it is amazing series you are doing here. :)

Anarki
join shbcf.ru