- Home /
js to C# -
Hi! need help to js to C# convertion:
rigidbody.position = Vector3(rigidbody.position.x,rigidbody.position.y, 0);
error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected
Comment
rigidbody.position = new Vector3(rigidbody.position.x,rigidbody.position.y, 0);
Your answer
Follow this Question
Related Questions
Need help converting js to C 1 Answer
Need help converting js to C# - rigidbody.rotation.z 1 Answer
Need help C# -- yield, destroy 1 Answer
Enemy AI script causing Unity to crash (Javascript to C#) 1 Answer
Need help converting js to C 2 Answers