Author Topic: WMSK Error when Doing a Build  (Read 745 times)

incursio

  • Sr. Member
  • ****
  • Posts: 387
    • View Profile
WMSK Error when Doing a Build
« on: February 27, 2016, 08:16:47 PM »
Code: [Select]
Assets/Packages/WorldMapStrategyKit/Scripts/Core/Internal/WMSKPrivMenuExtensions.cs(2,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?

From my very limited research on this, it seems that the UnityEditor namespace shouldn't be used in builds .... or something to that effect.  Any ideas?

Cheers.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 2618
    • View Profile
Re: WMSK Error when Doing a Build
« Reply #1 on: March 02, 2016, 10:13:36 AM »
Fixed.

Please move WMSKPrivMenuExtensions.cs file inside WorldMapStrategyKit/Editor/Tools, as this should be its correct location.

Thanks!