alttester / alttester/AltTester-Unity-SDK

Inconsistent parameter order for SetComponentProperty functions across languages

Open
#1,853 0 comments 0 reactions 0 assignees View on GitHub
2.2.6
Dominant language
C#
Stars
121
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Summary
The `SetComponentProperty` function has inconsistent parameter ordering between .NET (C#) and the other supported languages.

- **In .NET (C#)**, the order is:
`string componentName, string propertyName, object value, string assemblyName`

- **In Java, Python, and Robot**, the order is:
`componentName, propertyName, assembly, value`

This means that in .NET, the `value` comes before the `assembly`, while in Java, Python, and Robot, the `assembly` comes before the `value`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.