mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Projucer: Sanitise Unity plug-in names when generating the C# script class name
This commit is contained in:
parent
73ac883b2f
commit
d543df6aff
4 changed files with 8 additions and 7 deletions
|
|
@ -7288,7 +7288,7 @@ static const unsigned char temp_binary_data_55[] =
|
|||
"using System.Collections.Generic;\n"
|
||||
"using System.Runtime.InteropServices;\n"
|
||||
"\n"
|
||||
"public class %%plugin_name%%GUI : IAudioEffectPluginGUI\n"
|
||||
"public class %%plugin_class_name%%GUI : IAudioEffectPluginGUI\n"
|
||||
"{\n"
|
||||
" public override string Name { get { return \"%%plugin_name%%\"; } }\n"
|
||||
" public override string Description { get { return \"%%plugin_description%%\"; } }\n"
|
||||
|
|
@ -7460,7 +7460,7 @@ static const unsigned char temp_binary_data_55[] =
|
|||
" }\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"#endif";
|
||||
"#endif\n";
|
||||
|
||||
const char* jucer_UnityPluginGUIScript_cs = (const char*) temp_binary_data_55;
|
||||
|
||||
|
|
@ -7846,7 +7846,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes)
|
|||
case 0xbc050edc: numBytes = 4926; return jucer_PIPAudioProcessorTemplate_h;
|
||||
case 0xf4ca9e9a: numBytes = 2447; return jucer_PIPMain_cpp;
|
||||
case 0x0b16e320: numBytes = 517; return jucer_PIPTemplate_h;
|
||||
case 0xcd472557: numBytes = 6426; return jucer_UnityPluginGUIScript_cs;
|
||||
case 0xcd472557: numBytes = 6433; return jucer_UnityPluginGUIScript_cs;
|
||||
case 0x763d39dc: numBytes = 1050; return colourscheme_dark_xml;
|
||||
case 0xe8b08520: numBytes = 1050; return colourscheme_light_xml;
|
||||
case 0x938e96ec: numBytes = 20; return nothingtoseehere_txt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue