Hey guys,
I almost finished with a fog class for a game me and my friends are making. currently it only has “EnableFog”, and StopFog. i want to be able to have a bool value in the class, thats like:
MakeFog(float startfog, float endfog, float density, bool onoff);
I’ve made the other things before “onoff”. how can I make the onoff thing? i mean if i add it, the compiler says function overloading. help