updated unity Pubnub.cs file with WP and SL specific related code