Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on September 12, 2014, 03:48:14 AM

Title: Texture2D Problem
Post by: blackant 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..