@@ -64,7 +64,8 @@ def particle_info(target: str, search_method: Optional[str]):
6464 params ["searchMethod" ] = search_method
6565
6666 try :
67- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
67+ result = run_command (
68+ "manage_vfx" , _normalize_vfx_params (params ), config )
6869 click .echo (format_output (result , config .format ))
6970 except UnityConnectionError as e :
7071 print_error (str (e ))
@@ -91,7 +92,8 @@ def particle_play(target: str, with_children: bool, search_method: Optional[str]
9192 params ["searchMethod" ] = search_method
9293
9394 try :
94- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
95+ result = run_command (
96+ "manage_vfx" , _normalize_vfx_params (params ), config )
9597 click .echo (format_output (result , config .format ))
9698 if result .get ("success" ):
9799 print_success (f"Playing particle system: { target } " )
@@ -114,7 +116,8 @@ def particle_stop(target: str, with_children: bool, search_method: Optional[str]
114116 params ["searchMethod" ] = search_method
115117
116118 try :
117- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
119+ result = run_command (
120+ "manage_vfx" , _normalize_vfx_params (params ), config )
118121 click .echo (format_output (result , config .format ))
119122 if result .get ("success" ):
120123 print_success (f"Stopped particle system: { target } " )
@@ -134,7 +137,8 @@ def particle_pause(target: str, search_method: Optional[str]):
134137 params ["searchMethod" ] = search_method
135138
136139 try :
137- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
140+ result = run_command (
141+ "manage_vfx" , _normalize_vfx_params (params ), config )
138142 click .echo (format_output (result , config .format ))
139143 except UnityConnectionError as e :
140144 print_error (str (e ))
@@ -155,7 +159,8 @@ def particle_restart(target: str, with_children: bool, search_method: Optional[s
155159 params ["searchMethod" ] = search_method
156160
157161 try :
158- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
162+ result = run_command (
163+ "manage_vfx" , _normalize_vfx_params (params ), config )
159164 click .echo (format_output (result , config .format ))
160165 except UnityConnectionError as e :
161166 print_error (str (e ))
@@ -176,7 +181,8 @@ def particle_clear(target: str, with_children: bool, search_method: Optional[str
176181 params ["searchMethod" ] = search_method
177182
178183 try :
179- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
184+ result = run_command (
185+ "manage_vfx" , _normalize_vfx_params (params ), config )
180186 click .echo (format_output (result , config .format ))
181187 except UnityConnectionError as e :
182188 print_error (str (e ))
@@ -209,7 +215,8 @@ def line_info(target: str, search_method: Optional[str]):
209215 params ["searchMethod" ] = search_method
210216
211217 try :
212- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
218+ result = run_command (
219+ "manage_vfx" , _normalize_vfx_params (params ), config )
213220 click .echo (format_output (result , config .format ))
214221 except UnityConnectionError as e :
215222 print_error (str (e ))
@@ -244,7 +251,8 @@ def line_set_positions(target: str, positions: str, search_method: Optional[str]
244251 params ["searchMethod" ] = search_method
245252
246253 try :
247- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
254+ result = run_command (
255+ "manage_vfx" , _normalize_vfx_params (params ), config )
248256 click .echo (format_output (result , config .format ))
249257 except UnityConnectionError as e :
250258 print_error (str (e ))
@@ -274,7 +282,8 @@ def line_create_line(target: str, start: Tuple[float, float, float], end: Tuple[
274282 params ["searchMethod" ] = search_method
275283
276284 try :
277- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
285+ result = run_command (
286+ "manage_vfx" , _normalize_vfx_params (params ), config )
278287 click .echo (format_output (result , config .format ))
279288 except UnityConnectionError as e :
280289 print_error (str (e ))
@@ -307,7 +316,8 @@ def line_create_circle(target: str, center: Tuple[float, float, float], radius:
307316 params ["searchMethod" ] = search_method
308317
309318 try :
310- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
319+ result = run_command (
320+ "manage_vfx" , _normalize_vfx_params (params ), config )
311321 click .echo (format_output (result , config .format ))
312322 except UnityConnectionError as e :
313323 print_error (str (e ))
@@ -325,7 +335,8 @@ def line_clear(target: str, search_method: Optional[str]):
325335 params ["searchMethod" ] = search_method
326336
327337 try :
328- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
338+ result = run_command (
339+ "manage_vfx" , _normalize_vfx_params (params ), config )
329340 click .echo (format_output (result , config .format ))
330341 except UnityConnectionError as e :
331342 print_error (str (e ))
@@ -353,7 +364,8 @@ def trail_info(target: str, search_method: Optional[str]):
353364 params ["searchMethod" ] = search_method
354365
355366 try :
356- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
367+ result = run_command (
368+ "manage_vfx" , _normalize_vfx_params (params ), config )
357369 click .echo (format_output (result , config .format ))
358370 except UnityConnectionError as e :
359371 print_error (str (e ))
@@ -381,7 +393,8 @@ def trail_set_time(target: str, duration: float, search_method: Optional[str]):
381393 params ["searchMethod" ] = search_method
382394
383395 try :
384- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
396+ result = run_command (
397+ "manage_vfx" , _normalize_vfx_params (params ), config )
385398 click .echo (format_output (result , config .format ))
386399 except UnityConnectionError as e :
387400 print_error (str (e ))
@@ -399,7 +412,8 @@ def trail_clear(target: str, search_method: Optional[str]):
399412 params ["searchMethod" ] = search_method
400413
401414 try :
402- result = run_command ("manage_vfx" , _normalize_vfx_params (params ), config )
415+ result = run_command (
416+ "manage_vfx" , _normalize_vfx_params (params ), config )
403417 click .echo (format_output (result , config .format ))
404418 except UnityConnectionError as e :
405419 print_error (str (e ))
@@ -453,7 +467,8 @@ def vfx_raw(action: str, target: Optional[str], params: str, search_method: Opti
453467 # Merge extra params
454468 request_params .update (extra_params )
455469 try :
456- result = run_command ("manage_vfx" , _normalize_vfx_params (request_params ), config )
470+ result = run_command (
471+ "manage_vfx" , _normalize_vfx_params (request_params ), config )
457472 click .echo (format_output (result , config .format ))
458473 except UnityConnectionError as e :
459474 print_error (str (e ))
0 commit comments