Commit 0ebba712 authored by nk161690's avatar nk161690

gg play login

parent b89e0808
using UnityEngine; using UnityEngine;
using Facebook.Unity;
using UnityEngine.Android; using UnityEngine.Android;
using Photon.Pun; using Photon.Pun;
using System.Collections.Generic;
using Photon.Realtime; using Photon.Realtime;
using UnityEditor.VersionControl;
using TMPro;
using Unity.VisualScripting.Antlr3.Runtime;
using static Log;
using System; using System;
using Facebook.Unity;
public class FacebookLogin : MonoBehaviour public class FacebookLogin : MonoBehaviour
{ {
private readonly string[] facebookPermissions = { "public_profile", "email" }; private readonly string[] facebookPermissions = { "public_profile", "email" };
private LoginSession session = new LoginSession(); private Log.LoginSession session = new Log.LoginSession();
private Log log = new Log();
private void Awake() private void Awake()
{ {
// Initialize the Facebook SDK
if (!FB.IsInitialized) if (!FB.IsInitialized)
{ {
FB.Init(OnInitComplete); FB.Init(OnInitComplete);
...@@ -29,71 +22,88 @@ public class FacebookLogin : MonoBehaviour ...@@ -29,71 +22,88 @@ public class FacebookLogin : MonoBehaviour
} }
} }
private void OnApplicationQuit()
{
session.LogoutTime = DateTime.Now.ToString("dd/MM/yyyy HH:mm");
log.LogLoginSession(session);
}
private void OnInitComplete() private void OnInitComplete()
{ {
if (FB.IsInitialized) if (FB.IsInitialized)
{ {
// Enable or disable automatic App Events logging
FB.ActivateApp(); FB.ActivateApp();
} }
else else
{ {
Debug.Log("Failed to Initialize the Facebook SDK"); Debug.LogError("Failed to Initialize the Facebook SDK");
} }
} }
private void OnApplicationQuit()
{
session.LogoutTime = System.DateTime.Now.ToString("dd/MM/yyyy HH:mm");
Log.LogLoginSession(session);
}
public void OnFacebookLoginButtonClicked() public void OnFacebookLoginButtonClicked()
{ {
// Check for required permissions and request them if not granted if (FB.IsLoggedIn)
foreach (string permission in facebookPermissions)
{ {
if (!Permission.HasUserAuthorizedPermission(permission)) HandleLoggedIn();
{ }
// If not granted, request the permission else
Permission.RequestUserPermission(permission); {
} FB.LogInWithReadPermissions(callback: OnLoginComplete);
} }
// Request Facebook Login with read permissions
FB.LogInWithReadPermissions(facebookPermissions, OnLoginComplete);
} }
private void OnLoginComplete(ILoginResult result) private void OnLoginComplete(ILoginResult result)
{ {
if (result.Error == null && !result.Cancelled) if (result.Error == null && !result.Cancelled)
{ {
// Login successful, obtain the Facebook access token
string accessToken = AccessToken.CurrentAccessToken.TokenString; string accessToken = AccessToken.CurrentAccessToken.TokenString;
Debug.Log("Facebook Login Successful! Access Token: " + accessToken); Debug.Log("Facebook Login Successful! Access Token: " + accessToken);
// Use the accessToken to authenticate with Photon as a custom authentication type // Continue with Photon authentication
OnFacebookLoggedIn(); OnFacebookLoggedIn();
// Log // Log login session
session.Username = AccessToken.CurrentAccessToken.UserId; session.Username = AccessToken.CurrentAccessToken.UserId;
session.LoginTime = DateTime.Now.ToString("dd/MM/yyyy HH:mm"); session.LoginTime = System.DateTime.Now.ToString("dd/MM/yyyy HH:mm");
} }
else else
{ {
// Login failed or user cancelled
Debug.Log("Facebook Login Failed or Cancelled"); Debug.Log("Facebook Login Failed or Cancelled");
} }
} }
private void HandleLoggedIn()
{
string accessToken = AccessToken.CurrentAccessToken.TokenString;
string userID = AccessToken.CurrentAccessToken.UserId;
// Request user's Facebook information
FB.API("/me?fields=id,name,email", HttpMethod.GET, OnFacebookGraphAPICallback);
}
private void OnFacebookGraphAPICallback(IGraphResult result)
{
if (string.IsNullOrEmpty(result.Error))
{
// Handle user's Facebook data
string userName = result.ResultDictionary["name"].ToString();
string userEmail = result.ResultDictionary["email"].ToString();
Debug.Log($"User Name: {userName}, Email: {userEmail}");
}
else
{
Debug.LogError($"Facebook Graph API request failed: {result.Error}");
}
}
private void OnFacebookLoggedIn() private void OnFacebookLoggedIn()
{ {
// AccessToken class will have session details
string aToken = AccessToken.CurrentAccessToken.TokenString; string aToken = AccessToken.CurrentAccessToken.TokenString;
string facebookId = AccessToken.CurrentAccessToken.UserId; string facebookId = AccessToken.CurrentAccessToken.UserId;
PhotonNetwork.AuthValues = new AuthenticationValues(); PhotonNetwork.AuthValues = new AuthenticationValues();
PhotonNetwork.AuthValues.AuthType = CustomAuthenticationType.FacebookGaming; PhotonNetwork.AuthValues.AuthType = CustomAuthenticationType.FacebookGaming;
PhotonNetwork.AuthValues.UserId = facebookId; // alternatively set by server PhotonNetwork.AuthValues.UserId = facebookId;
PhotonNetwork.AuthValues.AddAuthParameter("token", aToken); PhotonNetwork.AuthValues.AddAuthParameter("token", aToken);
PhotonNetwork.ConnectUsingSettings(); PhotonNetwork.ConnectUsingSettings();
} }
......
...@@ -18,7 +18,7 @@ MonoBehaviour: ...@@ -18,7 +18,7 @@ MonoBehaviour:
appIds: appIds:
- 275337038528210 - 275337038528210
appLabels: appLabels:
- App Name - Demo
cookie: 1 cookie: 1
logging: 1 logging: 1
status: 1 status: 1
......
using GooglePlayGames; using GooglePlayGames;
using GooglePlayGames.BasicApi;
using System;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
...@@ -6,4 +8,21 @@ public class GgPlayLogin : MonoBehaviour ...@@ -6,4 +8,21 @@ public class GgPlayLogin : MonoBehaviour
{ {
[SerializeField] private TextMeshProUGUI message; [SerializeField] private TextMeshProUGUI message;
public void OnGgPlayLoginButtonClicked()
{
PlayGamesPlatform.Activate();
PlayGamesPlatform.Instance.Authenticate(ProcessAuthentication);
}
internal void ProcessAuthentication(SignInStatus status)
{
if (status == SignInStatus.Success)
{
message.text = "Connected";
}
else
{
message.text = "Failed";
}
}
} }
fileFormatVersion: 2
guid: 756b1bfedafc369488a592fb4771379c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2 fileFormatVersion: 2
guid: be5036f1d701f274ba37e68da140a648 guid: 141e7b111350a3a408340efe931efade
folderAsset: yes folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
......
...@@ -13,9 +13,10 @@ ...@@ -13,9 +13,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// </copyright> // </copyright>
#if UNITY_ANDROID
namespace GooglePlayGames { #if UNITY_ANDROID
namespace GooglePlayGames
{
/// ///
/// This file is automatically generated DO NOT EDIT! /// This file is automatically generated DO NOT EDIT!
/// ///
...@@ -29,33 +30,32 @@ namespace GooglePlayGames { ...@@ -29,33 +30,32 @@ namespace GooglePlayGames {
/// by checking whether it still retains its initial value - we prevent the constants from being /// by checking whether it still retains its initial value - we prevent the constants from being
/// replaced in the aforementioned search/replace by stripping off the leading and trailing "__". /// replaced in the aforementioned search/replace by stripping off the leading and trailing "__".
/// </summary> /// </summary>
public static class GameInfo { public static class GameInfo
{
private const string UnescapedApplicationId = "APP_ID"; private const string UnescapedApplicationId = "APP_ID";
private const string UnescapedIosClientId = "IOS_CLIENTID";
private const string UnescapedWebClientId = "WEB_CLIENTID"; private const string UnescapedWebClientId = "WEB_CLIENTID";
private const string UnescapedNearbyServiceId = "NEARBY_SERVICE_ID"; private const string UnescapedNearbyServiceId = "NEARBY_SERVICE_ID";
public const string ApplicationId = ""; // Filled in automatically public const string ApplicationId = "__APP_ID__"; // Filled in automatically
public const string IosClientId = "__IOS_CLIENTID__"; // Filled in automatically public const string WebClientId = "__WEB_CLIENTID__"; // Filled in automatically
public const string WebClientId = ""; // Filled in automatically public const string NearbyConnectionServiceId = "__NEARBY_SERVICE_ID__";
public const string NearbyConnectionServiceId = "";
public static bool ApplicationIdInitialized() {
return !string.IsNullOrEmpty(ApplicationId) && !ApplicationId.Equals(ToEscapedToken(UnescapedApplicationId));
}
public static bool IosClientIdInitialized() { public static bool ApplicationIdInitialized()
return !string.IsNullOrEmpty(IosClientId) && !IosClientId.Equals(ToEscapedToken(UnescapedIosClientId)); {
return !string.IsNullOrEmpty(ApplicationId) &&
!ApplicationId.Equals(ToEscapedToken(UnescapedApplicationId));
} }
public static bool WebClientIdInitialized() { public static bool WebClientIdInitialized()
{
return !string.IsNullOrEmpty(WebClientId) && !WebClientId.Equals(ToEscapedToken(UnescapedWebClientId)); return !string.IsNullOrEmpty(WebClientId) && !WebClientId.Equals(ToEscapedToken(UnescapedWebClientId));
} }
public static bool NearbyConnectionsInitialized() { public static bool NearbyConnectionsInitialized()
{
return !string.IsNullOrEmpty(NearbyConnectionServiceId) && return !string.IsNullOrEmpty(NearbyConnectionServiceId) &&
!NearbyConnectionServiceId.Equals(ToEscapedToken(UnescapedNearbyServiceId)); !NearbyConnectionServiceId.Equals(ToEscapedToken(UnescapedNearbyServiceId));
} }
/// <summary> /// <summary>
...@@ -63,9 +63,10 @@ namespace GooglePlayGames { ...@@ -63,9 +63,10 @@ namespace GooglePlayGames {
/// </summary> /// </summary>
/// <returns>The escaped token.</returns> /// <returns>The escaped token.</returns>
/// <param name="token">The Token</param> /// <param name="token">The Token</param>
private static string ToEscapedToken(string token) { private static string ToEscapedToken(string token)
{
return string.Format("__{0}__", token); return string.Format("__{0}__", token);
} }
} }
} }
#endif #endif //UNITY_ANDROID
\ No newline at end of file
...@@ -6,7 +6,7 @@ using System.Text; ...@@ -6,7 +6,7 @@ using System.Text;
using UnityEngine; using UnityEngine;
using static System.Collections.Specialized.BitVector32; using static System.Collections.Specialized.BitVector32;
public class Log public static class Log
{ {
public class LoginSession public class LoginSession
{ {
...@@ -15,7 +15,7 @@ public class Log ...@@ -15,7 +15,7 @@ public class Log
public string LogoutTime { get; set; } public string LogoutTime { get; set; }
} }
public async void LogLoginSession(LoginSession session) public static async void LogLoginSession(LoginSession session)
{ {
// Serialize the data as JSON // Serialize the data as JSON
string jsonData = JsonConvert.SerializeObject(session); string jsonData = JsonConvert.SerializeObject(session);
......
using System.Net.Http;
using TMPro;
using UnityEngine;
using Newtonsoft.Json;
using Photon.Realtime;
using Photon.Pun;
using System;
using static Log;
public class Login : MonoBehaviourPunCallbacks
{
[SerializeField] private TextMeshProUGUI username;
[SerializeField] private TextMeshProUGUI password;
[SerializeField] private TextMeshProUGUI message;
private readonly string baseURL = "http://localhost:5172/User/";
private string token = "";
private LoginSession session = new LoginSession();
private Log log = new Log();
public class RespondMessage
{
public bool Success { get; set; }
public string Message { get; set; }
public string Data { get; set; }
}
public async void CallLoginAPI()
{
string endpoint = "Login";
string email = CleanInput(username.text.Trim());
string pwd = CleanInput(password.text.Trim());
using (HttpClient client = new HttpClient())
{
string apiUrl = $"{baseURL}{endpoint}?email={email}&pwd={pwd}";
using (HttpResponseMessage res = await client.GetAsync(apiUrl))
{
using (HttpContent content = res.Content)
{
string data = await content.ReadAsStringAsync();
RespondMessage respondMessage = JsonConvert.DeserializeObject<RespondMessage>(data);
if (respondMessage.Success)
{
//AuthenticateWithPhoton("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
//.eyJlbWFpbCI6ImFkbWluIiwicm9sZSI6IjAiLCJUb2tlbklkIjoiYjcxOWIxYzEtNmI4MC00N2U1L
//ThjMGQtYjU4ZTAyN2UyMmE4IiwibmJmIjoxNjkwNDUzMTc3LCJleHAiOjE2OTA0NTQ5NzcsImlhdCI6MTY5MDQ1MzE3N30
//.W-0PXJ9GAmwOOXlKi8cEr3lBkwx9rGbpLKCCUYJkyCA");
token = respondMessage.Data;
AuthenticateWithPhoton(token);
session.Username = username.text;
session.LoginTime = DateTime.Now.ToString("dd/MM/yyyy");
}
else
{
message.text = "Account is not available. Check your email/password and try again.";
}
}
}
}
}
private string CleanInput(string input)
{
return input.Replace("\u200b", "").Trim();
}
private async void AuthenticateWithPhoton(string token)
{
using (HttpClient client = new HttpClient())
{
string apiURL = baseURL + token;
using (HttpResponseMessage res = await client.GetAsync(apiURL))
{
if(res.IsSuccessStatusCode)
{
// Token is valid. Proceed to connect to Photon.
var authParameters = new System.Collections.Generic.Dictionary<string, object>
{
{ "token", token }
};
PhotonNetwork.AuthValues = new AuthenticationValues(JsonUtility.ToJson(authParameters));
// Now, connect to Photon servers with the custom authentication values.
PhotonNetwork.ConnectUsingSettings();
}
else
{
// Token is invalid. Handle the error or display a message to the user.
Debug.Log("Invalid token. Unable to connect to Photon.");
message.text = "Invalid token. Unable to connect to Photon.";
}
}
}
}
}
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" /> <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true"> <uses-permission android:name="android.permission.INTERNET" />
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name"> <application android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
<intent-filter> <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name">
<action android:name="android.intent.action.MAIN" /> <intent-filter>
<category android:name="android.intent.category.LAUNCHER" /> <action android:name="android.intent.action.MAIN" />
</intent-filter> <category android:name="android.intent.category.LAUNCHER" />
<meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </intent-filter>
</activity> <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<activity android:name="com.facebook.unity.FBUnityLoginActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> </activity>
<activity android:name="com.facebook.unity.FBUnityDialogsActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> <activity android:name="com.facebook.unity.FBUnityLoginActivity"
<activity android:name="com.facebook.unity.FBUnityGamingServicesFriendFinderActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" /> android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
<activity android:name="com.facebook.unity.FBUnityAppLinkActivity" android:exported="true" /> android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity" android:exported="true" /> <activity android:name="com.facebook.unity.FBUnityDialogsActivity"
<activity android:name="com.facebook.unity.FBUnityGameRequestActivity" /> android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="fb275337038528210" /> android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<meta-data android:name="com.facebook.sdk.ClientToken" android:value="" /> <activity android:name="com.facebook.unity.FBUnityGamingServicesFriendFinderActivity"
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="true" /> android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
<meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled" android:value="true" /> android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
<provider android:name="com.facebook.FacebookContentProvider" android:authorities="com.facebook.app.FacebookContentProvider275337038528210" android:exported="true" /> <activity android:name="com.facebook.unity.FBUnityAppLinkActivity"
</application> android:exported="true" />
<activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity"
android:exported="true" />
<activity android:name="com.facebook.unity.FBUnityGameRequestActivity" />
<meta-data android:name="com.facebook.sdk.ApplicationId"
android:value="275337038528210" />
<meta-data android:name="com.facebook.sdk.ClientToken"
android:value="" />
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled"
android:value="true" />
<meta-data android:name="com.facebook.sdk.AdvertiserIDCollectionEnabled"
android:value="true" />
<activity android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="App" />
<activity android:name="com.facebook.CustomTabActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="275337038528210" />
</intent-filter>
</activity>
<provider android:name="com.facebook.FacebookContentProvider" android:authorities="com.facebook.app.FacebookContentProvider275337038528210" android:exported="true" />
</application>
</manifest> </manifest>
\ No newline at end of file
...@@ -6,15 +6,24 @@ ...@@ -6,15 +6,24 @@
android:versionCode="1" android:versionCode="1"
android:versionName="1.0" > android:versionName="1.0" >
<!-- Required for Nearby Connections -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<application> <application>
<!-- Required for Nearby Connections API -->
<meta-data android:name="com.google.android.gms.nearby.connection.SERVICE_ID"
android:value="com.QuengGameStudio.com.unity.mobile2D" />
<!-- The space in these forces it to be interpreted as a string vs. int --> <!-- The space in these forces it to be interpreted as a string vs. int -->
<meta-data android:name="com.google.android.gms.games.APP_ID" <meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="\u003" /> android:value="\u003470375050882" />
<!-- Keep track of which plugin is being used --> <!-- Keep track of which plugin is being used -->
<meta-data android:name="com.google.android.gms.games.unityVersion" <meta-data android:name="com.google.android.gms.games.unityVersion"
......
fileFormatVersion: 2 fileFormatVersion: 2
guid: 61ba7accaf3fd35448ce9a56377da37a guid: cd7beb176a0d3a076a19fa88bbbd2fa2
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:
......
...@@ -216,11 +216,9 @@ RectTransform: ...@@ -216,11 +216,9 @@ RectTransform:
m_LocalScale: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 1653803879}
- {fileID: 153483268}
- {fileID: 1126810946}
- {fileID: 849773381} - {fileID: 849773381}
- {fileID: 255268504} - {fileID: 255268504}
- {fileID: 65989005}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
...@@ -241,63 +239,7 @@ MonoBehaviour: ...@@ -241,63 +239,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe3586393ac9fe54fa149e87091296d8, type: 3} m_Script: {fileID: 11500000, guid: fe3586393ac9fe54fa149e87091296d8, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
username: {fileID: 254107716} --- !u!1 &65989004
password: {fileID: 702926745}
message: {fileID: 849773379}
--- !u!1 &87376271
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 87376272}
- component: {fileID: 87376273}
m_Layer: 5
m_Name: Text Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &87376272
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 87376271}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 569175306}
- {fileID: 702926744}
m_Father: {fileID: 138121126}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.5}
m_SizeDelta: {x: -20, y: -13}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &87376273
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 87376271}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding: {x: -8, y: -5, z: -8, w: -5}
m_Softness: {x: 0, y: 0}
--- !u!1 &138121125
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -305,48 +247,48 @@ GameObject: ...@@ -305,48 +247,48 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 138121126} - component: {fileID: 65989005}
- component: {fileID: 138121129} - component: {fileID: 65989008}
- component: {fileID: 138121128} - component: {fileID: 65989007}
- component: {fileID: 138121127} - component: {fileID: 65989006}
- component: {fileID: 65989009}
m_Layer: 5 m_Layer: 5
m_Name: InputPass m_Name: Google
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &138121126 --- !u!224 &65989005
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 138121125} m_GameObject: {fileID: 65989004}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children: []
- {fileID: 87376272} m_Father: {fileID: 33149374}
m_Father: {fileID: 153483268} m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -275, y: -100} m_AnchoredPosition: {x: 211.9, y: 0}
m_SizeDelta: {x: 550, y: 75} m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &138121127 --- !u!114 &65989006
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 138121125} m_GameObject: {fileID: 65989004}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3} m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
...@@ -377,71 +319,29 @@ MonoBehaviour: ...@@ -377,71 +319,29 @@ MonoBehaviour:
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 1
m_TargetGraphic: {fileID: 138121128} m_TargetGraphic: {fileID: 65989007}
m_TextViewport: {fileID: 87376272} m_OnClick:
m_TextComponent: {fileID: 702926745}
m_Placeholder: {fileID: 569175308}
m_VerticalScrollbar: {fileID: 0}
m_VerticalScrollbarEventHandler: {fileID: 0}
m_LayoutGroup: {fileID: 0}
m_ScrollSensitivity: 1
m_ContentType: 0
m_InputType: 0
m_AsteriskChar: 42
m_KeyboardType: 0
m_LineType: 0
m_HideMobileInput: 0
m_HideSoftKeyboard: 0
m_CharacterValidation: 0
m_RegexValue:
m_GlobalPointSize: 14
m_CharacterLimit: 0
m_OnEndEdit:
m_PersistentCalls:
m_Calls: []
m_OnSubmit:
m_PersistentCalls:
m_Calls: []
m_OnSelect:
m_PersistentCalls:
m_Calls: []
m_OnDeselect:
m_PersistentCalls:
m_Calls: []
m_OnTextSelection:
m_PersistentCalls:
m_Calls: []
m_OnEndTextSelection:
m_PersistentCalls:
m_Calls: []
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
m_OnTouchScreenKeyboardStatusChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls:
m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_Target: {fileID: 65989009}
m_CustomCaretColor: 0 m_TargetAssemblyTypeName: GgPlayLogin, Assembly-CSharp
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} m_MethodName: OnGgPlayLoginButtonClicked
m_Text: m_Mode: 1
m_CaretBlinkRate: 0.85 m_Arguments:
m_CaretWidth: 1 m_ObjectArgument: {fileID: 0}
m_ReadOnly: 0 m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_RichText: 1 m_IntArgument: 0
m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_FloatArgument: 0
m_OnFocusSelectAll: 1 m_StringArgument:
m_ResetOnDeActivation: 1 m_BoolArgument: 0
m_RestoreOriginalTextOnEscape: 1 m_CallState: 2
m_isRichTextEditingAllowed: 0 --- !u!114 &65989007
m_LineLimit: 0
m_InputValidator: {fileID: 0}
--- !u!114 &138121128
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 138121125} m_GameObject: {fileID: 65989004}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
...@@ -455,8 +355,8 @@ MonoBehaviour: ...@@ -455,8 +355,8 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0} m_Sprite: {fileID: 21300000, guid: 756b1bfedafc369488a592fb4771379c, type: 3}
m_Type: 1 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
m_FillMethod: 4 m_FillMethod: 4
...@@ -465,15 +365,28 @@ MonoBehaviour: ...@@ -465,15 +365,28 @@ MonoBehaviour:
m_FillOrigin: 0 m_FillOrigin: 0
m_UseSpriteMesh: 0 m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1 m_PixelsPerUnitMultiplier: 1
--- !u!222 &138121129 --- !u!222 &65989008
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 138121125} m_GameObject: {fileID: 65989004}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &153483267 --- !u!114 &65989009
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 65989004}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3233805e6ce28714fa7e4a9c6aff793a, type: 3}
m_Name:
m_EditorClassIdentifier:
message: {fileID: 849773379}
--- !u!1 &255268503
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -481,103 +394,145 @@ GameObject: ...@@ -481,103 +394,145 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 153483268} - component: {fileID: 255268504}
- component: {fileID: 153483271} - component: {fileID: 255268507}
- component: {fileID: 153483270} - component: {fileID: 255268506}
- component: {fileID: 153483269} - component: {fileID: 255268505}
- component: {fileID: 255268508}
m_Layer: 5 m_Layer: 5
m_Name: Canvas m_Name: Facebook
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &153483268 --- !u!224 &255268504
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 153483267} m_GameObject: {fileID: 255268503}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children: []
- {fileID: 1702101221}
- {fileID: 383841587}
- {fileID: 845390925}
- {fileID: 138121126}
m_Father: {fileID: 33149374} m_Father: {fileID: 33149374}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 20} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1016, y: 572} m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &153483269 --- !u!114 &255268505
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 153483267} m_GameObject: {fileID: 255268503}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1 m_Navigation:
m_BlockingObjects: 0 m_Mode: 3
m_BlockingMask: m_WrapAround: 0
serializedVersion: 2 m_SelectOnUp: {fileID: 0}
m_Bits: 4294967295 m_SelectOnDown: {fileID: 0}
--- !u!114 &153483270 m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 255268506}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 255268508}
m_TargetAssemblyTypeName: FacebookLogin, Assembly-CSharp
m_MethodName: OnFacebookLoginButtonClicked
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &255268506
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 153483267} m_GameObject: {fileID: 255268503}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_UiScaleMode: 0 m_Material: {fileID: 0}
m_ReferencePixelsPerUnit: 100 m_Color: {r: 1, g: 1, b: 1, a: 1}
m_ScaleFactor: 1 m_RaycastTarget: 1
m_ReferenceResolution: {x: 800, y: 600} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_ScreenMatchMode: 0 m_Maskable: 1
m_MatchWidthOrHeight: 0 m_OnCullStateChanged:
m_PhysicalUnit: 3 m_PersistentCalls:
m_FallbackScreenDPI: 96 m_Calls: []
m_DefaultSpriteDPI: 96 m_Sprite: {fileID: 21300000, guid: 0f02d67ebf474ff498bfb4817a71358a, type: 3}
m_DynamicPixelsPerUnit: 1 m_Type: 0
m_PresetInfoIsWorld: 0 m_PreserveAspect: 0
--- !u!223 &153483271 m_FillCenter: 1
Canvas: m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &255268507
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_CullTransparentMesh: 1
--- !u!114 &255268508
MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 153483267} m_GameObject: {fileID: 255268503}
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 m_EditorHideFlags: 0
m_RenderMode: 0 m_Script: {fileID: 11500000, guid: ab1db3a1da2c2b541bc729810838e50f, type: 3}
m_Camera: {fileID: 0} m_Name:
m_PlaneDistance: 100 m_EditorClassIdentifier:
m_PixelPerfect: 0 --- !u!1 &519420028
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!1 &254107714
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -585,1743 +540,97 @@ GameObject: ...@@ -585,1743 +540,97 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 254107715} - component: {fileID: 519420032}
- component: {fileID: 254107717} - component: {fileID: 519420031}
- component: {fileID: 254107716} - component: {fileID: 519420029}
m_Layer: 5 - component: {fileID: 519420033}
m_Name: Text m_Layer: 0
m_TagString: Untagged m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &254107715 --- !u!81 &519420029
RectTransform: AudioListener:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 254107714} m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_Enabled: 1
m_LocalPosition: {x: 0, y: 0, z: 0} --- !u!20 &519420031
m_LocalScale: {x: 1, y: 1, z: 1} Camera:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1727093137}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &254107716
MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 254107714} m_GameObject: {fileID: 519420028}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 serializedVersion: 2
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_ClearFlags: 2
m_Name: m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_EditorClassIdentifier: m_projectionMatrixMode: 1
m_Material: {fileID: 0} m_GateFitMode: 2
m_Color: {r: 1, g: 1, b: 1, a: 1} m_FOVAxisMode: 0
m_RaycastTarget: 1 m_SensorSize: {x: 36, y: 24}
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_LensShift: {x: 0, y: 0}
m_Maskable: 1 m_FocalLength: 50
m_OnCullStateChanged: m_NormalizedViewPortRect:
m_PersistentCalls: serializedVersion: 2
m_Calls: [] x: 0
m_text: "\u200B" y: 0
m_isRightToLeft: 0 width: 1
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} height: 1
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} near clip plane: 0.3
m_fontSharedMaterials: [] far clip plane: 1000
m_fontMaterial: {fileID: 0} field of view: 60
m_fontMaterials: [] orthographic: 1
m_fontColor32: orthographic size: 5
serializedVersion: 2 m_Depth: -1
rgba: 4281479730 m_CullingMask:
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} serializedVersion: 2
m_enableVertexGradient: 0 m_Bits: 4294967295
m_colorMode: 3 m_RenderingPath: -1
m_fontColorGradient: m_TargetTexture: {fileID: 0}
topLeft: {r: 1, g: 1, b: 1, a: 1} m_TargetDisplay: 0
topRight: {r: 1, g: 1, b: 1, a: 1} m_TargetEye: 0
bottomLeft: {r: 1, g: 1, b: 1, a: 1} m_HDR: 1
bottomRight: {r: 1, g: 1, b: 1, a: 1} m_AllowMSAA: 0
m_fontColorGradientPreset: {fileID: 0} m_AllowDynamicResolution: 0
m_spriteAsset: {fileID: 0} m_ForceIntoRT: 0
m_tintAllSprites: 0 m_OcclusionCulling: 0
m_StyleSheet: {fileID: 0} m_StereoConvergence: 10
m_TextStyleHashCode: -1183493901 m_StereoSeparation: 0.022
m_overrideHtmlColors: 0 --- !u!4 &519420032
m_faceColor: Transform:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 1
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &254107717
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 254107714}
m_CullTransparentMesh: 1
--- !u!1 &255268503
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 255268504}
- component: {fileID: 255268507}
- component: {fileID: 255268506}
- component: {fileID: 255268505}
- component: {fileID: 255268508}
m_Layer: 5
m_Name: Facebook
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &255268504
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 33149374}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 450}
m_SizeDelta: {x: 150, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &255268505
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 255268506}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 255268508}
m_TargetAssemblyTypeName: FacebookLogin, Assembly-CSharp
m_MethodName: OnFacebookLoginButtonClicked
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &255268506
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 0f02d67ebf474ff498bfb4817a71358a, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &255268507
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_CullTransparentMesh: 1
--- !u!114 &255268508
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 255268503}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ab1db3a1da2c2b541bc729810838e50f, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &366359934
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 366359935}
- component: {fileID: 366359937}
- component: {fileID: 366359936}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &366359935
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 366359934}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1126810946}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &366359936
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 366359934}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Submit
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 24
m_fontSizeBase: 24
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &366359937
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 366359934}
m_CullTransparentMesh: 1
--- !u!1 &383841586
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 383841587}
- component: {fileID: 383841589}
- component: {fileID: 383841588}
m_Layer: 5
m_Name: Pass
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &383841587
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383841586}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 153483268}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 240, y: -100}
m_SizeDelta: {x: 500, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &383841588
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383841586}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Password:'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 72
m_fontSizeBase: 72
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &383841589
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383841586}
m_CullTransparentMesh: 1
--- !u!1 &519420028
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 519420032}
- component: {fileID: 519420031}
- component: {fileID: 519420029}
- component: {fileID: 519420033}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &519420029
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_Enabled: 1
--- !u!20 &519420031
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 2
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 0
m_HDR: 1
m_AllowMSAA: 0
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 0
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &519420032
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &519420033
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: abbec8d2166306344b83dc07dadc742e, type: 3}
m_Name:
m_EditorClassIdentifier:
message: {fileID: 849773379}
--- !u!1 &569175305
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 569175306}
- component: {fileID: 569175309}
- component: {fileID: 569175308}
- component: {fileID: 569175307}
m_Layer: 5
m_Name: Placeholder
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &569175306
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 569175305}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 87376272}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &569175307
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 569175305}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 1
m_MinWidth: -1
m_MinHeight: -1
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &569175308
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 569175305}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Enter password...
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 2150773298
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 2
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 1
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &569175309
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 569175305}
m_CullTransparentMesh: 1
--- !u!1 &702926743
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 702926744}
- component: {fileID: 702926746}
- component: {fileID: 702926745}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &702926744
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 702926743}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 87376272}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &702926745
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 702926743}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u200B"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 1
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &702926746
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 702926743}
m_CullTransparentMesh: 1
--- !u!1 &845390924
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 845390925}
- component: {fileID: 845390928}
- component: {fileID: 845390927}
- component: {fileID: 845390926}
m_Layer: 5
m_Name: InputUser
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &845390925
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 845390924}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1727093137}
m_Father: {fileID: 153483268}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -275, y: 0}
m_SizeDelta: {x: 550, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &845390926
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 845390924}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 845390927}
m_TextViewport: {fileID: 1727093137}
m_TextComponent: {fileID: 254107716}
m_Placeholder: {fileID: 1231507469}
m_VerticalScrollbar: {fileID: 0}
m_VerticalScrollbarEventHandler: {fileID: 0}
m_LayoutGroup: {fileID: 0}
m_ScrollSensitivity: 1
m_ContentType: 0
m_InputType: 0
m_AsteriskChar: 42
m_KeyboardType: 0
m_LineType: 0
m_HideMobileInput: 0
m_HideSoftKeyboard: 0
m_CharacterValidation: 0
m_RegexValue:
m_GlobalPointSize: 14
m_CharacterLimit: 0
m_OnEndEdit:
m_PersistentCalls:
m_Calls: []
m_OnSubmit:
m_PersistentCalls:
m_Calls: []
m_OnSelect:
m_PersistentCalls:
m_Calls: []
m_OnDeselect:
m_PersistentCalls:
m_Calls: []
m_OnTextSelection:
m_PersistentCalls:
m_Calls: []
m_OnEndTextSelection:
m_PersistentCalls:
m_Calls: []
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
m_OnTouchScreenKeyboardStatusChanged:
m_PersistentCalls:
m_Calls: []
m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_CustomCaretColor: 0
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
m_Text:
m_CaretBlinkRate: 0.85
m_CaretWidth: 1
m_ReadOnly: 0
m_RichText: 1
m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_OnFocusSelectAll: 1
m_ResetOnDeActivation: 1
m_RestoreOriginalTextOnEscape: 1
m_isRichTextEditingAllowed: 0
m_LineLimit: 0
m_InputValidator: {fileID: 0}
--- !u!114 &845390927
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 845390924}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &845390928
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 845390924}
m_CullTransparentMesh: 1
--- !u!1 &849773378
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 849773381}
- component: {fileID: 849773380}
- component: {fileID: 849773379}
m_Layer: 5
m_Name: Message
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &849773379
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 849773378}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190335
m_fontColor: {r: 1, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: -259.44263, y: 0, z: -257.44714, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &849773380
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 849773378}
m_CullTransparentMesh: 1
--- !u!224 &849773381
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 849773378}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 33149374}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 240}
m_SizeDelta: {x: 500, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &858249970
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 858249973}
- component: {fileID: 858249972}
- component: {fileID: 858249971}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &858249971
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 858249970}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SendPointerHoverToParent: 1
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &858249972
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 858249970}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!4 &858249973
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 858249970}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1126810945
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1126810946}
- component: {fileID: 1126810949}
- component: {fileID: 1126810948}
- component: {fileID: 1126810947}
m_Layer: 5
m_Name: Submit
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1126810946
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1126810945}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 4, y: 4, z: 4}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 366359935}
m_Father: {fileID: 33149374}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 100}
m_SizeDelta: {x: 160, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1126810947
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1126810945}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1126810948}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 33149375}
m_TargetAssemblyTypeName: Login, Assembly-CSharp
m_MethodName: CallLoginAPI
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &1126810948
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1126810945}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1126810949
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1126810945}
m_CullTransparentMesh: 1
--- !u!1 &1231507466
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1231507467}
- component: {fileID: 1231507470}
- component: {fileID: 1231507469}
- component: {fileID: 1231507468}
m_Layer: 5
m_Name: Placeholder
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1231507467
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1231507466}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1727093137}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1231507468
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1231507466}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 1
m_MinWidth: -1
m_MinHeight: -1
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &1231507469
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1231507466}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Enter username...
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 2150773298
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 2
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 1
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1231507470
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1231507466}
m_CullTransparentMesh: 1
--- !u!1 &1653803878
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1653803879}
- component: {fileID: 1653803881}
- component: {fileID: 1653803880}
m_Layer: 5
m_Name: Login
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1653803879
RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1653803878} m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 33149374} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} --- !u!114 &519420033
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 200}
m_SizeDelta: {x: 300, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1653803880
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1653803878} m_GameObject: {fileID: 519420028}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_Script: {fileID: 11500000, guid: abbec8d2166306344b83dc07dadc742e, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} message: {fileID: 849773379}
m_Color: {r: 1, g: 1, b: 1, a: 1} --- !u!1 &849773378
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Login
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 100
m_fontSizeBase: 100
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1653803881
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1653803878}
m_CullTransparentMesh: 1
--- !u!1 &1702101220
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -2329,43 +638,23 @@ GameObject: ...@@ -2329,43 +638,23 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1702101221} - component: {fileID: 849773381}
- component: {fileID: 1702101223} - component: {fileID: 849773380}
- component: {fileID: 1702101222} - component: {fileID: 849773379}
m_Layer: 5 m_Layer: 5
m_Name: User m_Name: Message
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &1702101221 --- !u!114 &849773379
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1702101220}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 153483268}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 240, y: 0}
m_SizeDelta: {x: 500, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1702101222
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1702101220} m_GameObject: {fileID: 849773378}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
...@@ -2379,7 +668,7 @@ MonoBehaviour: ...@@ -2379,7 +668,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_text: 'Username:' m_text:
m_isRightToLeft: 0 m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
...@@ -2388,8 +677,8 @@ MonoBehaviour: ...@@ -2388,8 +677,8 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4278190335
m_fontColor: {r: 1, g: 1, b: 1, a: 1} m_fontColor: {r: 1, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
m_fontColorGradient: m_fontColorGradient:
...@@ -2406,8 +695,8 @@ MonoBehaviour: ...@@ -2406,8 +695,8 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 72 m_fontSize: 36
m_fontSizeBase: 72 m_fontSizeBase: 36
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 0
m_fontSizeMin: 18 m_fontSizeMin: 18
...@@ -2442,21 +731,41 @@ MonoBehaviour: ...@@ -2442,21 +731,41 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0 m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1 m_useMaxVisibleDescender: 1
m_pageToDisplay: 1 m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0} m_margin: {x: -259.44263, y: 0, z: -257.44714, w: 0}
m_isUsingLegacyAnimationComponent: 0 m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0 m_isVolumetricText: 0
m_hasFontAssetChanged: 0 m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0} m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1702101223 --- !u!222 &849773380
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1702101220} m_GameObject: {fileID: 849773378}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &1727093136 --- !u!224 &849773381
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 849773378}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 33149374}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 220}
m_SizeDelta: {x: 500, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &858249970
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
...@@ -2464,48 +773,63 @@ GameObject: ...@@ -2464,48 +773,63 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1727093137} - component: {fileID: 858249973}
- component: {fileID: 1727093138} - component: {fileID: 858249972}
m_Layer: 5 - component: {fileID: 858249971}
m_Name: Text Area m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!224 &1727093137 --- !u!114 &858249971
RectTransform: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727093136} m_GameObject: {fileID: 858249970}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_Enabled: 1
m_LocalPosition: {x: 0, y: 0, z: 0} m_EditorHideFlags: 0
m_LocalScale: {x: 1, y: 1, z: 1} m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_ConstrainProportionsScale: 0 m_Name:
m_Children: m_EditorClassIdentifier:
- {fileID: 1231507467} m_SendPointerHoverToParent: 1
- {fileID: 254107715} m_HorizontalAxis: Horizontal
m_Father: {fileID: 845390925} m_VerticalAxis: Vertical
m_RootOrder: 0 m_SubmitButton: Submit
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_CancelButton: Cancel
m_AnchorMin: {x: 0, y: 0} m_InputActionsPerSecond: 10
m_AnchorMax: {x: 1, y: 1} m_RepeatDelay: 0.5
m_AnchoredPosition: {x: 0, y: -0.5} m_ForceModuleActive: 0
m_SizeDelta: {x: -20, y: -13} --- !u!114 &858249972
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1727093138
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727093136} m_GameObject: {fileID: 858249970}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3} m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Padding: {x: -8, y: -5, z: -8, w: -5} m_FirstSelected: {fileID: 0}
m_Softness: {x: 0, y: 0} m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!4 &858249973
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 858249970}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
fileFormatVersion: 2
guid: 563892b0712cfe651962a097a2e5f99f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 7d8daeeb76a4d369f9ccf2ebefbb24db
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
SceneSettings:
m_ObjectHideFlags: 0
m_PVSData:
m_PVSObjectsArray: []
m_PVSPortalsArray: []
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: .25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
m_Fog: 0
m_FogColor: {r: .5, g: .5, b: .5, a: 1}
m_FogMode: 3
m_FogDensity: .00999999978
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientEquatorColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientGroundColor: {r: .200000003, g: .200000003, b: .200000003, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: .5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
--- !u!127 &3
LevelGameManager:
m_ObjectHideFlags: 0
--- !u!157 &4
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 5
m_GIWorkflowMode: 1
m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_TemporalCoherenceThreshold: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 3
m_Resolution: 1
m_BakeResolution: 50
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AOMaxDistance: 1
m_Padding: 2
m_CompAOExponent: 0
m_LightmapParameters: {fileID: 0}
m_TextureCompression: 0
m_FinalGather: 0
m_FinalGatherRayCount: 1024
m_LightmapSnapshot: {fileID: 0}
m_RuntimeCPUUsage: 25
--- !u!196 &5
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentRadius: .5
agentHeight: 2
agentSlope: 45
agentClimb: .400000006
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
accuratePlacement: 0
minRegionArea: 2
cellSize: .166666657
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &555440646
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 555440648}
- 114: {fileID: 555440647}
m_Layer: 0
m_Name: GameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &555440647
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 555440646}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bacc4fefc887d4c17b2c07a8ddf02557, type: 3}
m_Name:
m_EditorClassIdentifier:
GuiSkin: {fileID: 11400000, guid: 2319c86c507e94d9aa50e3503b392986, type: 2}
--- !u!4 &555440648
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 555440646}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 366.401489, y: 48.5, z: 41.6404495}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!1 &1058423488
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 1058423489}
- 198: {fileID: 1058423491}
- 199: {fileID: 1058423490}
m_Layer: 0
m_Name: GameObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1058423489
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1058423488}
m_LocalRotation: {x: -.707106829, y: 0, z: 0, w: .707106709}
m_LocalPosition: {x: 0, y: -6.32232189, z: 10.0000019}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1667905708}
m_RootOrder: 0
--- !u!199 &1058423490
ParticleSystemRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1058423488}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_Materials:
- {fileID: 10301, guid: 0000000000000000f000000000000000, type: 0}
m_SubsetIndices:
m_StaticBatchRoot: {fileID: 0}
m_UseLightProbes: 0
m_ReflectionProbeUsage: 1
m_ProbeAnchor: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_ImportantGI: 0
m_AutoUVMaxDistance: .5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingOrder: 0
m_RenderMode: 0
m_MaxParticleSize: .5
m_CameraVelocityScale: 0
m_VelocityScale: 0
m_LengthScale: 2
m_SortingFudge: 0
m_NormalDirection: 1
m_SortMode: 0
m_Mesh: {fileID: 0}
m_Mesh1: {fileID: 0}
m_Mesh2: {fileID: 0}
m_Mesh3: {fileID: 0}
--- !u!198 &1058423491
ParticleSystem:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1058423488}
lengthInSec: 5
startDelay: 0
speed: 1
randomSeed: 0
looping: 1
prewarm: 1
playOnAwake: 1
moveWithTransform: 1
InitialModule:
enabled: 1
startLifetime:
scalar: 5
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
startSpeed:
scalar: 5
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
startColor:
maxGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minColor:
serializedVersion: 2
rgba: 4294967295
maxColor:
serializedVersion: 2
rgba: 733197235
minMaxState: 0
startSize:
scalar: 4
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
startRotation:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
gravityModifier: 0
inheritVelocity: 0
maxNumParticles: 200
ShapeModule:
serializedVersion: 2
enabled: 1
type: 4
radius: 1
angle: 17.6519623
length: 5
boxX: 1
boxY: 1
boxZ: 1
arc: 360
placementMode: 0
m_Mesh: {fileID: 0}
randomDirection: 0
EmissionModule:
enabled: 1
m_Type: 0
rate:
scalar: 20
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
cnt0: 30
cnt1: 30
cnt2: 30
cnt3: 30
time0: 0
time1: 0
time2: 0
time3: 0
m_BurstCount: 0
SizeModule:
enabled: 0
curve:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 1
RotationModule:
enabled: 0
curve:
scalar: .785398185
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
ColorModule:
enabled: 0
gradient:
maxGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minColor:
serializedVersion: 2
rgba: 4294967295
maxColor:
serializedVersion: 2
rgba: 4294967295
minMaxState: 1
UVModule:
enabled: 0
frameOverTime:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 1
tangentMode: 0
- time: 1
value: 1
inSlope: 1
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 1
tangentMode: 0
- time: 1
value: 1
inSlope: 1
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 1
tilesX: 1
tilesY: 1
animationType: 0
rowIndex: 0
cycles: 1
randomRow: 1
VelocityModule:
enabled: 0
x:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
y:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
z:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
inWorldSpace: 0
ForceModule:
enabled: 0
x:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
y:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
z:
scalar: 0
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
inWorldSpace: 0
randomizePerFrame: 0
ExternalForcesModule:
enabled: 0
multiplier: 1
ClampVelocityModule:
enabled: 0
x:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
y:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
z:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
magnitude:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
separateAxis: 0
inWorldSpace: 0
dampen: 1
SizeBySpeedModule:
enabled: 0
curve:
scalar: 1
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 1
range: {x: 0, y: 1}
RotationBySpeedModule:
enabled: 0
curve:
scalar: .785398185
maxCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minCurve:
serializedVersion: 2
m_Curve:
- time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
minMaxState: 0
range: {x: 0, y: 1}
ColorBySpeedModule:
enabled: 0
gradient:
maxGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minGradient:
key0:
serializedVersion: 2
rgba: 4294967295
key1:
serializedVersion: 2
rgba: 4294967295
key2:
serializedVersion: 2
rgba: 0
key3:
serializedVersion: 2
rgba: 0
key4:
serializedVersion: 2
rgba: 0
key5:
serializedVersion: 2
rgba: 0
key6:
serializedVersion: 2
rgba: 0
key7:
serializedVersion: 2
rgba: 0
ctime0: 0
ctime1: 65535
ctime2: 0
ctime3: 0
ctime4: 0
ctime5: 0
ctime6: 0
ctime7: 0
atime0: 0
atime1: 65535
atime2: 0
atime3: 0
atime4: 0
atime5: 0
atime6: 0
atime7: 0
m_NumColorKeys: 2
m_NumAlphaKeys: 2
minColor:
serializedVersion: 2
rgba: 4294967295
maxColor:
serializedVersion: 2
rgba: 4294967295
minMaxState: 1
range: {x: 0, y: 1}
CollisionModule:
enabled: 0
type: 0
plane0: {fileID: 0}
plane1: {fileID: 0}
plane2: {fileID: 0}
plane3: {fileID: 0}
plane4: {fileID: 0}
plane5: {fileID: 0}
dampen: 0
bounce: 1
energyLossOnCollision: 0
minKillSpeed: 0
particleRadius: .00999999978
collidesWith:
serializedVersion: 2
m_Bits: 4294967295
quality: 0
voxelSize: .5
collisionMessages: 0
SubModule:
enabled: 0
subEmitterBirth: {fileID: 0}
subEmitterBirth1: {fileID: 0}
subEmitterCollision: {fileID: 0}
subEmitterCollision1: {fileID: 0}
subEmitterDeath: {fileID: 0}
subEmitterDeath1: {fileID: 0}
--- !u!1 &1667905703
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 1667905708}
- 20: {fileID: 1667905707}
- 124: {fileID: 1667905705}
- 81: {fileID: 1667905704}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1667905704
AudioListener:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1667905703}
m_Enabled: 1
--- !u!124 &1667905705
Behaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1667905703}
m_Enabled: 1
--- !u!20 &1667905707
Camera:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1667905703}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 2
m_BackGroundColor: {r: .272058845, g: .272058845, b: .272058845, a: .0196078438}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: .300000012
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 100
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_HDR: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: .0219999999
m_StereoMirrorMode: 0
--- !u!4 &1667905708
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1667905703}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1058423489}
m_Father: {fileID: 0}
m_RootOrder: 1
fileFormatVersion: 2
guid: e883dcb7dd6de42499051215571c6ab1
timeCreated: 1427227169
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 1e0e6855446f4992d988b19ebc34e214
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
// <copyright file="AchievementGUI.cs" company="Google Inc.">
// Copyright (C) 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
namespace SmokeTest
{
using UnityEngine;
using UnityEngine.SocialPlatforms;
using GooglePlayGames;
public class AchievementGUI : MonoBehaviour
{
private MainGui mOwner;
private string mStatus;
// Constructed by the main gui
internal AchievementGUI(MainGui owner)
{
mOwner = owner;
mStatus = "";
}
internal void OnGUI()
{
float height = Screen.height / 11f;
GUILayout.BeginVertical(GUILayout.Height(Screen.height), GUILayout.Width(Screen.width));
GUILayout.Label("SmokeTest: Achievements", GUILayout.Height(height));
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Ach Reveal", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoAchievementReveal(GPGSIds.achievement_achievementtoreveal);
}
if (GUILayout.Button("Ach Reveal Incremental", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoAchievementReveal(GPGSIds.achievement_achievement_hidden_incremental);
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Ach Unlock", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoAchievementUnlock();
}
if (GUILayout.Button("Ach Increment", GUILayout.ExpandHeight(true)))
{
DoAchievementIncrement(GPGSIds.achievement_achievementtoincrement);
}
if (GUILayout.Button("Ach Increment Hidden", GUILayout.ExpandHeight(true)))
{
DoAchievementIncrement(GPGSIds.achievement_achievement_hidden_incremental);
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("List Achievements", GUILayout.ExpandHeight(true)))
{
DoListAchievements();
}
if (GUILayout.Button("List Achievement Descriptions", GUILayout.ExpandHeight(true)))
{
DoListAchievementDescriptions();
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Ach ShowUI", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoAchievementUI();
}
if (GUILayout.Button("Back", GUILayout.ExpandHeight(true),
GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
mOwner.SetUI(MainGui.Ui.Main);
}
GUILayout.EndHorizontal();
GUILayout.FlexibleSpace();
GUILayout.Label(mStatus);
GUILayout.EndVertical();
}
void SetStandBy(string msg)
{
mStatus = msg;
}
void EndStandBy()
{
mStatus += " (Done!)";
}
internal void ShowEffect(bool success)
{
Camera.main.backgroundColor =
success ? new Color(0.0f, 0.0f, 0.8f, 1.0f) : new Color(0.8f, 0.0f, 0.0f, 1.0f);
}
internal void DoAchievementReveal(string achId)
{
SetStandBy("Revealing achievement...");
Social.ReportProgress(
achId,
0.0f,
(bool success) =>
{
EndStandBy();
mStatus = success ? "Revealed successfully." : "*** Failed to reveal ach.";
Debug.Log("AchievementToReveal completed: " + mStatus);
ShowEffect(success);
});
}
internal void DoAchievementUnlock()
{
SetStandBy("Unlocking achievement...");
Social.ReportProgress(
GPGSIds.achievement_achievementtounlock,
100.0f,
(bool success) =>
{
EndStandBy();
mStatus = success ? "Unlocked successfully." : "*** Failed to unlock ach.";
ShowEffect(success);
});
}
internal void DoAchievementIncrement(string achId)
{
PlayGamesPlatform p = (PlayGamesPlatform) Social.Active;
SetStandBy("Incrementing achievement...");
p.IncrementAchievement(
achId,
1,
(bool success) =>
{
EndStandBy();
mStatus = success ? "Incremented successfully." : "*** Failed to increment ach.";
ShowEffect(success);
});
}
internal void DoAchievementUI()
{
Social.ShowAchievementsUI();
ShowEffect(true);
}
internal void DoListAchievements()
{
Social.LoadAchievements(achievements =>
{
mStatus = "Loaded " + achievements.Length + " achievments";
foreach (IAchievement ach in achievements)
{
mStatus += "\n " + ach.id + ": " + ach.completed;
}
});
}
internal void DoListAchievementDescriptions()
{
Social.LoadAchievementDescriptions(achievements =>
{
mStatus = "Loaded " + achievements.Length + " achievments";
foreach (IAchievementDescription ach in achievements)
{
mStatus += "\n " + ach.id + ": " + ach.title;
}
});
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: ec4a529b8f5ec47a686ad2a3aa78ed44
timeCreated: 1440612853
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
/*
* Copyright (C) 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Assembly-CSharp")]
// Allow internal visibility for testing purposes.
[assembly: InternalsVisibleTo("PluginDev.UnitTests")]
\ No newline at end of file
fileFormatVersion: 2
guid: 73c47830015c7489c8e61bf7ebe012ea
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
// <copyright file="FriendsGui.cs" company="Google Inc.">
// Copyright (C) 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
namespace SmokeTest
{
using UnityEngine;
using UnityEngine.SocialPlatforms;
using GooglePlayGames;
using System;
using System.Linq;
using GooglePlayGames.BasicApi;
using GooglePlayGames.BasicApi.SavedGame;
using GooglePlayGames.OurUtils;
public class FriendsGUI : MonoBehaviour
{
private MainGui mOwner;
private FriendsListVisibilityStatus mFriendsListVisibilityStatus = FriendsListVisibilityStatus.Unknown;
// Constructed by the main gui
internal FriendsGUI(MainGui owner)
{
mOwner = owner;
}
internal void OnGUI()
{
float height = Screen.height / 11f;
GUILayout.BeginVertical(GUILayout.Height(Screen.height), GUILayout.Width(Screen.width));
GUILayout.Label("SmokeTest: Friends", GUILayout.Height(height));
GUILayout.Label("Friend List Visibility Status: " + mFriendsListVisibilityStatus,
GUILayout.Height(height));
GUILayout.Label("Number of friends loaded: " + Social.localUser.friends.Length,
GUILayout.Height(height));
GUILayout.Label("Load Friends Status: " + PlayGamesPlatform.Instance.GetLastLoadFriendsStatus(),
GUILayout.Height(height));
string firstFriend = "";
string firstFriendId= "";
if (Social.localUser.friends.Length > 0)
{
firstFriend = Social.localUser.friends[0].userName;
firstFriendId = Social.localUser.friends[0].id;
}
GUILayout.Label("First Friend: " + firstFriend,GUILayout.Height(height));
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Back", GUILayout.ExpandHeight(true), GUILayout.Height(height),
GUILayout.ExpandWidth(true)))
{
mOwner.SetUI(MainGui.Ui.Main);
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (mFriendsListVisibilityStatus == FriendsListVisibilityStatus.Unknown)
{
PlayGamesPlatform.Instance.GetFriendsListVisibility( /* forceReload= */ true,
friendsListVisibilityStatus => { mFriendsListVisibilityStatus = friendsListVisibilityStatus; });
}
// Show friends paginated
if (GUILayout.Button("Load Friends", GUILayout.ExpandHeight(true), GUILayout.Height(height),
GUILayout.ExpandWidth(true)))
{
PlayGamesPlatform.Instance.LoadFriends(2, /* forceReload= */ false, /* callback= */ null);
}
if (GUILayout.Button("Load More Friends", GUILayout.ExpandHeight(true),
GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
PlayGamesPlatform.Instance.LoadMoreFriends(2, /* callback= */ null);
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Load All Friends", GUILayout.ExpandHeight(true),
GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
Social.localUser.LoadFriends(/* callback= */ null);
}
if (GUILayout.Button("AskForLoadFriendsResolution", GUILayout.ExpandHeight(true),
GUILayout.Height(height),
GUILayout.ExpandWidth(true)))
{
PlayGamesPlatform.Instance.AskForLoadFriendsResolution(status =>
{
// Will be updated next OnGui call
mFriendsListVisibilityStatus = FriendsListVisibilityStatus.Unknown;
});
}
GUILayout.EndHorizontal();
GUILayout.Space(50f);
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (Social.localUser.friends.Length > 0)
{
if (GUILayout.Button("Show Profile: " + firstFriend, GUILayout.ExpandHeight(true),
GUILayout.Height(height),
GUILayout.ExpandWidth(true)))
{
PlayGamesPlatform.Instance.ShowCompareProfileWithAlternativeNameHintsUI(
firstFriendId, /* otherPlayerInGameName= */ null, /* currentPlayerInGameName= */ null,
/* callback= */ null);
}
}
GUILayout.EndHorizontal();
GUILayout.FlexibleSpace();
GUILayout.EndVertical();
}
}
}
fileFormatVersion: 2 fileFormatVersion: 2
guid: fe3586393ac9fe54fa149e87091296d8 guid: 7e22dc32c06d56dad9af9089c42ca0ba
MonoImporter: MonoImporter:
externalObjects: {} externalObjects: {}
serializedVersion: 2 serializedVersion: 2
......
// <copyright file="GPGSIds.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
///
/// This file is automatically generated DO NOT EDIT!
///
/// These are the constants defined in the Play Games Console for Game Services
/// Resources.
///
namespace SmokeTest
{
public static class GPGSIds
{
/*
* This file is a placeholder to allow compilation of the sample code
* The actual values are populated by the plugin when Setup is run
* using the resource data from the Play Console.
*/
public const string
achievement_achievementtoincrement = "PLACEHOLDER - This file will be generated."; // <GPGSID>
public const string achievement_achievementtounlock = "PLACEHOLDER - This file will be generated."; // <GPGSID>
public const string achievement_achievementtoreveal = "PLACEHOLDER - This file will be generated."; // <GPGSID>
public const string event_smokingevent = "PLACEHOLDER - This file will be generated."; // <GPGSID>
public const string achievement_achievement_hidden_incremental =
"PLACEHOLDER - This file will be generated."; // <GPGSID>
public const string
leaderboard_leaders_in_smoketesting = "PLACEHOLDER - This file will be generated."; // <GPGSID>
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: 16c753bca01504137bdb5b6f384aaa45
timeCreated: 1440612853
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
// <copyright file="LeaderboardGUI.cs" company="Google Inc.">
// Copyright (C) 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
namespace SmokeTest
{
using System;
using System.Collections.Generic;
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine;
using UnityEngine.SocialPlatforms;
public class LeaderboardGUI : MonoBehaviour
{
private MainGui mOwner;
private string mStatus;
private LeaderboardScoreData mScoreData;
// Constructed by the main gui
internal LeaderboardGUI(MainGui owner)
{
mOwner = owner;
mStatus = "";
}
internal void OnGUI()
{
float height = Screen.height / 11f;
GUILayout.BeginVertical(GUILayout.Height(Screen.height), GUILayout.Width(Screen.width));
GUILayout.Label("SmokeTest: Leaderboards", GUILayout.Height(height));
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("LB Show UI", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoLeaderboardUI();
}
if (GUILayout.Button("Post Score", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoPostScore();
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Load Public Scores", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoPublicLoadScores();
}
if (GUILayout.Button("Load Leaderboard", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoLoadLeaderboard();
}
GUILayout.EndHorizontal();
GUILayout.Space(20);
GUILayout.BeginHorizontal();
if (GUILayout.Button("Load Social Scores", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoSocialLoadScores();
}
if (GUILayout.Button("Load More Scores", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
DoLoadMoreScores();
}
GUILayout.EndHorizontal();
GUILayout.BeginHorizontal(GUILayout.Height(height));
if (GUILayout.Button("Back", GUILayout.Height(height), GUILayout.ExpandWidth(true)))
{
mOwner.SetUI(MainGui.Ui.Main);
}
GUILayout.EndHorizontal();
GUILayout.FlexibleSpace();
GUILayout.Label(mStatus);
GUILayout.EndVertical();
}
internal long GenScore()
{
return (long) DateTime.Today.Subtract(new DateTime(2013, 1, 1, 0, 0, 0)).TotalSeconds;
}
internal void DoPostScore()
{
long score = GenScore();
SetStandBy("Posting score: " + score);
Social.ReportScore(
score,
GPGSIds.leaderboard_leaders_in_smoketesting,
(bool success) =>
{
EndStandBy();
mStatus = success ? "Successfully reported score " + score : "*** Failed to report score " + score;
ShowEffect(success);
});
}
internal void DoLeaderboardUI()
{
Social.ShowLeaderboardUI();
ShowEffect(true);
}
internal void DoSocialLoadScores()
{
PlayGamesPlatform.Instance.LoadScores(
GPGSIds.leaderboard_leaders_in_smoketesting,
LeaderboardStart.PlayerCentered,
/* rowCount= */ 25,
LeaderboardCollection.Social,
LeaderboardTimeSpan.AllTime,
(data) =>
{
mStatus = "Leaderboard data valid: " + data.Valid;
mStatus += "\n approx:" + data.ApproximateCount + " have " + data.Scores.Length;
mScoreData = data;
});
}
internal void DoPublicLoadScores()
{
PlayGamesPlatform.Instance.LoadScores(
GPGSIds.leaderboard_leaders_in_smoketesting,
LeaderboardStart.PlayerCentered,
/* rowCount= */ 25,
LeaderboardCollection.Public,
LeaderboardTimeSpan.AllTime,
(data) =>
{
mStatus = "LB data Status: " + data.Status;
mStatus += " valid: " + data.Valid;
mStatus += "\n approx:" + data.ApproximateCount + " have " + data.Scores.Length;
mScoreData = data;
});
}
internal void DoLoadMoreScores()
{
if (mScoreData == null)
{
mStatus = "mScoreData is null.";
return;
}
PlayGamesPlatform.Instance.LoadMoreScores(mScoreData.NextPageToken, 10,
(data) =>
{
if (data.Status == ResponseStatus.InternalError)
{
mStatus = "Internal error";
mScoreData = null;
}
else
{
mStatus = "LB data Status: " + data.Status;
mStatus += " valid: " + data.Valid;
mStatus += "\n approx:" + data.ApproximateCount + " have " + data.Scores.Length;
mScoreData = data;
}
}
);
}
internal void DoLoadLeaderboard()
{
ILeaderboard lb = PlayGamesPlatform.Instance.CreateLeaderboard();
lb.userScope = UserScope.FriendsOnly;
lb.id = GPGSIds.leaderboard_leaders_in_smoketesting;
lb.LoadScores(ok =>
{
if (ok)
{
LoadUsersAndDisplay(lb);
}
else
{
mStatus = "Leaderboard loading: " + lb.title + " ok = " + ok;
}
});
}
internal void LoadUsersAndDisplay(ILeaderboard lb)
{
// get the use ids
List<string> userIds = new List<string>();
foreach (IScore score in lb.scores)
{
userIds.Add(score.userID);
}
Social.LoadUsers(userIds.ToArray(), (users) =>
{
mStatus = "Leaderboard loading: " + lb.title + " count = " +
lb.scores.Length;
foreach (IScore score in lb.scores)
{
IUserProfile user = FindUser(users, score.userID);
mStatus += "\n" + score.formattedValue + " by " +
(string) (
(user != null) ? user.userName : "**unk_" + score.userID + "**");
}
});
}
private IUserProfile FindUser(IUserProfile[] users, string userid)
{
foreach (IUserProfile user in users)
{
if (user.id == userid)
{
return user;
}
}
return null;
}
void SetStandBy(string msg)
{
mStatus = msg;
}
void EndStandBy()
{
mStatus += " (Done!)";
}
internal void ShowEffect(bool success)
{
Camera.main.backgroundColor =
success ? new Color(0.0f, 0.0f, 0.8f, 1.0f) : new Color(0.8f, 0.0f, 0.0f, 1.0f);
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: bddfed1fe2907456a95bc00ee2edbb91
timeCreated: 1440612853
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
// <copyright file="MainGui.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
using System;
using System.Linq;
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using GooglePlayGames.BasicApi.SavedGame;
using UnityEngine;
namespace SmokeTest
{
public class MainGui : MonoBehaviour
{
public GUISkin GuiSkin;
private const int Spacing = 4;
private const int Margin = 8;
private const float FontSizeFactor = 35;
private const int GridCols = 2;
private const int GridRows = 10;
private Ui mUi = Ui.Main;
private bool mStandby = false;
private string mStandbyMessage = string.Empty;
private string _mStatus = "Ready";
private string mSavedGameFilename = "default_name";
private ISavedGameMetadata mCurrentSavedGame = null;
private string mSavedGameFileContent = string.Empty;
private IConflictResolver mConflictResolver = null;
private ISavedGameMetadata mConflictOriginal = null;
private string mConflictOriginalData = null;
private ISavedGameMetadata mConflictUnmerged = null;
private string mConflictUnmergedData = null;
private string mLastLocalSave = null;
private string mAuthCode = null;
private string mConflictLocalVersion = null;
private string mConflictServerVersion = null;
private bool mHadCloudConflict = false;
private string statsMessage = string.Empty;
private NearbyGUI mNearbyGui;
private AchievementGUI mAchievementGui;
private LeaderboardGUI mLeaderboardGui;
private FriendsGUI mFriendsGui;
// which UI are we showing?
public enum Ui {
Main,
SavedGame,
EditSavedGameName,
WriteSavedGame,
ResolveSaveConflict,
Events,
NearbyConnections,
Achievements,
Leaderboards,
UserInfo,
Friends
}
public void Start()
{
Screen.orientation = ScreenOrientation.Portrait;
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
PlayGamesPlatform.Instance.Authenticate(OnSignInResult);
this.mNearbyGui = new NearbyGUI(this);
this.mAchievementGui = new AchievementGUI(this);
this.mLeaderboardGui = new LeaderboardGUI(this);
this.mFriendsGui = new FriendsGUI(this);
}
public void SetUI(Ui page)
{
this.mUi = page;
}
public Rect CalcGrid(int col, int row)
{
return this.CalcGrid(col, row, 1, 1);
}
Rect CalcGrid(int col, int row, int colcount, int rowcount)
{
int cellW = (Screen.width - 2 * Margin - (GridCols - 1) * Spacing) / GridCols;
int cellH = (Screen.height - 2 * Margin - (GridRows - 1) * Spacing) / GridRows;
return new Rect(Margin + col * (cellW + Spacing),
Margin + row * (cellH + Spacing),
cellW + (colcount - 1) * (Spacing + cellW),
cellH + (rowcount - 1) * (Spacing + cellH));
}
public byte[] OnStateConflict(int slot, byte[] local, byte[] server)
{
mHadCloudConflict = true;
mConflictLocalVersion = System.Text.ASCIIEncoding.Default.GetString(local);
mConflictServerVersion = System.Text.ASCIIEncoding.Default.GetString(server);
GooglePlayGames.OurUtils.Logger.d(
string.Format(
"Found conflict! local:{0}, server:{1}",
mConflictLocalVersion,
mConflictServerVersion));
return local;
}
public void OnStateSaved(bool success, int slot)
{
Status = "Cloud save " + (success ? "successful" : "failed") + " word: " + mLastLocalSave;
ShowEffect(success);
}
public void OnStateLoaded(bool success, int slot, byte[] data)
{
EndStandBy();
if (success)
{
Status = "Loaded from cloud: " + System.Text.ASCIIEncoding.Default.GetString(data);
}
else
{
Status = "*** Failed to load from cloud.";
}
Status += ". conflict=" + (mHadCloudConflict ? "yes" : "no");
if (mHadCloudConflict)
{
Status += string.Format(" local={0}, server={1}", mConflictLocalVersion, mConflictServerVersion);
}
ShowEffect(success);
}
internal void ShowStandbyUi()
{
GUI.Label(this.CalcGrid(0, 2, 2, 1), this.mStandbyMessage);
}
internal void ShowNotAuthUi()
{
this.DrawTitle(null);
this.DrawStatus();
if (GUI.Button(this.CalcGrid(0, 1), "Manual Authentication")) {
this.DoAuthenticate();
} else if (GUI.Button(this.CalcGrid(1, 1), "Nearby Connections")) {
SetUI(Ui.NearbyConnections);
}
}
internal void ShowRegularUi()
{
this.DrawTitle(null);
this.DrawStatus();
if (GUI.Button(this.CalcGrid(0, 1), "Achievements"))
{
SetUI(Ui.Achievements);
}
else if (GUI.Button(CalcGrid(1, 1), "Leaderboards"))
{
SetUI(Ui.Leaderboards);
}
else if (GUI.Button(CalcGrid(0, 2), "User Info"))
{
SetUI(Ui.UserInfo);
} else if (GUI.Button(this.CalcGrid(1, 2), "Friends"))
{
SetUI(Ui.Friends);
} else if (GUI.Button(this.CalcGrid(0, 3), "Saved Game"))
{
SetUI(Ui.SavedGame);
} else if (GUI.Button(this.CalcGrid(1, 3), "Nearby Connections"))
{
SetUI(Ui.NearbyConnections);
} else if (GUI.Button(this.CalcGrid(0, 4), "Events"))
{
SetUI(Ui.Events);
}
}
internal void ShowEditSavedGameName()
{
this.DrawTitle("EDIT SAVED GAME FILENAME");
this.DrawStatus();
this.mSavedGameFilename = GUI.TextArea(this.CalcGrid(0, 1), this.mSavedGameFilename);
if (GUI.Button(this.CalcGrid(1, 7), "Back"))
{
SetUI(Ui.SavedGame);
ShowEffect(true);
}
}
internal void ShowResolveConflict()
{
this.DrawTitle("RESOLVE SAVE GAME CONFLICT");
this.DrawStatus();
if (this.mConflictResolver == null)
{
Status = "No pending conflict";
SetUI(Ui.SavedGame);
return;
}
string msg = "Original: " + mConflictOriginal.Filename + ":" + mConflictOriginal.Description + "\n" +
"Data: " + mConflictOriginalData;
GUI.Label(CalcGrid(0, 1, 2, 2), msg);
msg = "Unmerged: " + mConflictUnmerged.Filename + ":" + mConflictUnmerged.Description + "\n" +
"Data: " + mConflictUnmergedData;
GUI.Label(CalcGrid(0, 2, 2, 2), msg);
if (GUI.Button(CalcGrid(0, 3), "Use Original"))
{
mConflictResolver.ChooseMetadata(mConflictOriginal);
SetStandBy("Choosing original, retrying open");
SetUI(Ui.SavedGame);
}
else if (GUI.Button(CalcGrid(1, 3), "Use Unmerged"))
{
mConflictResolver.ChooseMetadata(mConflictUnmerged);
SetStandBy("Choosing unmerged, retrying open");
SetUI(Ui.SavedGame);
}
else if (GUI.Button(CalcGrid(0, 4), "Use new data"))
{
SavedGameMetadataUpdate.Builder builder = new SavedGameMetadataUpdate.Builder();
builder = builder.WithUpdatedDescription(mConflictOriginal.Description + " (resolved).");
mConflictResolver.ResolveConflict(mConflictOriginal, builder.Build(),
System.Text.ASCIIEncoding.Default.GetBytes(mSavedGameFileContent + " resolved"));
}
if (GUI.Button(CalcGrid(1, 7), "Back"))
{
SetUI(Ui.SavedGame);
ShowEffect(true);
}
}
internal void ShowWriteSavedGame()
{
DrawTitle("WRITE SAVED GAME");
DrawStatus();
mSavedGameFileContent = GUI.TextArea(CalcGrid(0, 1), mSavedGameFileContent);
if (mCurrentSavedGame == null || !mCurrentSavedGame.IsOpen)
{
Status = "No opened saved game selected.";
SetUI(Ui.SavedGame);
return;
}
var update = new SavedGameMetadataUpdate.Builder()
.WithUpdatedDescription("Saved at " + DateTime.Now.ToString())
.WithUpdatedPlayedTime(mCurrentSavedGame.TotalTimePlayed.Add(TimeSpan.FromHours(1)))
.Build();
if (GUI.Button(CalcGrid(0, 7), "Write"))
{
SetStandBy("Writing update");
PlayGamesPlatform.Instance.SavedGame.CommitUpdate(
mCurrentSavedGame,
update,
System.Text.ASCIIEncoding.Default.GetBytes(mSavedGameFileContent),
(status, updated) =>
{
Status = "Write status was: " + status;
SetUI(Ui.SavedGame);
EndStandBy();
});
mCurrentSavedGame = null;
}
else if (GUI.Button(CalcGrid(1, 7), "Cancel"))
{
SetUI(Ui.SavedGame);
}
}
internal void OpenSavedGame(ConflictResolutionStrategy strategy)
{
SetStandBy("Opening using strategy: " + strategy);
PlayGamesPlatform.Instance.SavedGame.OpenWithAutomaticConflictResolution(
mSavedGameFilename,
DataSource.ReadNetworkOnly,
strategy,
(status, openedFile) =>
{
Status = "Open status for file " + mSavedGameFilename + ": " + status + "\n";
if (openedFile != null)
{
Status += "Successfully opened file: " + openedFile;
GooglePlayGames.OurUtils.Logger.d("Opened file: " + openedFile);
mCurrentSavedGame = openedFile;
}
EndStandBy();
});
}
internal void DoDeleteSavedGame()
{
if (mCurrentSavedGame == null)
{
ShowEffect(false);
Status = "No save game selected";
return;
}
PlayGamesPlatform.Instance.SavedGame.Delete(mCurrentSavedGame);
Status = mCurrentSavedGame.Filename + " deleted.";
mCurrentSavedGame = null;
}
internal void DoReadSavedGame()
{
if (mCurrentSavedGame == null)
{
ShowEffect(false);
Status = "No save game selected";
return;
}
if (!mCurrentSavedGame.IsOpen)
{
ShowEffect(false);
Status = "Current saved game is not open. Open it first.";
return;
}
SetStandBy("Reading file: " + mSavedGameFilename);
var openedFile = mSavedGameFilename;
PlayGamesPlatform.Instance.SavedGame.ReadBinaryData(
mCurrentSavedGame,
(status, binaryData) =>
{
Status = "Reading file " + openedFile + ", status: " + status + "\n";
if (binaryData != null)
{
var stringContent = System.Text.ASCIIEncoding.Default.GetString(binaryData);
Status += "File content: " + stringContent;
mSavedGameFileContent = stringContent;
}
else
{
mSavedGameFileContent = string.Empty;
}
EndStandBy();
});
}
internal void DoShowSavedGameUI()
{
SetStandBy("Showing saved game UI");
PlayGamesPlatform.Instance.SavedGame.ShowSelectSavedGameUI(
"Saved Game UI",
10,
false,
false,
(status, savedGame) =>
{
Status = "UI Status: " + status;
if (savedGame != null)
{
Status +=
"Retrieved saved game with description: " + savedGame.Description;
mCurrentSavedGame = savedGame;
}
EndStandBy();
});
}
internal void DoOpenManual()
{
SetStandBy("Manual opening file: " + mSavedGameFilename);
PlayGamesPlatform.Instance.SavedGame.OpenWithManualConflictResolution(
mSavedGameFilename,
DataSource.ReadNetworkOnly,
true,
(resolver, original, originalData, unmerged, unmergedData) =>
{
GooglePlayGames.OurUtils.Logger.d("Entering conflict callback");
mConflictResolver = resolver;
mConflictOriginal = original;
mConflictOriginalData = System.Text.ASCIIEncoding.Default.GetString(originalData);
mConflictUnmerged = unmerged;
mConflictUnmergedData = System.Text.ASCIIEncoding.Default.GetString(unmergedData);
SetUI(Ui.ResolveSaveConflict);
EndStandBy();
GooglePlayGames.OurUtils.Logger.d("Encountered manual open conflict.");
},
(status, openedFile) =>
{
Status = "Open status for file " + mSavedGameFilename + ": " + status + "\n";
if (openedFile != null)
{
Status += "Successfully opened file: " + openedFile;
GooglePlayGames.OurUtils.Logger.d("Opened file: " + openedFile);
mCurrentSavedGame = openedFile;
}
EndStandBy();
});
}
internal void DoFetchAll()
{
SetStandBy("Fetching All Saved Games");
PlayGamesPlatform.Instance.SavedGame.FetchAllSavedGames(
DataSource.ReadNetworkOnly,
(status, savedGames) =>
{
Status = "Fetch All Status: " + status + "\n";
Status += "Saved Games: [" +
string.Join(",", savedGames.Select(g => g.Filename).ToArray()) + "]";
savedGames.ForEach(g =>
GooglePlayGames.OurUtils.Logger.d("Retrieved save game: " + g));
EndStandBy();
});
}
internal void ShowSavedGameUi()
{
DrawTitle("SAVED GAME - Using file: " + mSavedGameFilename);
DrawStatus();
if (GUI.Button(CalcGrid(0, 1), "Show UI"))
{
DoShowSavedGameUI();
}
else if (GUI.Button(CalcGrid(1, 1), "Open Manual"))
{
DoOpenManual();
}
else if (GUI.Button(CalcGrid(0, 2), "Open Keep Original"))
{
OpenSavedGame(ConflictResolutionStrategy.UseOriginal);
}
else if (GUI.Button(CalcGrid(1, 2), "Open Keep Unmerged"))
{
OpenSavedGame(ConflictResolutionStrategy.UseUnmerged);
}
else if (GUI.Button(CalcGrid(0, 3), "Read"))
{
DoReadSavedGame();
}
else if (GUI.Button(CalcGrid(1, 3), "Write"))
{
SetUI(Ui.WriteSavedGame);
}
else if (GUI.Button(CalcGrid(0, 4), "Fetch All"))
{
DoFetchAll();
}
else if (GUI.Button(CalcGrid(1, 4), "Edit Filename"))
{
SetUI(Ui.EditSavedGameName);
}
else if (GUI.Button(CalcGrid(0, 5), "Delete"))
{
DoDeleteSavedGame();
}
else if (GUI.Button(CalcGrid(1, 6), "Back"))
{
SetUI(Ui.Main);
ShowEffect(true);
}
}
internal void ShowEventsUi()
{
DrawStatus();
DrawTitle("Events");
if (GUI.Button(CalcGrid(0, 1), "Fetch All Events"))
{
SetStandBy("Fetching All Events");
PlayGamesPlatform.Instance.Events.FetchAllEvents(
DataSource.ReadNetworkOnly,
(status, events) =>
{
Status = "Fetch All Status: " + status + "\n";
Status += "Events: [" +
string.Join(",", events.Select(g => g.Id).ToArray()) + "]";
events.ForEach(e =>
GooglePlayGames.OurUtils.Logger.d("Retrieved event: " + e));
EndStandBy();
});
}
else if (GUI.Button(CalcGrid(1, 1), "Fetch Event"))
{
SetStandBy("Fetching Event");
PlayGamesPlatform.Instance.Events.FetchEvent(
DataSource.ReadNetworkOnly,
GPGSIds.event_smokingevent,
(status, fetchedEvent) =>
{
Status = "Fetch Status: " + status + "\n";
if (fetchedEvent != null)
{
Status += "Event: [" + fetchedEvent.Id + ", " + fetchedEvent.Description + "]: " +
fetchedEvent.CurrentCount;
GooglePlayGames.OurUtils.Logger.d("Fetched event: " + fetchedEvent);
}
EndStandBy();
});
}
else if (GUI.Button(CalcGrid(0, 2), "Increment Event"))
{
PlayGamesPlatform.Instance.Events.IncrementEvent(
GPGSIds.event_smokingevent, 10);
}
if (GUI.Button(CalcGrid(1, 6), "Back"))
{
SetUI(Ui.Main);
}
}
internal void ShowUserInfoUi()
{
GUI.Label(
this.CalcGrid(0, 1, 2, 1),
"User info for " + Social.localUser.userName);
GUI.Label(this.CalcGrid(0, 2, 2, 1),
"Server Auth Code: " + mAuthCode);
string friendString = "";
GUI.Label(
CalcGrid(0, 3, 2, 2),
"Friends: " + friendString);
if (statsMessage == string.Empty && Social.localUser.authenticated)
{
statsMessage = "loading stats....";
((PlayGamesLocalUser) Social.localUser).GetStats(
(result, stats) =>
{
statsMessage = result + " number of sessions: " +
stats.NumberOfSessions;
});
}
GUI.Label(CalcGrid(0, 7, 2, 1), "Player Stats: " + statsMessage);
if (GUI.Button(CalcGrid(0, 8), "Request Server Side Access"))
{
PlayGamesPlatform.Instance.RequestServerSideAccess(/* forceRefreshToken= */ false,
authCode => mAuthCode = authCode);
}
else if (GUI.Button(CalcGrid(1, 8), "Back"))
{
mUi = Ui.Main;
}
}
internal void DrawTitle(string title)
{
GUI.Label(
this.CalcGrid(0, 0, 2, 1),
title == null ? "Play Games Unity Plugin - Smoke Test" : title);
}
internal string Status
{
get { return _mStatus; }
set { _mStatus = value; }
}
internal void DrawStatus()
{
GUI.Label(this.CalcGrid(0, 8, 2, 2), this.Status);
}
internal void ShowEffect(bool success)
{
Camera.main.backgroundColor =
success ? new Color(0.0f, 0.0f, 0.8f, 1.0f) : new Color(0.8f, 0.0f, 0.0f, 1.0f);
}
internal int CalcFontSize()
{
return (int) (Screen.width * FontSizeFactor / 1000.0f);
}
// Update is called once per frame
internal void OnGUI()
{
GUI.skin = GuiSkin;
GUI.skin.label.fontSize = CalcFontSize();
GUI.skin.button.fontSize = CalcFontSize();
GUI.skin.textArea.fontSize = CalcFontSize();
if (mStandby)
{
ShowStandbyUi();
}
else if (mUi == Ui.NearbyConnections)
{
mNearbyGui.OnGUI();
}
else if (Social.localUser.authenticated)
{
switch (mUi)
{
case Ui.Achievements:
mAchievementGui.OnGUI();
break;
case Ui.Leaderboards:
mLeaderboardGui.OnGUI();
break;
case Ui.EditSavedGameName:
ShowEditSavedGameName();
break;
case Ui.Friends:
mFriendsGui.OnGUI();
break;
case Ui.WriteSavedGame:
ShowWriteSavedGame();
break;
case Ui.SavedGame:
ShowSavedGameUi();
break;
case Ui.ResolveSaveConflict:
ShowResolveConflict();
break;
case Ui.Events:
ShowEventsUi();
break;
case Ui.NearbyConnections:
mNearbyGui.OnGUI();
break;
case Ui.UserInfo:
ShowUserInfoUi();
break;
default:
// check for a status of interest, and if there
// is one, then don't touch it. Otherwise
// show the logged in user.
if (string.IsNullOrEmpty(Status) || Status == "Ready")
{
Status = "Authenticated. Hello, " +
Social.localUser.userName + " (" +
Social.localUser.id + ")";
}
ShowRegularUi();
break;
}
}
else
{
ShowNotAuthUi();
}
}
internal void SetStandBy(string message)
{
mStandby = true;
mStandbyMessage = message;
}
internal void EndStandBy()
{
mStandby = false;
}
internal void DoAuthenticate()
{
SetStandBy("Authenticating...");
PlayGamesPlatform.Activate();
PlayGamesPlatform.Instance.ManuallyAuthenticate(OnSignInResult);
}
private void OnSignInResult(SignInStatus signInStatus)
{
EndStandBy();
if (signInStatus == SignInStatus.Success)
{
Status = "Authenticated. Hello, " + Social.localUser.userName + " (" + Social.localUser.id + ")";
}
else
{
Status = "*** Failed to authenticate with " + signInStatus;
}
ShowEffect(signInStatus == SignInStatus.Success);
}
internal char RandCharFrom(string s)
{
int i = UnityEngine.Random.Range(0, s.Length);
i = i < 0 ? 0 : i >= s.Length ? s.Length - 1 : i;
return s[i];
}
internal string GenString()
{
string x = string.Empty;
int syl = UnityEngine.Random.Range(4, 7);
while (x.Length < syl)
{
x += RandCharFrom("bcdfghjklmnpqrstvwxyz");
x += RandCharFrom("aeiou");
if (UnityEngine.Random.Range(0, 10) > 7)
{
x += RandCharFrom("nsr");
}
}
return x;
}
}
}
fileFormatVersion: 2
guid: bacc4fefc887d4c17b2c07a8ddf02557
timeCreated: 1427227169
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12001, guid: 0000000000000000e000000000000000, type: 0}
m_Name: MyGUISkin
m_EditorClassIdentifier:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_box:
m_Name: box
m_Normal:
m_Background: {fileID: 11001, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .799999952, g: .799999952, b: .799999952, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 6
m_Right: 6
m_Top: 6
m_Bottom: 6
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 1
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_button:
m_Name: button
m_Normal:
m_Background: {fileID: 11006, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .899999976, g: .899999976, b: .899999976, a: 1}
m_Hover:
m_Background: {fileID: 11003, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_Active:
m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .899999976, g: .899999976, b: .899999976, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnNormal:
m_Background: {fileID: 11005, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .90196079, g: .90196079, b: .90196079, a: 1}
m_OnHover:
m_Background: {fileID: 11004, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnActive:
m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .899999976, g: .899999976, b: .899999976, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 6
m_Right: 6
m_Top: 6
m_Bottom: 4
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 6
m_Right: 6
m_Top: 3
m_Bottom: 3
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 4
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_toggle:
m_Name: toggle
m_Normal:
m_Background: {fileID: 11018, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .891128957, g: .891128957, b: .891128957, a: 1}
m_Hover:
m_Background: {fileID: 11014, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_Active:
m_Background: {fileID: 11013, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 11016, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .890196085, g: .890196085, b: .890196085, a: 1}
m_OnHover:
m_Background: {fileID: 11015, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnActive:
m_Background: {fileID: 11017, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 14
m_Right: 0
m_Top: 14
m_Bottom: 0
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 15
m_Right: 0
m_Top: 3
m_Bottom: 0
m_Overflow:
m_Left: -1
m_Right: 0
m_Top: -4
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_label:
m_Name: label
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 3
m_Bottom: 3
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 4
m_WordWrap: 1
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_textField:
m_Name: textfield
m_Normal:
m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .799999952, g: .799999952, b: .799999952, a: 1}
m_Hover:
m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .899999976, g: .899999976, b: .899999976, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnNormal:
m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 3
m_Right: 3
m_Top: 3
m_Bottom: 3
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 0
m_TextClipping: 1
m_ImagePosition: 3
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_textArea:
m_Name: textarea
m_Normal:
m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .90196079, g: .90196079, b: .90196079, a: 1}
m_Hover:
m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: .799999952, g: .799999952, b: .799999952, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 3
m_Right: 3
m_Top: 3
m_Bottom: 3
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 1
m_RichText: 0
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_window:
m_Name: window
m_Normal:
m_Background: {fileID: 11023, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 11022, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 1, g: 1, b: 1, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 8
m_Right: 8
m_Top: 18
m_Bottom: 8
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 10
m_Right: 10
m_Top: 20
m_Bottom: 10
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 1
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: -18}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_horizontalSlider:
m_Name: horizontalslider
m_Normal:
m_Background: {fileID: 11009, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 3
m_Right: 3
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: -1
m_Right: -1
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: -2
m_Bottom: -3
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 2
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 12
m_StretchWidth: 1
m_StretchHeight: 0
m_horizontalSliderThumb:
m_Name: horizontalsliderthumb
m_Normal:
m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 4
m_Right: 4
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 7
m_Right: 7
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: -1
m_Right: -1
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 2
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 12
m_StretchWidth: 1
m_StretchHeight: 0
m_verticalSlider:
m_Name: verticalslider
m_Normal:
m_Background: {fileID: 11021, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 3
m_Bottom: 3
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 0
m_Right: 0
m_Top: -1
m_Bottom: -1
m_Overflow:
m_Left: -2
m_Right: -3
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 0
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 12
m_FixedHeight: 0
m_StretchWidth: 0
m_StretchHeight: 1
m_verticalSliderThumb:
m_Name: verticalsliderthumb
m_Normal:
m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 7
m_Bottom: 7
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: -1
m_Bottom: -1
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 12
m_FixedHeight: 0
m_StretchWidth: 0
m_StretchHeight: 1
m_horizontalScrollbar:
m_Name: horizontalscrollbar
m_Normal:
m_Background: {fileID: 11008, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 9
m_Right: 9
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 4
m_Right: 4
m_Top: 1
m_Bottom: 4
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 2
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 15
m_StretchWidth: 1
m_StretchHeight: 0
m_horizontalScrollbarThumb:
m_Name: horizontalscrollbarthumb
m_Normal:
m_Background: {fileID: 11007, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 6
m_Right: 6
m_Top: 6
m_Bottom: 6
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 6
m_Right: 6
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: -1
m_Bottom: 1
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 13
m_StretchWidth: 1
m_StretchHeight: 0
m_horizontalScrollbarLeftButton:
m_Name: horizontalscrollbarleftbutton
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_horizontalScrollbarRightButton:
m_Name: horizontalscrollbarrightbutton
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_verticalScrollbar:
m_Name: verticalscrollbar
m_Normal:
m_Background: {fileID: 11020, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 9
m_Bottom: 9
m_Margin:
m_Left: 1
m_Right: 4
m_Top: 4
m_Bottom: 4
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 1
m_Bottom: 1
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 15
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_verticalScrollbarThumb:
m_Name: verticalscrollbarthumb
m_Normal:
m_Background: {fileID: 11019, guid: 0000000000000000e000000000000000, type: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 6
m_Right: 6
m_Top: 6
m_Bottom: 6
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 6
m_Bottom: 6
m_Overflow:
m_Left: -1
m_Right: -1
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 2
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 15
m_FixedHeight: 0
m_StretchWidth: 0
m_StretchHeight: 1
m_verticalScrollbarUpButton:
m_Name: verticalscrollbarupbutton
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_verticalScrollbarDownButton:
m_Name: verticalscrollbardownbutton
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_ScrollView:
m_Name: scrollview
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 1
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_CustomStyles:
- m_Name:
m_Normal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Hover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Active:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Focused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnNormal:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnHover:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnActive:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_OnFocused:
m_Background: {fileID: 0}
m_TextColor: {r: 0, g: 0, b: 0, a: 1}
m_Border:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Margin:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Overflow:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Font: {fileID: 0}
m_FontSize: 0
m_FontStyle: 0
m_Alignment: 0
m_WordWrap: 0
m_RichText: 1
m_TextClipping: 0
m_ImagePosition: 0
m_ContentOffset: {x: 0, y: 0}
m_FixedWidth: 0
m_FixedHeight: 0
m_StretchWidth: 1
m_StretchHeight: 0
m_Settings:
m_DoubleClickSelectsWord: 1
m_TripleClickSelectsLine: 1
m_CursorColor: {r: 1, g: 1, b: 1, a: 1}
m_CursorFlashSpeed: -1
m_SelectionColor: {r: 1, g: .384039074, b: 0, a: .699999988}
fileFormatVersion: 2
guid: 2319c86c507e94d9aa50e3503b392986
timeCreated: 1427227170
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
// <copyright file="NearbyGUI.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
namespace SmokeTest
{
using System;
using System.Collections.Generic;
using GooglePlayGames;
using GooglePlayGames.BasicApi.Nearby;
using UnityEngine;
#if UNITY_ANDROID && UNITY_2019
using UnityEngine.Android;
#endif
public class NearbyGUI : MonoBehaviour, IDiscoveryListener, IMessageListener
{
// calculate a nice grid for the layout.
private const int GridCols = 3;
private const int GridRows = 10;
private const float FontSizeFactor = 35;
private const int Spacing = 4;
private const int Margin = 8;
private readonly int timeoutMillis = 60000;
// link back to main gui
private MainGui mOwner;
// endpoints discovered and/or connected
private Dictionary<string, EndpointHolder> mEndpoints;
// scroll position for the endpoints
private Vector2 mEndpointsViewVector;
// hash set of known endpoints this allows the clean up of
// endpoints that were connected to vs. discovered.
private HashSet<string> mKnownEndpoints;
// message received from others
private List<string> mMessageLog;
// and the scroll position
private Vector2 mMessageViewVector;
// status string for nearby
private string mNearbyStatus;
// timers to keep track of discovery and advertising.
private float mAdvertisingRemaining;
private float mDiscoveryRemaining;
// Constructed by the main gui
internal NearbyGUI(MainGui owner)
{
mOwner = owner;
mEndpoints = new Dictionary<string, EndpointHolder>();
mEndpointsViewVector = new Vector2();
mMessageLog = new List<string>();
mKnownEndpoints = new HashSet<string>();
#if UNITY_ANDROID && UNITY_2019
Permission.RequestUserPermission(Permission.FineLocation);
Permission.RequestUserPermission(Permission.CoarseLocation);
#endif
}
internal enum EndpointState
{
DISCOVERED,
REQUESTED,
REJECTED,
CONNECTED,
DISCONNECTED,
ERROR
}
public Rect CalcGrid(int col, int row)
{
return CalcGrid(col, row, 1, 1);
}
Rect CalcGrid(int col, int row, int colcount, int rowcount)
{
int cellW = (Screen.width - 2 * Margin - (GridCols - 1) * Spacing) / GridCols;
int cellH = (Screen.height - 2 * Margin - (GridRows - 1) * Spacing) / GridRows;
return new Rect(Margin + col * (cellW + Spacing),
Margin + row * (cellH + Spacing),
cellW + (colcount - 1) * (Spacing + cellW),
cellH + (rowcount - 1) * (Spacing + cellH));
}
public void OnEndpointFound(EndpointDetails discoveredEndpoint)
{
Debug.Log("OnEndpointFound");
mNearbyStatus = "OnEndpointFound" + discoveredEndpoint.Name +
" " + discoveredEndpoint.EndpointId;
EndpointHolder holder = new EndpointHolder();
holder.Endpoint = discoveredEndpoint;
holder.State = EndpointState.DISCOVERED;
mEndpoints.Remove(discoveredEndpoint.EndpointId);
mEndpoints.Add(discoveredEndpoint.EndpointId, holder);
mKnownEndpoints.Add(discoveredEndpoint.EndpointId);
}
public void OnEndpointLost(string lostEndpointId)
{
// Endpoint lost can be called when the remote calls stop advertising. This happens even
// when the connection is established.
mNearbyStatus = "OnEndpointLost: " + lostEndpointId;
EndpointHolder ep = mEndpoints[lostEndpointId];
if (ep != null && ep.State != EndpointState.CONNECTED)
{
mEndpoints.Remove(lostEndpointId);
mKnownEndpoints.Remove(lostEndpointId);
}
}
public void OnMessageReceived(string remoteEndpointId, byte[] data, bool reliableMessage)
{
string msg = System.Text.Encoding.UTF8.GetString(data);
mMessageLog.Add("From: " + remoteEndpointId + ": " + msg);
}
public void OnRemoteEndpointDisconnected(string remoteEndpointId)
{
mNearbyStatus = "OnRemoteEndpointDisconnected: " + remoteEndpointId;
EndpointHolder ep = mEndpoints[remoteEndpointId];
ep.State = EndpointState.DISCONNECTED;
//OnRemoteEndpointDisconnected is called when the connection is closed.
// If we are the "discovery" side of the conversation,
// keep the endpoint in the list, so we can re-connect.
if (mKnownEndpoints.Contains(remoteEndpointId))
{
mEndpoints.Remove(remoteEndpointId);
}
}
// Update is called once per frame
internal void OnGUI()
{
INearbyConnectionClient client = PlayGamesPlatform.Nearby;
if (Input.touchCount > 0)
{
Touch touch = Input.touches[0];
// TODO: handle the endpoint scroll vs. the message scroll.
if (touch.phase == TouchPhase.Moved)
{
mMessageViewVector.y += touch.deltaPosition.y;
}
}
// count down the timers
if (mAdvertisingRemaining > 0)
{
mAdvertisingRemaining -= Time.deltaTime;
}
if (mDiscoveryRemaining > 0)
{
mDiscoveryRemaining -= Time.deltaTime;
}
mOwner.DrawTitle("Nearby Connections");
if (client == null)
{
mOwner.Status = "Nearby client is null!";
mOwner.DrawStatus();
if (GUI.Button(CalcGrid(1, 4), "Back"))
{
mOwner.SetUI(MainGui.Ui.Main);
}
return;
}
string topStatus = "Nearby: " + client.GetServiceId();
string advertButton;
bool advertising = mAdvertisingRemaining > 0;
string discoveryButton;
bool discovering = mDiscoveryRemaining > 0;
if (advertising)
{
topStatus += string.Format(" Advertising({0})", (int) mAdvertisingRemaining);
advertButton = "Stop\nAdvertising";
}
else
{
advertButton = "Start\nAdvertising";
}
if (discovering)
{
topStatus += string.Format(" Disovering({0})", (int) mDiscoveryRemaining);
discoveryButton = "Stop\nDiscovery";
}
else
{
discoveryButton = "Start\nDiscovery";
}
if (GUI.Button(CalcGrid(0, 1), advertButton))
{
if (!advertising)
{
// always call stop to make sure it is clear before calling start.
client.StopAdvertising();
// use a name of null to use the default name
string nearbyName = null;
List<string> nearbyAppsIds = new List<string>();
Debug.Log("Advertising: " + client.GetAppBundleId());
nearbyAppsIds.Add(client.GetAppBundleId());
TimeSpan advertisingTimeSpan = TimeSpan.FromMilliseconds(timeoutMillis);
mAdvertisingRemaining = timeoutMillis / 1000f;
client.StartAdvertising(
nearbyName,
nearbyAppsIds,
advertisingTimeSpan,
OnAdvertisingResult,
OnConnectionRequest);
}
else
{
client.StopAdvertising();
mNearbyStatus = "Advertising stopped";
mAdvertisingRemaining = 0f;
}
}
else if (GUI.Button(CalcGrid(1, 1), discoveryButton))
{
string nearbyServiceId = client.GetServiceId();
client.StopDiscovery(nearbyServiceId);
if (!discovering)
{
TimeSpan advertisingTimeSpan = TimeSpan.FromMilliseconds(timeoutMillis);
mDiscoveryRemaining = timeoutMillis / 1000f;
client.StartDiscovery(nearbyServiceId, advertisingTimeSpan, this);
mNearbyStatus = "Discovery started for " + nearbyServiceId;
}
else
{
mNearbyStatus = "Discovery stopped";
mDiscoveryRemaining = 0f;
}
}
else if (GUI.Button(CalcGrid(2, 1), "Stop All"))
{
client.StopAllConnections();
mEndpoints.Clear();
mKnownEndpoints.Clear();
mMessageLog.Clear();
mNearbyStatus = "Stopped all connections";
mAdvertisingRemaining = 0;
mDiscoveryRemaining = 0;
}
else if (GUI.Button(CalcGrid(0, 2), "Send All\nReliable"))
{
List<string> dest = new List<string>();
foreach (EndpointHolder ep in mEndpoints.Values)
{
if (ep.State == EndpointState.CONNECTED)
{
dest.Add(ep.Endpoint.EndpointId);
}
}
string msg = "Reliable from " + client.GetServiceId() + " " +
((int) Time.realtimeSinceStartup);
client.SendReliable(dest, System.Text.Encoding.UTF8.GetBytes(msg));
}
else if (GUI.Button(CalcGrid(1, 2), "Send All\nUnreliable"))
{
List<string> dest = new List<string>();
foreach (EndpointHolder ep in mEndpoints.Values)
{
if (ep.State == EndpointState.CONNECTED)
{
dest.Add(ep.Endpoint.EndpointId);
}
}
string msg = "Unreliable from " + client.GetServiceId() + " " +
((int) Time.realtimeSinceStartup);
client.SendUnreliable(dest, System.Text.Encoding.UTF8.GetBytes(msg));
}
else if (GUI.Button(CalcGrid(2, 2), "Back"))
{
mOwner.SetUI(MainGui.Ui.Main);
}
// Discovered endpoints
mEndpointsViewVector = GUI.BeginScrollView(
CalcGrid(0, 3, 3, 2),
mEndpointsViewVector,
CalcGrid(0, 0, 3, 1 + mEndpoints.Count));
if (mEndpoints.Count == 0)
{
GUI.Label(CalcGrid(0, 0), "No Endpoints Discovered");
}
else
{
mOwner.Status = "Found " + mEndpoints.Count + " endpoints";
}
int index = 0;
GUIStyle style = mOwner.GuiSkin.GetStyle("box");
List<string> keysToRemove = new List<string>();
foreach (EndpointHolder endpt in mEndpoints.Values)
{
if (index % 2 == 0)
{
GUI.BeginGroup(CalcGrid(0, index * 2, 3, 2), style);
}
else
{
GUI.BeginGroup(CalcGrid(0, index * 2, 3, 2));
}
GUI.Label(CalcGrid(0, 0), endpt.ToString());
if (endpt.State == EndpointState.DISCOVERED ||
endpt.State == EndpointState.DISCONNECTED ||
endpt.State == EndpointState.REJECTED)
{
if (GUI.Button(CalcGrid(1, 0), "Connect"))
{
string name = null;
byte[] payload = new byte[0];
client.SendConnectionRequest(
name,
endpt.Endpoint.EndpointId,
payload,
OnConnectionResponse,
this);
}
}
if (endpt.State == EndpointState.REQUESTED)
{
if (GUI.Button(CalcGrid(1, 1), "Accept"))
{
client.AcceptConnectionRequest(endpt.Endpoint.EndpointId, new byte[0], this);
endpt.State = EndpointState.CONNECTED;
}
else if (GUI.Button(CalcGrid(2, 1), "Reject"))
{
client.RejectConnectionRequest(endpt.Endpoint.EndpointId);
keysToRemove.Add(endpt.Endpoint.EndpointId);
}
}
if (endpt.State == EndpointState.CONNECTED)
{
if (GUI.Button(CalcGrid(1, 0), "Disconnect"))
{
client.DisconnectFromEndpoint(endpt.Endpoint.EndpointId);
endpt.State = EndpointState.DISCONNECTED;
}
if (GUI.Button(CalcGrid(1, 1), "Send\nReliable"))
{
List<string> dest = new List<string>();
dest.Add(endpt.Endpoint.EndpointId);
string msg = "Reliable from " + client.GetServiceId() + " " +
((int) Time.realtimeSinceStartup);
client.SendReliable(dest, System.Text.Encoding.UTF8.GetBytes(msg));
}
if (GUI.Button(CalcGrid(2, 1), "Send\nUnreliable"))
{
// client.SendReliable
List<string> dest = new List<string>();
dest.Add(endpt.Endpoint.EndpointId);
string msg = "Unreliable from " + client.GetServiceId() + " " +
((int) Time.realtimeSinceStartup);
client.SendReliable(dest, System.Text.Encoding.UTF8.GetBytes(msg));
}
}
GUI.EndGroup();
index++;
}
GUI.EndScrollView();
foreach (string key in keysToRemove)
{
mEndpoints.Remove(key);
}
mMessageViewVector = GUI.BeginScrollView(
CalcGrid(0, 6, 3, 2),
mMessageViewVector,
CalcGrid(0, 0, 3, 1 + mMessageLog.Count));
if (mMessageLog.Count == 0)
{
GUI.Label(CalcGrid(0, 0), "No Messages");
}
for (int i = 0; i < mMessageLog.Count; i++)
{
GUI.Label(CalcGrid(0, i, 3, 1), mMessageLog[i]);
}
GUI.EndScrollView();
if (mNearbyStatus != null)
{
GUI.Label(CalcGrid(0, 8, 3, 2), mNearbyStatus);
}
}
internal void OnConnectionResponse(ConnectionResponse response)
{
Debug.Log("OnConnection Response : " + response.ResponseStatus);
mNearbyStatus = "OnConnectionResponse: " + response.ResponseStatus;
switch (response.ResponseStatus)
{
case ConnectionResponse.Status.Accepted:
mEndpoints[response.RemoteEndpointId].State = EndpointState.CONNECTED;
break;
case ConnectionResponse.Status.Rejected:
mEndpoints[response.RemoteEndpointId].State = EndpointState.REJECTED;
break;
case ConnectionResponse.Status.ErrorAlreadyConnected:
// it is an error, but we can treat it like connected.
mEndpoints[response.RemoteEndpointId].State = EndpointState.CONNECTED;
break;
case ConnectionResponse.Status.ErrorEndpointNotConnected:
mEndpoints[response.RemoteEndpointId].State = EndpointState.ERROR;
break;
case ConnectionResponse.Status.ErrorInternal:
mEndpoints[response.RemoteEndpointId].State = EndpointState.ERROR;
break;
case ConnectionResponse.Status.ErrorNetworkNotConnected:
mEndpoints[response.RemoteEndpointId].State = EndpointState.ERROR;
break;
default:
Debug.LogError("Unknown or unsupported status: " + response.ResponseStatus);
if (mEndpoints.ContainsKey(response.RemoteEndpointId))
{
mEndpoints[response.RemoteEndpointId].State = EndpointState.ERROR;
}
break;
}
}
internal void OnAdvertisingResult(AdvertisingResult result)
{
mNearbyStatus = "AdvertisingResult: success:" + result.Succeeded +
" " + result.LocalEndpointName;
}
internal void OnConnectionRequest(ConnectionRequest request)
{
if (request.RemoteEndpoint.Name != null)
{
mNearbyStatus = "OnConnectionRequest: " + request.RemoteEndpoint.Name;
}
EndpointHolder holder = new EndpointHolder();
holder.Endpoint = request.RemoteEndpoint;
holder.State = EndpointState.REQUESTED;
mEndpoints.Remove(request.RemoteEndpoint.EndpointId);
mEndpoints.Add(request.RemoteEndpoint.EndpointId, holder);
if (request.Payload != null)
{
mMessageLog.Add(mNearbyStatus + ": " + request.Payload);
}
}
internal class EndpointHolder
{
private EndpointDetails mEndpoint;
private EndpointState mState;
public EndpointDetails Endpoint
{
get { return this.mEndpoint; }
set { this.mEndpoint = value; }
}
public EndpointState State
{
get { return this.mState; }
set { this.mState = value; }
}
public override string ToString()
{
return string.Format("{0}({1})", this.Endpoint.Name, this.State);
}
}
}
}
fileFormatVersion: 2
guid: 2f2e0d1cb4c1a4e30a66b37bdf074b4e
timeCreated: 1427227169
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 0d71a91e9586cc26f8ba6c5b9d703284
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
...@@ -74,8 +74,8 @@ ...@@ -74,8 +74,8 @@
<file>Assets/Plugins/Android/org.jetbrains.kotlin.kotlin-stdlib-jdk8-1.5.10.jar</file> <file>Assets/Plugins/Android/org.jetbrains.kotlin.kotlin-stdlib-jdk8-1.5.10.jar</file>
</files> </files>
<settings> <settings>
<setting name="androidAbis" value="armeabi-v7a" /> <setting name="androidAbis" value="arm64-v8a,armeabi-v7a" />
<setting name="bundleId" value="com.DefaultCompany.API" /> <setting name="bundleId" value="com.QuengGameStudio.com.unity.mobile2D" />
<setting name="explodeAars" value="True" /> <setting name="explodeAars" value="True" />
<setting name="gradleBuildEnabled" value="True" /> <setting name="gradleBuildEnabled" value="True" />
<setting name="gradlePropertiesTemplateEnabled" value="False" /> <setting name="gradlePropertiesTemplateEnabled" value="False" />
......
lastUpgrade=01101 lastUpgrade=01101
proj.pluginVersion=0.11.01 proj.pluginVersion=0.11.01
proj.AppId=470375050882
and.BundleId=com.QuengGameStudio.com.unity.mobile2D
proj.classDir=Assets
proj.ConstantsClassName=GPGSIds
and.ResourceData=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%0d%0a%3c%21--Google+Play+game+services+IDs.+Save+this+file+as+res%2fvalues%2fgames-ids.xml+in+your+project.--%3e%0d%0a%3cresources%3e%0d%0a++%3c%21--app_id--%3e%0d%0a++%3cstring+name%3d%22app_id%22+translatable%3d%22false%22%3e470375050882%3c%2fstring%3e%0d%0a++%3c%21--package_name--%3e%0d%0a++%3cstring+name%3d%22package_name%22+translatable%3d%22false%22%3ecom.QuengGameStudio.com.unity.mobile2D%3c%2fstring%3e%0d%0a%3c%2fresources%3e
and.ClientId=470375050882-us7kp4ovmjjg9kf54qm2cb4v1qhi9frf.apps.googleusercontent.com
android.SetupDone=true
App.NearbdServiceId=com.QuengGameStudio.com.unity.mobile2D
android.NearbySetupDone=true
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<projectSetting name="com.google.external-dependency-managerAnalyticsEnabled" value="True" /> <projectSetting name="com.google.external-dependency-managerAnalyticsEnabled" value="True" />
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" /> <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" /> <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" /> <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="True" />
<projectSetting name="Google.VersionHandler.VersionHandlingEnabled" value="True" />
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" /> <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
<projectSetting name="GooglePlayServices.UseJetifier" value="True" /> <projectSetting name="GooglePlayServices.UseJetifier" value="True" />
</projectSettings> </projectSettings>
\ No newline at end of file
...@@ -8,7 +8,7 @@ PlayerSettings: ...@@ -8,7 +8,7 @@ PlayerSettings:
AndroidProfiler: 0 AndroidProfiler: 0
AndroidFilterTouchesWhenObscured: 0 AndroidFilterTouchesWhenObscured: 0
AndroidEnableSustainedPerformanceMode: 0 AndroidEnableSustainedPerformanceMode: 0
defaultScreenOrientation: 4 defaultScreenOrientation: 0
targetDevice: 2 targetDevice: 2
useOnDemandResources: 0 useOnDemandResources: 0
accelerometerFrequency: 60 accelerometerFrequency: 60
...@@ -155,6 +155,7 @@ PlayerSettings: ...@@ -155,6 +155,7 @@ PlayerSettings:
androidSupportedAspectRatio: 1 androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1 androidMaxAspectRatio: 2.1
applicationIdentifier: applicationIdentifier:
Android: com.QuengGameStudio.com.unity.mobile2D
Standalone: com.DefaultCompany.2DProject Standalone: com.DefaultCompany.2DProject
buildNumber: buildNumber:
Standalone: 0 Standalone: 0
...@@ -238,14 +239,14 @@ PlayerSettings: ...@@ -238,14 +239,14 @@ PlayerSettings:
clonedFromGUID: 10ad67313f4034357812315f3c407484 clonedFromGUID: 10ad67313f4034357812315f3c407484
templatePackageId: com.unity.template.2d@6.1.2 templatePackageId: com.unity.template.2d@6.1.2
templateDefaultScene: Assets/Scenes/SampleScene.unity templateDefaultScene: Assets/Scenes/SampleScene.unity
useCustomMainManifest: 0 useCustomMainManifest: 1
useCustomLauncherManifest: 0 useCustomLauncherManifest: 0
useCustomMainGradleTemplate: 0 useCustomMainGradleTemplate: 0
useCustomLauncherGradleManifest: 0 useCustomLauncherGradleManifest: 0
useCustomBaseGradleTemplate: 0 useCustomBaseGradleTemplate: 0
useCustomGradlePropertiesTemplate: 0 useCustomGradlePropertiesTemplate: 0
useCustomProguardFile: 0 useCustomProguardFile: 0
AndroidTargetArchitectures: 1 AndroidTargetArchitectures: 3
AndroidTargetDevices: 0 AndroidTargetDevices: 0
AndroidSplashScreenScale: 0 AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0} androidSplashScreen: {fileID: 0}
...@@ -685,7 +686,8 @@ PlayerSettings: ...@@ -685,7 +686,8 @@ PlayerSettings:
tvOS: PHOTON_UNITY_NETWORKING;PUN_2_0_OR_NEWER;PUN_2_OR_NEWER;PUN_2_19_OR_NEWER tvOS: PHOTON_UNITY_NETWORKING;PUN_2_0_OR_NEWER;PUN_2_OR_NEWER;PUN_2_19_OR_NEWER
additionalCompilerArguments: {} additionalCompilerArguments: {}
platformArchitecture: {} platformArchitecture: {}
scriptingBackend: {} scriptingBackend:
Android: 1
il2cppCompilerConfiguration: {} il2cppCompilerConfiguration: {}
managedStrippingLevel: managedStrippingLevel:
EmbeddedLinux: 1 EmbeddedLinux: 1
...@@ -706,7 +708,7 @@ PlayerSettings: ...@@ -706,7 +708,7 @@ PlayerSettings:
allowUnsafeCode: 0 allowUnsafeCode: 0
useDeterministicCompilation: 1 useDeterministicCompilation: 1
enableRoslynAnalyzers: 1 enableRoslynAnalyzers: 1
selectedPlatform: 0 selectedPlatform: 2
additionalIl2CppArgs: additionalIl2CppArgs:
scriptingRuntimeVersion: 1 scriptingRuntimeVersion: 1
gcIncremental: 1 gcIncremental: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment