var seekTime = 1.0;
var smoothZoomIn = false;
var layerMask = ~((1 << 8) | (1 << 2));
var hit : RaycastHit;
var start = origin.position;
var end = thisTransform.parent.TransformPoint( zoomedPosition );
var position = hit.point + thisTransform.TransformDirection( Vector3.forward );
ma’am/sir pls help i dunno “var” to convert in c# pls help thanks need it badly
float seekTime = 1.0f;
bool smoothZoomIn = false;
int layerMask = ~((1 << 8) | (1 << 2));
RaycastHit hit;
Vector3 start = origin.position;
Vector3 end = thisTransform.parent.TransformPoint( zoomedPosition );
Vector3 position = hit.point + thisTransform.TransformDirection( Vector3.forward );
Did you accidentally leave caps lock on after having a shouting match with someone? I’ll give you the benefit of the doubt.
As you can see, the conversion is pretty straightforward.