문제

I am working on a 2D game. I want to draw circle (its not completely like circle but player should end at the same point from where he started.

enter image description here

도움이 되었습니까?

해결책

If you are planning to do this in 2D you can use the Texture2D.SetPixels and Texture2D.SetPixel methods. If you want to make it in 3D you can either create a prodedural mesh or try some clever use of the TrailRenderer.

다른 팁

Please refer the below link for basic idea

http://www.codeproject.com/Articles/22776/WPF-DrawTools

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top