Hi. Before all and because is my first post here : Thanks to you @leslie for your awesome asset, and thanks to you @itsmars for your tuts. You’re really awesome guys.
So, I have a question.
I have a local variable on my skill (ManaCost btw), but in rpgui i cannot access it in rpgui in c#. I try since one hour without success. ()
if (slotType == ActionSlots.SlotType.Skill)
// I use GetEquippedNfo to get reference to the definition
Skill sk = Player.Instance.actionSlots.GetEquippedNfo(slotIdx) as Skill;
if (sk != null)
plyVar v2 = sk.GetComponent<plyBlox>().GetLocalVariable("ManaCost");
Debug.Log(v2.ToString()); // RETURN NULL
Debug.Log(sk.blox.GetLocalVarValue("ManaCost")); // RETURN NULL