When i put the Enemy AI script in my unity project (http://www.mpgh.net/forum/512-unity-udk-gamestudio-development/427244-unity-enemy-ai-health-attack-scripts-c.html) i get this error:
Assets/Script/Enemy AI.cs(30,69): error CS1061: Type UnityEngine.Transform' does not contain a definition for rotationSpeed’ and no extension method rotationSpeed' of type UnityEngine.Transform’ could be found (are you missing a using directive or an assembly reference?)
Using this line:
myTransform.rotation = Quaternion.Slerp(myTransform.rotationSpeed, Quaternion.LookRotation(target.position - myTransform.position), rotationSpeed * Time.deltaTime);