Skip to content

Commit e05a52f

Browse files
committed
Update script utilities to take in a params array
1 parent 9599223 commit e05a52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MRTK/Core/Utilities/Editor/ScriptUtilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static class ScriptUtilities
2020
/// <param name="symbols">Array of symbols to define.</param>
2121
public static void AppendScriptingDefinitions(
2222
BuildTargetGroup targetGroup,
23-
string[] symbols)
23+
params string[] symbols)
2424
{
2525
if (symbols == null || symbols.Length == 0) { return; }
2626

@@ -38,7 +38,7 @@ public static void AppendScriptingDefinitions(
3838
/// <param name="symbols">Array of symbols to remove.</param>
3939
public static void RemoveScriptingDefinitions(
4040
BuildTargetGroup targetGroup,
41-
string[] symbols)
41+
params string[] symbols)
4242
{
4343
if (symbols == null || symbols.Length == 0) { return; }
4444

0 commit comments

Comments
 (0)