Author Topic: from 2.7 to 3.49 UIAtlas.coordinates problem.  (Read 2473 times)

patrick_activate

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
from 2.7 to 3.49 UIAtlas.coordinates problem.
« on: February 16, 2014, 11:00:58 PM »
i got this error after upgrading from 2.7 to 3.49


code: item.iconAtlas.coordinates == UIAtlas.Coordinates.Pixels

Error CS1061: 'UIAtlas' does not contain a definition for 'coordinates' and no extension method 'coordinates' accepting a first argument of type 'UIAtlas' could be found (are you missing a using directive or an assembly reference?) (CS1061) (Assembly-CSharp-Editor)

Error CS0122: 'UIAtlas.Coordinates' is inaccessible due to its protection level (CS0122) (Assembly-CSharp-Editor)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: from 2.7 to 3.49 UIAtlas.coordinates problem.
« Reply #1 on: February 17, 2014, 11:12:28 AM »
Atlases are always in pixels now and no longer have the 'coordinates' property.