Salvus Geschrieben 4. August 2011 Melden Share Geschrieben 4. August 2011 Hallo, Und zwar habe ich ein problem mit Photon & Unity3d. Ich mache das Tutorial auf cjrgaming.com (http://www.cjrgaming.com/node/17) jedoch habe ich dort ein hänger. Ich Habe die 4 Klassen angelegt, die dll in Unity gesteckt. Jedoch bekomme ich nun trozdem fehlermeldungen wie: IGameState.cs(9,41): error CS0246: The type or namespace name `EventCode' could not be found. Are you missing a using directive or an assembly reference? und so weiter. Hier einmal IGameState.cs: using System; using System.Collections; using AuroraCommon; using ExitGames.Client.Photon; public interface IGameState { GameState State { get; } void OnEventReceive(Game gameLogic, EventCode eventCode, Hashtable eventData); void OnOperationReturn(Game gameLogic, OperationCode operationCode, int returnCode, Hashtable returnValues); void OnPeerStatusCallback(Game gameLogic, StatusCode returnCode); void OnUpdate(Game gameLogic); void SendOperation(Game gameLogic, OperationCode operationCode, Hashtable parameter, bool sendReliable, byte channelId); } Und hier einmal ein Screen: danke ! Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
sebako Geschrieben 30. August 2011 Melden Share Geschrieben 30. August 2011 huhu, ich weiß nicht ob dein Problem noch besteht, aber falls doch probier mal: using System; using System.Collections; using AuroraCommon; using ExitGames.Client.Photon; public interface IGameState { GameState State { get; } void OnEventReceive(Game gameLogic, AuroraCommon.EventCode eventCode, Hashtable eventData); void OnOperationReturn(Game gameLogic, OperationCode operationCode, int returnCode, Hashtable returnValues); void OnPeerStatusCallback(Game gameLogic, StatusCode returnCode); void OnUpdate(Game gameLogic); void SendOperation(Game gameLogic, OperationCode operationCode, Hashtable parameter, bool sendReliable, byte channelId); } lg seb Zitieren Link zu diesem Kommentar Auf anderen Seiten teilen More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.