Set Field Value reflection

Yzack

New member
Hi Justin,

I would like to use a SetFieldValue reflection for setting a public Vector3 variable of a Monobehavior script.

Sadly the Set Field Value doesn't seem to see any Vector3.

As you can see in the screenshot, the vector3s dont'appears in the dropdown list

Is it normal ? any idea about to do this ?
 

Attachments

  • Annotation 2019-02-13 141101.jpg
    Annotation 2019-02-13 141101.jpg
    130.1 KB · Views: 11
Are you sure that those are fields? They may be properties instead. For example if you have the transform component the position doesn't show with the field reflection task, only the property reflection task.
 
Top