Agon Problems!

Hi all, I know Agon is supposed to be really easy to integrate into a Unity project but I’ve so far spent all morning trying to fathom it out and I’m getting nowhere fast.

I have created a new game on the Agon site and got my game secret…
I hit build package and put the package.bundle in my Edotor/AGON Online Files folder
I then did JUST a build to make the Xcode project adjust accordingly…
Then I type in…

AgonBasic.instance.Create("MyGameSecretString", null);

…where MyGameSecretString is my actual game secret…

Ihit save on this script and surprise suprise Unity says something like…

Unknown Identifier AgonBasic.

I’ve looked at all the help and cant find any…I’m dying at step one here…can anyone help me??

Hmm thats strange. Sounds like you did everything right. Did you attach the script to an object in your scene? Also, along the Finder bar you should see a new option for “AGON Online” if the plug in installed correctly. (Those are the only things I can think of.)

EDIT:

Nevermind. I saw your thread on the Agon Support site, congrats on getting it to work. :smile: