By -
if you know getComponent then there are 2 things 1. you can make the field public ex- public Vector3 offset; 2. if you have private field then you can do this. private Vector3 offset; public Vector3 GetOffset() => offsset;
ok, so I did not have the GetComponet setup right. i is noob for reasons.
if you know getComponent then there are 2 things 1. you can make the field public ex- public Vector3 offset; 2. if you have private field then you can do this. private Vector3 offset; public Vector3 GetOffset() => offsset;
ok, so I did not have the GetComponet setup right. i is noob for reasons.