Use a Change Fields node instead a Call Function node, since you want to change a field/property and not call a function.
- class name: CinemachineStateDrivenCamera - field name: m_Priority - field type: Int
Not 100% sure if Is Priority needs to be enabled, based on the code I’d say no – but if it’s not working, try enabling it.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Use a Change Fields node instead a Call Function node, since you want to change a field/property and not call a function.
- class name: CinemachineStateDrivenCamera
- field name: m_Priority
- field type: Int
Not 100% sure if Is Priority needs to be enabled, based on the code I’d say no – but if it’s not working, try enabling it.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!