Answer by Dave Carlile
There are a couple of ways you can do this. Default parameters: protected void BypassSubtitle( string text, float duration, bool differentColor = false, Color newColor = Color.white); // edit: it turns...
View ArticleAnswer by felix11
I don't know if I understand the Question but why don't you make your Method virtual and override it? Or just Overload it: protected void BypassSubtitle(string text, float duration, Color newColor) {...
View ArticleAnswer by felix11
Sorry, that didn't work, let me try again: public Class YourClass { protected void BypassSubtitle(string text, float duration, Color newColor) { //Code1 } protected void BypassSubtitle(string text,...
View ArticleAnswer by Dave-Carlile
There are a couple of ways you can do this. Default parameters: protected void BypassSubtitle( string text, float duration, bool differentColor = false, Color newColor = Color.white); // edit: it turns...
View ArticleAnswer by felix11
Sorry, that didn't work, let me try again: public Class YourClass { protected void BypassSubtitle(string text, float duration, Color newColor) { //Code1 } protected void BypassSubtitle(string text,...
View Article
More Pages to Explore .....