Photon and the tutorial on

first my english is not so good, but I want to ask you something.

And I have a problem with Photon & Unity3D. I’m doing the tutorial on ( but I have a trailer there. I created the four classes than I put the dll into Unity. However, now I get error messages still useable as:
IGameState.cs (9.41): error CS0246: The type or namespace name ‘event code’ could not be found. Are you missing a using directive or an assembly reference?
and so on.

Here again 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);

And here once a screen:

alt text

thank you:)!

Hey Salvus,

If you look at your file names in AuroraCommon you have a file called EventCodeData.cs. I’m going to assume that the class inside is also called EventCodeData. In the code you specified, you will need to update EventCode to be EventCodeData.

Thanks for using my site and also, just so you know, I have video tutorials up on 1 covering the new Photon 3.0

Christian - CJR Gaming