i have these lines to create a plane, and then i attempt to place a texture on it in game, and to change the color, but it stays dark grey even with blue texture on it.
zfightingplane = GameObject.CreatePrimitive(PrimitiveType.Plane);
zfightingplane.transform.localScale = Vector3(3000, 0, 3000);
zfightingplane.transform.position = Vector3(0, -150, 0);
DestroyImmediate(zfightingplane.collider);
how do i make it blue?
↧