Updated Pubnub.cs file for Unity