Commit f2f1f730 authored by Yousef Sameh's avatar Yousef Sameh

Activity Service

parent 0ba46a41
fileFormatVersion: 2
guid: abe0c775351fe7bbdabf46f920ec466e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
using System;
using Newtonsoft.Json;
using Supabase.Postgrest.Attributes;
using Supabase.Postgrest.Models;
[Table("activities")]
public class Activity : BaseModel
{
[Column("message")]
[JsonProperty("message")]
public string Message { get; set; }
[Column("created_at")]
[JsonProperty("created_at")]
public DateTime CreatedAt { get; set; }
}
fileFormatVersion: 2
guid: 78e3779af5aec05e189bde49691674cf
\ No newline at end of file
using System;
using System.Threading;
using Cysharp.Threading.Tasks;
using Supabase.Realtime;
using Supabase.Realtime.PostgresChanges;
using UnityEngine;
public class ActivityService : Singleton<ActivityService>
{
private Supabase.Client supabase => SupabaseManager.Instance.Supabase();
private RealtimeChannel _channel;
public event Action<Activity> OnNewActivityReceived;
public async UniTask Initialize(CancellationToken ct = default)
{
try
{
// 1. Ensure Socket is connected
await supabase.Realtime.ConnectAsync();
// 2. Define the channel
_channel = supabase.Realtime.Channel("public-activities-stream");
// 3. Use the PostgresChanges Listener
// This replaces the old .OnInsert()
_channel.Register(new PostgresChangesOptions("public", "activities", PostgresChangesOptions.ListenType.Inserts));
// 4. Handle the incoming change
_channel.AddPostgresChangeHandler(
PostgresChangesOptions.ListenType.Inserts,
(sender, args) =>
{
// Access the new record from the event arguments
var activity = args.Model<Activity>();
if (activity != null)
{
OnNewActivityReceived?.Invoke(activity);
}
}
);
// 5. Subscribe
await _channel.Subscribe();
Debug.Log("<color=#00FF00>[ActivityService]</color> Subscribed to inserts.");
}
catch (Exception e)
{
Debug.LogError($"[ActivityService] Realtime Error: {e.Message}");
}
}
public void Dispose()
{
_channel?.Unsubscribe();
}
}
fileFormatVersion: 2
guid: a29f84e4eefe327808a91f9df8828283
\ No newline at end of file
......@@ -75,7 +75,6 @@ public class SupabaseAuthentication : MonoBehaviour
public void LogOutButton()
{
LogOut();
}
public async UniTask<OneOf<Success, string>> LogOut()
......
using Cysharp.Threading.Tasks;
using OneOf;
using OneOf.Types;
using Supabase;
using System;
using System.Collections.Generic;
......@@ -19,7 +18,6 @@ public class UserService : Singleton<UserService>
var userOrFail = await GetCurrentUser();
userOrFail.Switch((user) =>
{
print(user.User.DisplayName);
CurrentUser = user.User;
OnUserChange?.Invoke(CurrentUser);
}, (error) => Debug.LogError(error.Message));
......@@ -81,18 +79,12 @@ public class UserService : Singleton<UserService>
try
{
var parameters = new Dictionary<string, object> { { "target_user_id", userId } };
var userProf = await supabase.Rpc<User>("get_user_profile", parameters);
// Debug.Log($"My Rank: {myProfile.RankDisplay}");
// var response = await supabase
// .From<User>()
// .Where(x => x.Id == userId)
// .Single();
var userProf = await supabase.Rpc<List<User>>("get_user_profile", parameters);
if (userProf == null)
return new ErrorResult("User not found");
return new UserResult(userProf);
return new UserResult(userProf.First());
}
catch (Exception ex)
{
......
......@@ -36,6 +36,8 @@ public class HomeUI : MonoBehaviour
(error) => Debug.LogError(error)
);
ActivityService.Instance.Initialize();
}
public void show()
......
This diff is collapsed.
......@@ -964,6 +964,50 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 295720945}
m_CullTransparentMesh: 1
--- !u!1 &333690669
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 333690670}
- component: {fileID: 333690671}
m_Layer: 0
m_Name: ActivityService
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &333690670
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 333690669}
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: 1610260979}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &333690671
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 333690669}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a29f84e4eefe327808a91f9df8828283, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ActivityService
--- !u!1 &429400588
GameObject:
m_ObjectHideFlags: 0
......@@ -5202,6 +5246,7 @@ Transform:
m_Children:
- {fileID: 920987601}
- {fileID: 1213667303}
- {fileID: 333690670}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1615490126
......
......@@ -1398,7 +1398,7 @@ MonoBehaviour:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0.99607843, g: 0.84313726, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
......@@ -2216,7 +2216,7 @@ MonoBehaviour:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0.99607843, g: 0.84313726, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
......@@ -2447,7 +2447,7 @@ MonoBehaviour:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0.99607843, g: 0.84313726, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
......@@ -2849,7 +2849,7 @@ MonoBehaviour:
m_EditorClassIdentifier: LightSide.UniText::LightSide.UniText
m_Material: {fileID: 0}
m_Color: {r: 0.99607843, g: 0.84313726, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
......
......@@ -18,25 +18,25 @@ EditorUserSettings:
value: 54035150530d5d580f580e7b16220f4415154e737b2b75367a711f6be0b66c61
flags: 0
RecentlyUsedSceneGuid-3:
value: 0152005506515f5d0e5f5a7b46770d1317154c7d7d7f7734747a196ae0b26668
value: 5701055506000a030f5c542744260844404f4d73797975367c2c1e6ab7e2653d
flags: 0
RecentlyUsedSceneGuid-4:
value: 5200570406560d58095e5c75432609124f154e737a2d2432787e4b62b4e1366a
value: 5b01035204015f035c580d7242765c14464f4e7f7a2a70687c7e4432b5e2633b
flags: 0
RecentlyUsedSceneGuid-5:
value: 5701055506000a030f5c542744260844404f4d73797975367c2c1e6ab7e2653d
value: 5304575f5c0c51035d5a5e771271594417154e7c2d7b70647b7b4c35bbe1646d
flags: 0
RecentlyUsedSceneGuid-6:
value: 5b01035204015f035c580d7242765c14464f4e7f7a2a70687c7e4432b5e2633b
value: 0003525055055d020e0b0a7216755d444215417e787d27362e2f4866b2e1323e
flags: 0
RecentlyUsedSceneGuid-7:
value: 5304575f5c0c51035d5a5e771271594417154e7c2d7b70647b7b4c35bbe1646d
value: 0752035101010f0c54595b2046760e44134e4e7a7f7d71677c2c4836b7b4633e
flags: 0
RecentlyUsedSceneGuid-8:
value: 0752035101010f0c54595b2046760e44134e4e7a7f7d71677c2c4836b7b4633e
value: 0152005506515f5d0e5f5a7b46770d1317154c7d7d7f7734747a196ae0b26668
flags: 0
RecentlyUsedSceneGuid-9:
value: 0003525055055d020e0b0a7216755d444215417e787d27362e2f4866b2e1323e
value: 5200570406560d58095e5c75432609124f154e737a2d2432787e4b62b4e1366a
flags: 0
UnityEditor.ShaderGraph.Blackboard:
value: 18135939215a0a5004000b0e15254b524c030a3f2964643d120d1230e9e93a3fd6e826abbd2e2d293c4ead313b08042de6030a0afa240c0d020be94c4ba75e435d8715fa32c70d15d11612dacc11fee5d3c5d1fe9ab1bf968e93e2ffcbc3e7e2f0b3ffe0e8b0be9af8ffaeffff8e85dd8390e3949c8899daa7
......
......@@ -24,7 +24,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 6607
controlID: 9799
draggingID: 0
--- !u!114 &2
MonoBehaviour:
......@@ -50,7 +50,7 @@ MonoBehaviour:
x: 355
y: 61
width: 1097
height: 658
height: 422
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -70,7 +70,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1080, y: 2400}
m_TargetSize: {x: 226, y: 401}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
......@@ -79,16 +79,16 @@ MonoBehaviour:
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 08000000000000000000000000000000000000000000000000000000000000000000000000000000
m_SelectedSizes: 09000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -540
m_HBaseRangeMax: 540
m_VBaseRangeMin: -1200
m_VBaseRangeMax: 1200
m_HBaseRangeMin: -113
m_HBaseRangeMax: 113
m_VBaseRangeMin: -200.5
m_VBaseRangeMax: 200.5
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
......@@ -107,22 +107,22 @@ MonoBehaviour:
x: 0
y: 21
width: 1097
height: 637
m_Scale: {x: 0.26541665, y: 0.26541665}
m_Translation: {x: 548.5, y: 318.5}
height: 401
m_Scale: {x: 1, y: 1}
m_Translation: {x: 548.5, y: 200.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -2066.562
y: -1200.0001
width: 4133.124
height: 2400.0002
x: -548.5
y: -200.5
width: 1097
height: 401
m_MinimalGUI: 1
m_defaultScale: 0.26541665
m_LastWindowPixelSize: {x: 1097, y: 658}
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1097, y: 422}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
......@@ -153,7 +153,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 6608
controlID: 9800
draggingID: 0
--- !u!114 &4
MonoBehaviour:
......@@ -175,11 +175,11 @@ MonoBehaviour:
x: 0
y: 0
width: 1454
height: 684
height: 448
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 6609
controlID: 9801
draggingID: 0
--- !u!114 &5
MonoBehaviour:
......@@ -199,7 +199,7 @@ MonoBehaviour:
x: 0
y: 0
width: 355
height: 684
height: 448
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 6}
......@@ -231,7 +231,7 @@ MonoBehaviour:
x: 0
y: 61
width: 354
height: 658
height: 422
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -249,14 +249,28 @@ MonoBehaviour:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
- m_Data: 58062
- m_Data: 31262
m_LastClickedID:
m_Data: 0
m_ExpandedIDs:
- m_Data: -71844
- m_Data: -71722
- m_Data: -67008
- m_Data: -66996
- m_Data: -62958
- m_Data: -61152
- m_Data: -45736
- m_Data: -1402
- m_Data: -12
- m_Data: 78876
- m_Data: 78896
- m_Data: 78920
- m_Data: 78952
- m_Data: 78968
- m_Data: 79006
- m_Data: 79022
- m_Data: 79072
- m_Data: 80546
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -274,7 +288,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 5}
m_ClientGUIView: {fileID: 0}
m_SearchString:
m_ExpandedScenes: []
m_CurrenRootInstanceID: 0
......@@ -300,7 +314,7 @@ MonoBehaviour:
x: 355
y: 0
width: 1099
height: 684
height: 448
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 2}
......@@ -333,7 +347,7 @@ MonoBehaviour:
x: 355
y: 61
width: 1097
height: 433
height: 658
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -918,9 +932,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: 2.8141794, y: 5.1738243, z: -10.017115}
m_Target: {x: 254.03662, y: 356.294, z: 0}
speed: 2
m_Value: {x: 2.8141794, y: 5.1738243, z: -10.017115}
m_Value: {x: 254.03662, y: 356.294, z: 0}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
......@@ -970,9 +984,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 13.835903
m_Target: 76.6172
speed: 2
m_Value: 13.835903
m_Value: 76.6172
m_Ortho:
m_Target: 1
speed: 2
......@@ -1016,25 +1030,25 @@ 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:
serializedVersion: 2
x: 0
y: 684
y: 448
width: 1454
height: 299
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 10}
height: 535
m_MinSize: {x: 101, y: 126}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 11}
m_Panes:
- {fileID: 10}
- {fileID: 11}
- {fileID: 12}
- {fileID: 13}
m_Selected: 0
m_LastSelected: 1
m_Selected: 1
m_LastSelected: 0
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -1084,7 +1098,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Scenes/TF
- Assets/App/Infrastructure/Activity
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
......@@ -1094,22 +1108,23 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 96
m_LastFolders:
- Assets/Scenes/TF
- Assets/App/Infrastructure/Activity
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: 307}
scrollPos: {x: 0, y: 79}
m_SelectedIDs:
- m_Data: 59464
- m_Data: 82226
m_LastClickedID:
m_Data: 59464
m_Data: 82226
m_ExpandedIDs:
- m_Data: 0
- m_Data: 57336
- m_Data: 57784
- m_Data: 57740
- m_Data: 57872
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
......@@ -1174,8 +1189,8 @@ MonoBehaviour:
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs:
- m_Data: 58062
m_LastClickedInstanceID: 58062
- m_Data: 80546
m_LastClickedInstanceID: 80546
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs:
- m_Data: 46526
......@@ -1232,9 +1247,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 745
y: 509
width: 1453
height: 273
height: 509
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......
......@@ -16,7 +16,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 948
width: 1904
height: 1039
m_ShowMode: 4
m_Title: Console
......@@ -44,7 +44,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 948
width: 1904
height: 1039
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
......@@ -69,7 +69,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 948
width: 1904
height: 36
m_MinSize: {x: 50, y: 50}
m_MaxSize: {x: 4000, y: 4000}
......@@ -91,7 +91,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 1019
width: 948
width: 1904
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
......@@ -114,12 +114,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 36
width: 948
width: 1904
height: 983
m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 4263
controlID: 10980
draggingID: 0
--- !u!114 &6
MonoBehaviour:
......@@ -140,12 +140,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 724
width: 1454
height: 983
m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 4264
controlID: 10981
draggingID: 0
--- !u!114 &7
MonoBehaviour:
......@@ -166,12 +166,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 724
height: 684
width: 1454
height: 632
m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 4265
controlID: 10982
draggingID: 0
--- !u!114 &8
MonoBehaviour:
......@@ -190,8 +190,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 177
height: 684
width: 355
height: 632
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 14}
......@@ -214,10 +214,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 177
x: 355
y: 0
width: 547
height: 684
width: 1099
height: 632
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 13}
......@@ -242,9 +242,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 684
width: 724
height: 299
y: 632
width: 1454
height: 351
m_MinSize: {x: 101, y: 126}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 17}
......@@ -270,9 +270,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 724
x: 1454
y: 0
width: 224
width: 450
height: 983
m_MinSize: {x: 276, y: 76}
m_MaxSize: {x: 4001, y: 4026}
......@@ -303,8 +303,8 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 0
width: 948
y: 25
width: 1904
height: 36
m_SerializedDataModeController:
m_DataMode: 0
......@@ -568,10 +568,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Game\u200B"
m_Pos:
serializedVersion: 2
x: 178
y: 24
width: 545
height: 658
x: 355
y: 61
width: 1097
height: 606
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -591,7 +591,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1080, y: 2400}
m_TargetSize: {x: 329, y: 585}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
......@@ -600,16 +600,16 @@ MonoBehaviour:
m_VSyncEnabled: 0
m_Gizmos: 0
m_Stats: 0
m_SelectedSizes: 08000000000000000000000000000000000000000000000000000000000000000000000000000000
m_SelectedSizes: 09000000000000000000000000000000000000000000000000000000000000000000000000000000
m_ZoomArea:
m_HRangeLocked: 0
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -540
m_HBaseRangeMax: 540
m_VBaseRangeMin: -1200
m_VBaseRangeMax: 1200
m_HBaseRangeMin: -164.5
m_HBaseRangeMax: 164.5
m_VBaseRangeMin: -292.5
m_VBaseRangeMax: 292.5
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
......@@ -627,23 +627,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 545
height: 637
m_Scale: {x: 0.26541665, y: 0.26541665}
m_Translation: {x: 272.5, y: 318.5}
width: 1097
height: 585
m_Scale: {x: 1, y: 1}
m_Translation: {x: 548.5, y: 292.5}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -1026.6876
y: -1200.0001
width: 2053.3752
height: 2400.0002
x: -548.5
y: -292.5
width: 1097
height: 585
m_MinimalGUI: 1
m_defaultScale: 0.26541665
m_LastWindowPixelSize: {x: 545, y: 658}
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1097, y: 606}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
......@@ -672,9 +672,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 24
width: 176
height: 658
y: 61
width: 354
height: 606
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -691,16 +691,29 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: []
m_SelectedIDs:
- m_Data: 31262
m_LastClickedID:
m_Data: 0
m_ExpandedIDs:
- m_Data: -8818
- m_Data: -1342
- m_Data: 55606
- m_Data: 55648
- m_Data: 55828
- m_Data: 55890
- m_Data: -71844
- m_Data: -71722
- m_Data: -67008
- m_Data: -66996
- m_Data: -62958
- m_Data: -61152
- m_Data: -45736
- m_Data: -1402
- m_Data: -12
- m_Data: 78876
- m_Data: 78896
- m_Data: 78920
- m_Data: 78952
- m_Data: 78968
- m_Data: 79006
- m_Data: 79022
- m_Data: 79072
- m_Data: 80546
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -718,7 +731,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 8}
m_ClientGUIView: {fileID: 0}
m_SearchString:
m_ExpandedScenes: []
m_CurrenRootInstanceID: 0
......@@ -750,7 +763,7 @@ MonoBehaviour:
x: 355
y: 61
width: 1097
height: 433
height: 658
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -1335,9 +1348,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: 2.8141794, y: 5.1738243, z: -10.017115}
m_Target: {x: 254.03662, y: 356.294, z: 0}
speed: 2
m_Value: {x: 0.3170178, y: 0.01101324, z: -0.0036561592}
m_Value: {x: 254.03662, y: 356.294, z: 0}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
......@@ -1387,9 +1400,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 13.835903
m_Target: 76.6172
speed: 2
m_Value: 10.365613
m_Value: 76.6172
m_Ortho:
m_Target: 1
speed: 2
......@@ -1445,9 +1458,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 520
y: 745
width: 1453
height: 498
height: 273
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -1472,7 +1485,7 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/App/Infrastructure/Core
- Assets/App/Infrastructure/Activity
m_Globs: []
m_ProductIds:
m_AnyWithAssetOrigin: 0
......@@ -1482,7 +1495,7 @@ MonoBehaviour:
m_ViewMode: 1
m_StartGridSize: 96
m_LastFolders:
- Assets/App/Infrastructure/Core
- Assets/App/Infrastructure/Activity
m_LastFoldersGridSize: 96
m_LastProjectPath: /home/p0wer/development/ssbookminigames/My project
m_LockTracker:
......@@ -1491,12 +1504,14 @@ MonoBehaviour:
m_FolderTreeState:
scrollPos: {x: 0, y: 79}
m_SelectedIDs:
- m_Data: 55224
- m_Data: 82226
m_LastClickedID:
m_Data: 55224
m_Data: 82226
m_ExpandedIDs:
- m_Data: 0
- m_Data: 57336
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -1530,6 +1545,8 @@ MonoBehaviour:
m_ExpandedIDs:
- m_Data: 0
- m_Data: 57336
- m_Data: 1000000000
- m_Data: 2147483647
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -1557,9 +1574,9 @@ MonoBehaviour:
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs:
- m_Data: 31262
m_LastClickedInstanceID: 31262
m_HadKeyboardFocusLastEvent: 0
- m_Data: 80546
m_LastClickedInstanceID: 80546
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs:
- m_Data: 46526
- m_Data: 61214
......@@ -1615,9 +1632,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 708
width: 723
height: 273
y: 693
width: 1453
height: 325
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
......@@ -1748,9 +1765,9 @@ MonoBehaviour:
m_TextWithWhitespace: "Inspector\u200B"
m_Pos:
serializedVersion: 2
x: 725
y: 24
width: 223
x: 1454
y: 61
width: 449
height: 957
m_SerializedDataModeController:
m_DataMode: 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