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)