Commit f45cdacd authored by Yousef Sameh's avatar Yousef Sameh

Basic UI Controllers

parent 7d2207de
using System;
using Supabase.Gotrue;
using Supabase.Gotrue.Interfaces;
using UnityEngine;
using UnityEngine.Events;
public class SessionListener : MonoBehaviour
public class SessionListener : Singleton<SessionListener>
{
[SerializeField] private SupabaseManager SupabaseManager;
......
using System;
using Supabase;
using Supabase.Gotrue;
using TMPro;
using UnityEngine;
using Client = Supabase.Client;
......@@ -9,14 +8,11 @@ public class SupabaseManager : Singleton<SupabaseManager>
{
[SerializeField] private SessionListener SessionListener;
public TMP_Text ErrorText = null!;
// Public in case other components are interested in network status
private readonly NetworkStatus _networkStatus = new();
// Internals
private Client
? _client;
private Client? _client;
public Client? Supabase() => _client;
......@@ -70,7 +66,6 @@ public class SupabaseManager : Singleton<SupabaseManager>
catch (Exception e)
{
// Something else went wrong, so we assume we are offline
ErrorText.text = e.Message;
Debug.Log(e.Message, gameObject);
Debug.LogException(e, gameObject);
......@@ -91,7 +86,6 @@ public class SupabaseManager : Singleton<SupabaseManager>
private void DebugListener(string message, Exception e)
{
ErrorText.text = message;
Debug.Log(message, gameObject);
// ReSharper disable once ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract
if (e != null)
......
......@@ -3,7 +3,6 @@ using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using OneOf;
using Supabase;
using UnityEditor.Experimental.GraphView;
public class LeaderboardService : Singleton<LeaderboardService>
{
......
using Cysharp.Threading.Tasks;
using OneOf;
using Supabase;
using Supabase.Realtime;
using Supabase.Realtime.PostgresChanges;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class UserService : Singleton<UserService>
......
using System.Linq;
using Cysharp.Threading.Tasks;
using LightSide;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
public class HomeUI : MonoBehaviour
public class HomeController : MonoBehaviour
{
[SerializeField] private UniText greetingText;
[SerializeField] private UniText rankText;
[SerializeField] private UniText leaderBoard;
[SerializeField] private UIDocument mainMenuDocument;
private Label name;
private Label xp;
private Label rank;
private CustomProgressBar xpProgressBar;
private ScrollView activityScrollView;
void Awake()
{
var root = mainMenuDocument.rootVisualElement.Q("Home");
name = root.Q<Label>("Name");
rank = root.Q<Label>("Rank");
xp = root.Q<Label>("Xp");
xpProgressBar = root.Q<CustomProgressBar>("ProgressBar");
activityScrollView = mainMenuDocument.rootVisualElement.Q("LiveBar").Children().First() as ScrollView;
UserService.Instance.OnUserChange += OnUserChange;
ActivityService.Instance.OnNewActivityReceived += OnNewActivityReceived;
}
private async void Start()
{
UserService.Instance.LoadCurrentUser();
var playersOrFailure = await LeaderboardService.Instance.LoadTop100Players();
playersOrFailure.Switch(
(players) =>
{
string leaderTest = "";
foreach (var player in players)
{
leaderTest += player.Position + " " + player.DisplayName + "\n";
}
leaderBoard.Text = leaderTest;
}
,
(error) => Debug.LogError(error)
);
ActivityService.Instance.Initialize();
}
public void show()
{
gameObject.SetActive(true);
......@@ -53,14 +44,16 @@ public class HomeUI : MonoBehaviour
private void OnUserChange(User user)
{
greetingText.Text = $"Hello, {user.DisplayName}";
rankText.Text = $"Your rank is {user.Points}";
name.text = user.DisplayName;
xp.text = user.Points.ToString();
rank.text = user.Rank.ToString();
xpProgressBar.Value = user.Points / 5000f;
}
public void LoadMinigameScene(string sceneName)
private void OnNewActivityReceived(Activity activity)
{
SceneManager.LoadScene(sceneName);
var entry = new Label($"{activity.Message}");
activityScrollView.Add(entry);
}
}
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.UIElements;
public class LeaderboardController : MonoBehaviour
{
[SerializeField] private UIDocument leaderboardDocument;
private VisualElement leaderboardScrollView;
void Awake()
{
var root = leaderboardDocument.rootVisualElement;
leaderboardScrollView = root.Q<VisualElement>("LeadboardContent");
LoadLeaderboard().Forget();
}
private async UniTask LoadLeaderboard()
{
// Clear existing entries
leaderboardScrollView.Clear();
// Load top 100 players
await UniTask.WaitUntil(() => UserService.Instance.CurrentUser != null);
var result = await LeaderboardService.Instance.LoadTop100Players();
result.Switch(
(List<LeaderboardPlayerModel> players) =>
{
foreach (var player in players)
{
var entry = new CustomLeaderboardSlot
{
PlayerName = player.DisplayName,
Rank = player.Rank,
XP = player.Points.ToString(),
Index = player.Position.ToString(),
IsOwner = player.Id == UserService.Instance.CurrentUser?.Id
};
leaderboardScrollView.Add(entry);
}
},
(string error) =>
{
var errorLabel = new Label($"Error loading leaderboard: {error}");
leaderboardScrollView.Add(errorLabel);
}
);
}
}
fileFormatVersion: 2
guid: 8cf28bfc4d270e64287dfa1d4fa3420f
\ No newline at end of file
guid: 15e0930515e265210811f31b2b312b18
\ No newline at end of file
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
public class LoginUI : MonoBehaviour
public class LoginController : MonoBehaviour
{
//public static LoginUI Instance;
[SerializeField] private TMP_InputField emailInputField;
[SerializeField] private TMP_InputField passwordInputField;
[SerializeField] private UIDocument uIDocument;
[SerializeField] private TextField emailInputField;
[SerializeField] private TextField passwordInputField;
[SerializeField] private Button loginButton;
[SerializeField] private Button createAcountPanelButton;
[SerializeField] private TextMeshProUGUI messageText;
//private void Awake()
//{
// if (Instance == null)
// {
// Instance = this;
// }
// else
// {
// Debug.LogError("there are two login menu");
// }
//}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
private void OnEnable()
{
loginButton.onClick.AddListener(Login);
//createAcountPanelButton.onClick.AddListener(() =>
//{
// CreateAcountUI.Instance.Show();
// hide();
//});
var root = uIDocument.rootVisualElement;
emailInputField = root.Q<TextField>("LoginEmail");
passwordInputField = root.Q<TextField>("LoginPassword");
loginButton = root.Q<Button>("Login");
loginButton.clicked += Login;
}
// Update is called once per frame
void Update()
private void OnDisable()
{
loginButton.clicked -= Login;
}
private async void Login()
......@@ -52,11 +32,16 @@ public class LoginUI : MonoBehaviour
var login = await SupabaseAuthentication.Instance.LogIn(email, password);
login.Switch(
(_) => { },
(string error) => { messageText.text = error; }
(string error) => { Debug.LogError(error); }
);
}
public void LoadMainMenu()
{
SceneManager.LoadScene("MainMenu");
}
public void Show()
{
gameObject.SetActive(true);
......
using UnityEngine;
using UnityEngine.UIElements;
public class ProfileController : MonoBehaviour
{
[SerializeField] private UIDocument profileDocument;
private Label name;
private Label rank;
private Label xp;
private CustomProgressBar xpProgressBar;
void Awake()
{
var root = profileDocument.rootVisualElement.Q("Profile");
name = root.Q<Label>("Username");
rank = root.Q<Label>("Rank");
xp = root.Q<Label>("Xp");
xpProgressBar = root.Q<CustomProgressBar>("ProgressBar");
UserService.Instance.OnUserChange += OnUserChange;
}
private void OnUserChange(User user)
{
name.text = user.DisplayName;
rank.text = user.Rank;
xp.text = user.Points.ToString();
xpProgressBar.Value = user.Points / 5000f;
}
}
fileFormatVersion: 2
guid: fc2b3d6a8d39f3230aef9e126ee2b1ea
\ No newline at end of file
fileFormatVersion: 2
guid: 9f5e4a3bb94ec3648b180e433c73baf4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
using UnityEngine;
using UnityEngine.UIElements;
public class LoginManager : MonoBehaviour
{
[SerializeField] UIDocument UIDocument;
TextField email;
TextField password;
Button loginButton;
void Start()
{
email = UIDocument.rootVisualElement.Q<TextField>("email");
password = UIDocument.rootVisualElement.Q<TextField>("password");
loginButton = UIDocument.rootVisualElement.Q<Button>("loginButton");
loginButton.clicked += OnLoginButtonClick;
}
private void OnLoginButtonClick()
{
string emailValue = email.value;
string passwordValue = password.value;
Debug.Log($"Email: {emailValue}, Password: {passwordValue}");
}
void LiveBar()
{
ScrollView liveBar = UIDocument.rootVisualElement.Q<VisualElement>("liveBar").Q<ScrollView>();
Label text = new Label("<color=#FED700>Esraa</color> فازت");
liveBar.Add(text);
CustomLeaderboardSlot slot = new CustomLeaderboardSlot();
slot.Index = "1";
slot.PlayerName = "Abdo";
slot.Rank = "اسطوري";
slot.XP = "1000";
slot.IsOwner = true;
slot.SetPlayerImage("https://www.pngall.com/wp-content/uploads/5/Profile-PNG-High-Quality-Image.png");
liveBar.Add(slot);
CustomSwitch switchh = UIDocument.rootVisualElement.Q<ScrollView>("SettingList").Q<CustomSwitch>("SoundSwitch");
switchh.IsOn = true;
}
}
......@@ -119,6 +119,69 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &232732868
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 232732870}
- component: {fileID: 232732869}
m_Layer: 0
m_Name: SupabaseListener
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &232732869
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 232732868}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 14bbed8449713f51db869aa6dba9c6fa, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::SessionListener
SupabaseManager: {fileID: 689087718}
LoggedIn:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1746642442}
m_TargetAssemblyTypeName: LoginController, Assembly-CSharp
m_MethodName: LoadMainMenu
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
LoggedOut:
m_PersistentCalls:
m_Calls: []
--- !u!4 &232732870
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 232732868}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 616.9188, y: 1194.7426, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &414692743
GameObject:
m_ObjectHideFlags: 0
......@@ -153,6 +216,51 @@ Transform:
- {fileID: 2025346609}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &689087716
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 689087717}
- component: {fileID: 689087718}
m_Layer: 0
m_Name: Supabase
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &689087717
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 689087716}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 616.9188, y: 1194.7426, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &689087718
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 689087716}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5baed90edb7a40852b66a41622c93859, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::SupabaseManager
SessionListener: {fileID: 232732869}
--- !u!1 &1113388150
GameObject:
m_ObjectHideFlags: 0
......@@ -277,6 +385,51 @@ Transform:
m_Children: []
m_Father: {fileID: 2025346609}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1486533216
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1486533217}
- component: {fileID: 1486533218}
m_Layer: 0
m_Name: SupabaseAuthentication
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1486533217
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1486533216}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 616.9188, y: 1194.7426, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1486533218
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1486533216}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 740bc2dc1ba97be68adb58313f40de23, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::SupabaseAuthentication
supabaseManager: {fileID: 689087718}
--- !u!1 &1707671416
GameObject:
m_ObjectHideFlags: 0
......@@ -307,8 +460,54 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1113388151}
- {fileID: 1746642441}
m_Father: {fileID: 414692744}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1746642440
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1746642441}
- component: {fileID: 1746642442}
m_Layer: 0
m_Name: LoginController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1746642441
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1746642440}
serializedVersion: 2
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: 1707671417}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1746642442
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1746642440}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15584a60abf537c4fb863ba3aeb3ee6d, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::LoginController
uIDocument: {fileID: 2143987065}
--- !u!1 &2025346608
GameObject:
m_ObjectHideFlags: 0
......@@ -538,4 +737,7 @@ Transform:
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 232732870}
- {fileID: 1486533217}
- {fileID: 689087717}
- {fileID: 414692744}
......@@ -365,6 +365,141 @@ Transform:
- {fileID: 178265492}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &755069555
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 755069556}
- component: {fileID: 755069557}
m_Layer: 0
m_Name: LeaderboardController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &755069556
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 755069555}
serializedVersion: 2
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: 2129398203}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &755069557
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 755069555}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15e0930515e265210811f31b2b312b18, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::LeaderboardController
leaderboardDocument: {fileID: 96388575}
--- !u!1 &882327169
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 882327170}
- component: {fileID: 882327171}
m_Layer: 0
m_Name: HomeController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &882327170
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 882327169}
serializedVersion: 2
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: 2129398203}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &882327171
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 882327169}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6abd7c2813215344aacce964e4964aac, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::HomeController
mainMenuDocument: {fileID: 96388575}
--- !u!1 &1859771920
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1859771921}
- component: {fileID: 1859771922}
m_Layer: 0
m_Name: ProfileController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1859771921
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1859771920}
serializedVersion: 2
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: 2129398203}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1859771922
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1859771920}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fc2b3d6a8d39f3230aef9e126ee2b1ea, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ProfileController
profileDocument: {fileID: 96388575}
--- !u!1 &1986353039
GameObject:
m_ObjectHideFlags: 0
......@@ -532,6 +667,9 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 227517948}
- {fileID: 882327170}
- {fileID: 755069556}
- {fileID: 1859771921}
m_Father: {fileID: 744843710}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1660057539 &9223372036854775807
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,12 +3,14 @@
<Project Path="Unity.RenderPipelines.Universal.Runtime.csproj" />
<Project Path="FlatKit.Utils.Editor.csproj" />
<Project Path="ExternAttributes.Editor.csproj" />
<Project Path="Nobi.UiRoundedCorners.Editor.csproj" />
<Project Path="CFXRRuntime.csproj" />
<Project Path="CFXRDemo.csproj" />
<Project Path="CFXREditor.csproj" />
<Project Path="Assembly-CSharp-firstpass.csproj" />
<Project Path="Assembly-CSharp-Editor.csproj" />
<Project Path="KinoBloom.Runtime.csproj" />
<Project Path="Nobi.UiRoundedCorners.csproj" />
<Project Path="CFXR.WelcomeScreen.csproj" />
<Project Path="ToonyColorsPro.Demo.Editor.csproj" />
</Solution>
......@@ -39,7 +39,7 @@
"url": "https://packages.unity.com"
},
"com.unity.burst": {
"version": "1.8.27",
"version": "1.8.25",
"depth": 2,
"source": "registry",
"dependencies": {
......
......@@ -6,8 +6,11 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/App.unity
guid: 11cbccdcd0073e6b9b696ebb57616ab2
path: Assets/AppUI/Scenes/Login.unity
guid: e370a49a43f15c2469c4a8816600e643
- enabled: 1
path: Assets/AppUI/Scenes/Mainmenu.unity
guid: 198738685e2023340a77b711aabab84e
- enabled: 1
path: Assets/Scenes/TF/TF.unity
guid: c2f60049cef0f6b44b9445afcf550aff
......
m_EditorVersion: 6000.3.8f1
m_EditorVersionWithRevision: 6000.3.8f1 (1c7db571dde0)
m_EditorVersion: 6000.3.0f1
m_EditorVersionWithRevision: 6000.3.0f1 (d1870ce95baf)
......@@ -33,10 +33,10 @@ EditorUserSettings:
value: 0752035101010f0c54595b2046760e44134e4e7a7f7d71677c2c4836b7b4633e
flags: 0
RecentlyUsedSceneGuid-8:
value: 060203560401505a595d0a7345200d44404e1b7e2d707e617b7f4d63e7b6606b
value: 52080c51560d5f03580b5e7242700c4446164f7d2e7f77612c281f32e0b8603d
flags: 0
RecentlyUsedSceneGuid-9:
value: 52080c51560d5f03580b5e7242700c4446164f7d2e7f77612c281f32e0b8603d
value: 060203560401505a595d0a7345200d44404e1b7e2d707e617b7f4d63e7b6606b
flags: 0
UnityEditor.ShaderGraph.Blackboard:
value: 18135939215a0a5004000b0e15254b524c030a3f2964643d120d1230e9e93a3fd6e826abbd2e2d293c4ead313b08042de6030a0afa240c0d020be94c4ba75e435d8715fa32c70d15d11612dacc11fee5d3c5d1fe9ab1bf968e93e2ffcbc3e7e2f0b3ffe0e8b0be9af8ffaeffff8e85dd8390e3949c8899daa7
......
......@@ -19,7 +19,7 @@ MonoBehaviour:
width: 1904
height: 1039
m_ShowMode: 4
m_Title: Project
m_Title: Console
m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
......@@ -119,7 +119,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 4119
controlID: 8825
draggingID: 0
--- !u!114 &6
MonoBehaviour:
......@@ -145,7 +145,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 4120
controlID: 8826
draggingID: 0
--- !u!114 &7
MonoBehaviour:
......@@ -171,7 +171,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 4121
controlID: 8827
draggingID: 0
--- !u!114 &8
MonoBehaviour:
......@@ -236,7 +236,7 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 1
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
m_Name: ProjectBrowser
m_Name: ConsoleWindow
m_EditorClassIdentifier:
m_Children: []
m_Position:
......@@ -245,16 +245,16 @@ MonoBehaviour:
y: 632
width: 1454
height: 351
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 16}
m_MinSize: {x: 101, y: 126}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 17}
m_Panes:
- {fileID: 16}
- {fileID: 17}
- {fileID: 18}
- {fileID: 19}
m_Selected: 0
m_LastSelected: 1
m_Selected: 1
m_LastSelected: 0
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -706,27 +706,47 @@ MonoBehaviour:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
- m_Data: 64392
- m_Data: 31262
m_LastClickedID:
m_Data: 64392
m_Data: 0
m_ExpandedIDs:
- m_Data: -43612
- m_Data: -35028
- m_Data: -27586
- m_Data: -17086
- m_Data: -16000
- m_Data: -6542
- m_Data: -5310
- m_Data: -5188
- m_Data: -5014
- m_Data: -4876
- m_Data: -4218
- m_Data: -1344
- m_Data: 60786
- m_Data: 60858
- m_Data: 60864
- m_Data: 60924
- m_Data: 70810
- m_Data: -35018
- m_Data: -34754
- m_Data: -33834
- m_Data: -33598
- m_Data: -32484
- m_Data: -22008
- m_Data: -21544
- m_Data: -14382
- m_Data: -13636
- m_Data: -11440
- m_Data: -9338
- m_Data: -9128
- m_Data: -6144
- m_Data: -5192
- m_Data: -4966
- m_Data: -3018
- m_Data: -1342
- m_Data: -12
- m_Data: 56188
- m_Data: 56206
- m_Data: 56210
- m_Data: 58072
- m_Data: 58082
- m_Data: 58096
- m_Data: 58462
- m_Data: 58466
- m_Data: 58492
- m_Data: 58502
- m_Data: 58958
- m_Data: 58968
- m_Data: 58988
- m_Data: 62456
- m_Data: 62476
- m_Data: 63974
- m_Data: 64000
- m_Data: 64600
- m_Data: 64632
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -744,7 +764,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 0}
m_ClientGUIView: {fileID: 8}
m_SearchString:
m_ExpandedScenes: []
m_CurrenRootInstanceID: 0
......@@ -1361,9 +1381,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: 616.9188, y: 1194.7426, z: -1.9342693}
m_Target: {x: 632.0484, y: 1166.8389, z: -2.3196595}
speed: 2
m_Value: {x: 616.9188, y: 1194.7426, z: -1.9342693}
m_Value: {x: 632.0484, y: 1166.8389, z: -2.3196595}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
......@@ -1413,9 +1433,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 273.00452
m_Target: 311.54352
speed: 2
m_Value: 273.00452
m_Value: 311.54352
m_Ortho:
m_Target: 1
speed: 2
......@@ -1498,7 +1518,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Scenes
- Assets/App/UI
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
......@@ -1508,21 +1528,22 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 96
m_LastFolders:
- Assets/Scenes
- Assets/App/UI
m_LastFoldersGridSize: 96
m_LastProjectPath: /home/p0wer/development/ssbookminigames/My project
m_LockTracker:
m_IsLocked: 0
m_LastLocalAssetsSearchArea: 1
m_FolderTreeState:
scrollPos: {x: 0, y: 415}
scrollPos: {x: 0, y: 79}
m_SelectedIDs:
- m_Data: 57350
- m_Data: 58130
m_LastClickedID:
m_Data: 57350
m_Data: 58130
m_ExpandedIDs:
- m_Data: 0
- m_Data: 56162
- m_Data: 56322
- m_Data: 56682
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
......@@ -1557,7 +1578,7 @@ MonoBehaviour:
m_Data: 0
m_ExpandedIDs:
- m_Data: 0
- m_Data: 56162
- m_Data: 56322
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
......@@ -1587,8 +1608,8 @@ MonoBehaviour:
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs:
- m_Data: 64392
m_LastClickedInstanceID: 64392
- m_Data: 31262
m_LastClickedInstanceID: 31262
m_HadKeyboardFocusLastEvent: 0
m_ExpandedInstanceIDs:
- m_Data: 46526
......@@ -1611,7 +1632,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 10}
m_ClientGUIView: {fileID: 0}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
......
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