You will just have to create 3 points in space and draw a line between them using DrawPolyLine. You can create a helper function pretty quickly if you need to do this a lot.
hmm the problem I found after figuring things out is that I must have the Object selected In order to draw the triangle.As OnPreRender method suggests I want to draw the triangles all the time.
Even though It was good experience to learn how to use Unity Editor I lost lots of time .Could somebody tell me what I asked and not go around my question I asked at first place.