I know it’s possible to initialize some parameters so that they’ll use that value if it isn’t specified when the method is called, for example
public void SomeMethod(bool someBool = true)
{
}
But it doesn’t seem to work with some types such as colors, is there a way to initialize a color parameter?
public void SomeMethod(Color someColor = new Color(1,1,1,1))
{
//This doesn't work
}