Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Doesn't properly serialise Vector2Int #34

Open
Neonalig opened this issue Nov 23, 2023 · 1 comment
Open

Doesn't properly serialise Vector2Int #34

Neonalig opened this issue Nov 23, 2023 · 1 comment

Comments

@Neonalig
Copy link

A relatively new datatype albeit, Vector2Int does indeed support native Unity serialisation (and is even present in the SerializedProperty datatype enum). EasyButtons does not recognise it as such.

Expected Behaviour:

  1. Define a method with the [Button] attribute containing a Vector2Int parameter.
  2. EasyButtons shows a method dropdown in the inspector, allowing the user to enter a Vector2Int value.
    image

Actual Behaviour:

  1. EasyButtons shows an error message stating "Unable to draw a non-serialized type."
    image
@Neonalig
Copy link
Author

Upon further inspection, none of the new ~Int variant types appear to be supported (Vector2Int, Vector3Int, RectInt, BoundsInt, or even traditional Bounds supposedly)

image

image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant