using Debug class

Hi to all Guys,
I am very new to unity technologies.I have a issue using Debug class.I tried to draw a line using function Debug.DrawLine,even i tried Debug.DrawRay i didn’t seen any line drawn on screen.Any one please help me or give suggestions to me to draw using debug class.

Actually i am trying to do frist person shooting for that i have to do raycast.to check whether the collision is happened.I have a doubt in raycasting can i use screen coordinates for that or using my weapons position as a starting position for raycasting. Help me.

Thanks in Advance.

—Rajesh—

Are you looking in the Scene window? It won’t show up in the game window.

–Eric

hi guys thanks for reply,
I not seen any lines in scene window.How to activate Gizmo in game window

Thanks

Click on the button in the game window that says “Gizmos”; it’s next to the “Stats” button.

–Eric

Thanks