ThirdPersonPerspectiveItem State no Properties available

nathanj

Active member
Hello,

I'm trying to change the 'Non Dominant Hand IK Target ID' through a state change and while I can make a State Preset there are no Property fields available.

States.PNG

Is this intended? It be nice to be able to change this value in runtime.

Edit: So if I remove
Code:
[NonSerialized]
from
Code:
[NonSerialized]  public int NonDominantHandIKTargetID { get { return m_NonDominantHandIKTargetID; } set { m_NonDominantHandIKTargetID = value; } }

I can access the field, is there any reason this shouldn't be done? If so what's the chance of you making the change?

Thanks
Nathan
 
Last edited:
Or, does this only get set when the weapon is equipped? In which case I’ll need to write my own solution - which is totally cool
 
NonDominantHandIKTargetID is set within Awake so that's why I didn't expose it to the state system. For this case you will need to create your own system.
 
Top