I try to generate a one colored triangle from 3 points, but I’m stuck…
So I want to make an empty game object with a script (preferably C#), that does this. The script uses 3 3d coordinates and a color (lets say blue) to generate it.
If you want to play in the OpenGL style, use the GL class to draw the triangle - there’s a very useful example in this topic.
But if you want to create a game object with a simple triangular mesh, take a look at the mesh topic in the Unity manual, or at the Mesh class in the docs - both have useful examples, and the later allows selection of C# language.
Something to that effect, do some googling and you will find plenty of resources on OpenGL.
But, to make a GameObject that will rotate, scale and do everything you want, and have a triangle shape, you would be best off making the object in something like Blender.