Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Error in enum in project from 2018 #58

Open
paulocoutinhox opened this issue Mar 2, 2020 · 0 comments
Open

Error in enum in project from 2018 #58

paulocoutinhox opened this issue Mar 2, 2020 · 0 comments

Comments

@paulocoutinhox
Copy link

In the example 2018/screen-size you need change enum code to:

enum DIRECTIONS { TOP_BOTTOM, BOTTOM_TOP, LEFT_RIGHT, RIGHT_LEFT } 
export(DIRECTIONS) var direction

You left put DIRECTIONS before the values.

@NathanLovato NathanLovato changed the title [bug] Correct code for enum Error in enum in project from 2018 Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants