i am tryn to use ether this function or modify the shader directly, but lowering the alpha to get much more transparency does not work, not for the editor nor the ingame gizmos.
DrawingManager.instance.gizmos.surfaceMaterial.SetColor("_Color", new Color(1.0f, 1.0f, 1.0f, 0.1f));
what am i doing wront here?
as i understand changing this means making all gizmos in the scene more or less tranparent right? i cannot control individual gizmos independently?
because i am creating a grid ingame to show the player where he can build and the grid needs to be very transparent and on the other hand i use ALINE to draw a unit selection circle which needa nearly no transparency.