playMaker

Author Topic: Texture2D Problem  (Read 1257 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Texture2D Problem
« on: September 12, 2014, 03:48:14 AM »
i am trying to edit the Amplify Color script to make it able to work with Playmaker, but if i replace Texture2D by Texture, i get this error message

Assets/AmplifyColor/Plugins/AmplifyColorBase.cs(143,57): error CS1061: Type `UnityEngine.Texture' does not contain a definition for `mipmapCount' and no extension method `mipmapCount' of type `UnityEngine.Texture' could be found (are you missing a using directive or an assembly reference?)

so i'm a bit locked with this problem..