MCQs > IT & Programming > Unity3D > Using the following code you will get the distances to the walls in each of the four directions?

Unity3D MCQs

Using the following code you will get the distances to the walls in each of the four directions?

Answer

Correct Answer: var xForward : float = DistToWall(obj.transform .y, Vector3.forward , Color.blue); var xRight : float = DistToWall(obj.transform .y, Vector3.right , Color.yellow); var xBackward : float = DistToWall(obj.transform .y,-Vector3.forward , Color.red); var xLeft : float = DistToWall(obj.transform .y,-Vector3.right , Color.green);

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Unity3D Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it