struct unity code example
Example: unity struct
public class MyClass
{
public int valueA, valueB;
}
public class MyStruct
{
public int valueA, valueB;
}
void MyMethod(MyClass myClassObject);
void MyMethod(MyStruct myStructObject);