Question by
fellovicbeatz · Oct 13, 2019 at 07:38 PM ·
c#visual studionamespace
Can't access my namespaces inside Photon namespaces
Hello. II'm tryin' to create a custom type inside PUN2 networking. But whenever im tryin' to access my CardShuffle namespace it says :
Severity Code Description Project File Line Suppression State Suppression State
Error CS0246 The type or namespace name 'CardShuffle' could not be found (are you missing a using directive or an assembly reference?) PhotonUnityNetworking C:\Users\fello\CardShuffle_\Assets\Photon\PhotonUnityNetworking\Code\CustomTypes.cs
Even the CardShuffle namespace actually works inside other files than the Photon ones. Any help would be appreciated.
Comment
Best Answer
Answer by fellovicbeatz · Oct 13, 2019 at 09:45 PM
I actually forgot that i dont need to define CustomTypes in CustomTypes.cs inside Photon Unity Networking.