When I try to run my game in unity, it comes up with the error:
No appropriate version of 'UnityEngine.Quaternion.Euler' for the argument list '(UnityEngine.Quaternion)' was found. When using the update code in (written in javascript):
transform.Rotate(Quaternion.Euler(transform.rotation * Quaternion.Inverse(GameObject.Find("Main Camera").transform.rotation))); Any help would be appreciated.