playMaker

Author Topic: Editing existing enum with wizard & namespace issue [SOLVED]  (Read 431 times)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 706
Editing existing enum with wizard & namespace issue [SOLVED]
« on: November 26, 2020, 09:46:36 AM »
I wanted to add one entry to an existing custom enum.
Error.

Quote
Assets/[game_name]/Enums/MyEnum.cs(8,14): error CS0101: The namespace 'game_name' already contains a definition for 'MyEnum'

I used the Enum Creator Wizard but it looks like it got pwned by a counter spell.
So I tried to revert the addition and save it.
Error again.

goblin time
« Last Edit: November 26, 2020, 09:58:03 AM by Broken Stylus »

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 706
Re: Editing existing enum with wizard & namespace issue
« Reply #1 on: November 26, 2020, 09:57:38 AM »
Solved!

It saved the enum in the default folder.

Please update the wizard so it actually understands where the current enum stands and saves it there instead of creating a duplicate elsewhere.