Hi!
I have a problem. I want use using UnityEngine.Animation; in my script but unity show me error:
Assets/animation/PlayerMovement.cs(4,1): error CS0138: A `using' directive can only be applied to namespaces but `UnityEngine.Animation' denotes a type. Consider using a `using static' instead
When I change using to using static
using static UnityEngine.Animation;
unity show me next error:
Assets/animation/PlayerMovement.cs(4,7): error CS1644: Feature `using static' cannot be used because it is not part of the C# 4.0 language specification
Somebody know what wrong with my unity? Or I do something wrong? Please help!