Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Extension class won't recognize the type in some imported namespace

$
0
0
Hello, Please help, i'm losing my mind. I created a class for housing a Quaternion extension method. However, after "successfully" importing the unity engine namespace, the Quaternion struct (class?) still goes unrecognized. I could go and explicitly add the "UnityEngine.Quaternion" namespace qualifier in front of each every occurrence of the Quaternion type name in the file. Though, that would be ugly. I've added a screen cap of the class. The namespace of this extension method's class is shown at the very top of the image -FYI. Please help, i have many other extension methods that i need to add later, and adding the "UnityEngine" namespace qualifier in front of each and every occurrence of "Quaternion" would be suck. Thanks in advance. ![alt text][1] [1]: /storage/temp/154193-wtf-no-import-namespace.png

Viewing all articles
Browse latest Browse all 398

Trending Articles



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