changes to PubnubExample.cs file for Unity