Hello guys,
I have a script that exposes a public int property in order to test the value at some point during the game. I’d like to assign to this property another script int property - but I’m not able to drop a script in the editor int field and then choose which int property I’d like to assign. It’s sounds logical to me but I don’t know how to achieve my goal.
To resume I’d like to be able to :
- have a ModelScript which contains a public int life
- have a ControlerScript that exposes a public int property
- Assigned the ModelScript life property to the ControlerScript public property in the editor.
Is there a way to achieve that ?
Thank you.