Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Error CS0138 with UnityEngine.Animation

$
0
0
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!

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>