prime31

convert dictionary or list to byte[]

こ雲淡風輕ζ 提交于 2019-12-29 04:06:19
问题 Ok, i've seen many similar questions both on here and unity forums asking about converting from one format to another. I've got a (hopefully) simple question that i just can't find the answer for. I'm using the game-center plugin from Prime31 to handle a turn based multi-player game. Inside the plugin for Prime31 they ask you for a byte[] to send to the other players. (State data) So the question is, what would be a good way to convert a List to a byte array AND then convert them back from

Detect if other player left unintentionally (e.g. internet disconnection) and reconnect - Google play real time multiplayer

十年热恋 提交于 2019-12-23 09:57:10
问题 I am implementing google play game service real time multiplayer. Currently if I turn off the WIFI on one client the other client doesn't detect that the connection is lost. No PeerDisconnect events are called. 1 - Does the API provide anything to check if the peer is still connected? 2 - Is there any way to let the player reconnect to the room? 回答1: 1 - Does the API provide anything to check if the peer is still connected? As stated in Connecting players, you can monitor the connection

Conflict between vuforia plugin and prime31 facebook plugin for android on unity

試著忘記壹切 提交于 2019-12-10 18:37:49
问题 Really emergent as client needs it these days. T_T I have both vuforia plugin and prime31 facebook plugin in my android app on unity. The difficulty lies in the androidmanifest.xml file. Both of them take the role of MAIN and LAUNCHER activites. But in api, it seems one will always override the other. Is there anyway to make them work together ? Some people have already posted this issue online but no efficient method exists. Really appreciate your help !!~~ My AndroidManifest.xml is as the

play-services-base versus -basement dependencies (AAR) in Android

纵然是瞬间 提交于 2019-12-10 12:49:52
问题 I found an xml file GoogleDependencyFlurryPlugin.xml <dependencies> <dependency><groupId>com.google.android.gms</groupId><artifactId>play-services-base</artifactId><version>8.4+</version></dependency> <dependency><groupId>com.google.android.gms</groupId><artifactId>play-services-basement</artifactId><version>8.4+</version></dependency> </dependencies> and indeed an xml file GoogleDependencyPlayGameServicesPlugin.xml <dependencies> <dependency><groupId>com.google.android.gms</groupId>

Can not access Facebook session - UnknownError: Invalid application

扶醉桌前 提交于 2019-12-01 07:21:17
问题 I'm using Prime31 SocialNetworking plugin for Unity3D with Facebook SDK 3.5 and trying to login Facebook on the Android 2.3.5 device. Facebook application is installed on my device and a Facebook user is logged in prior to application launch. Default login behaviour SSO_WITH_FALLBACK is used. When I initiate a login from my application I observe the following behaviour: When the application starts the Facebook session is in CREATED state. A permissions dialog prompts me to allow basic read