Something

dev-main
Hazim Bin Ijaz 2 weeks ago
parent 451403b7fe
commit cc0e77a04d

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

@ -1,11 +1,11 @@
//Shady
using System; using System;
using UnityEngine; using UnityEngine;
using System.Linq; using System.Linq;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Collections.Generic; using System.Collections.Generic;
using Shady.Core.Singletons; using HGR.Core.Singletons;
using Newtonsoft.Json; using Newtonsoft.Json;
public class TWS_SplashScreenStoryManager : Singleton<TWS_SplashScreenStoryManager> public class TWS_SplashScreenStoryManager : Singleton<TWS_SplashScreenStoryManager>

@ -1,7 +1,7 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Shady.Core.Singletons; using HGR.Core.Singletons;
using UnityEngine; using UnityEngine;
public class UI_Manager : Singleton<UI_Manager> public class UI_Manager : Singleton<UI_Manager>

@ -1,4 +1,4 @@
using Shady.Core.Singletons; using HGR.Core.Singletons;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using System.Collections.Generic; using System.Collections.Generic;
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using System; using System;
using System.Collections; using System.Collections;
using Fusion.Editor; using Fusion.Editor;

@ -1,4 +1,4 @@
//Shady
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Unity.Profiling; using Unity.Profiling;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;

@ -1,7 +1,7 @@
//Shady
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using Shady.Core.Singletons; using HGR.Core.Singletons;
public sealed class GameData : SingletonScriptableObject<GameData> public sealed class GameData : SingletonScriptableObject<GameData>
{ {
@ -63,7 +63,7 @@ public sealed class GameData : SingletonScriptableObject<GameData>
// METHODS // METHODS
//=================================================== //===================================================
#if UNITY_EDITOR #if UNITY_EDITOR
[UnityEditor.MenuItem("Shady/Game Data %#g", false, 1)] [UnityEditor.MenuItem("Save System/Game Data %#g", false, 1)]
public static void CreateObject() => SelectHolder(); public static void CreateObject() => SelectHolder();
#endif #endif

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
public static class GameLog public static class GameLog

@ -1,4 +1,3 @@
/// Shady
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
@ -6,7 +5,7 @@ using System.Collections.Generic;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
#endif #endif
namespace Shady.Core.Singletons namespace HGR.Core.Singletons
{ {
[System.Serializable] [System.Serializable]
public sealed class Singleton public sealed class Singleton

@ -1,4 +1,4 @@
//Shady
// Introduce your new variables under Game Variables and pass them accordingly // Introduce your new variables under Game Variables and pass them accordingly
// in the Constructor => SaveData(); // in the Constructor => SaveData();
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using System.IO; using System.IO;
using System.Text; using System.Text;
using UnityEngine; using UnityEngine;
@ -203,7 +203,7 @@ public sealed class SaveSystem
// EDITOR METHODS // EDITOR METHODS
//=================================================== //===================================================
//For Opening SaveData file => Shortcut key (Ctrl or Cmd) + Shift + j //For Opening SaveData file => Shortcut key (Ctrl or Cmd) + Shift + j
[UnityEditor.MenuItem("Shady/Save System/Open Save File %#j")] [UnityEditor.MenuItem("Save System/Save System/Open Save File %#j")]
private static void OpenSaveFile() private static void OpenSaveFile()
{ {
if(File.Exists(GetSavePath)) if(File.Exists(GetSavePath))
@ -213,7 +213,7 @@ public sealed class SaveSystem
}//OpenSaveFile() end }//OpenSaveFile() end
//For Reseting Save Data File => Shortcut key (Ctrl or Cmd) + Shift + r //For Reseting Save Data File => Shortcut key (Ctrl or Cmd) + Shift + r
[UnityEditor.MenuItem("Shady/Save System/Reset Save Data %#r")] [UnityEditor.MenuItem("Save System/Save System/Reset Save Data %#r")]
private static void ResetSaveData() private static void ResetSaveData()
{ {
if(UnityEditor.EditorUtility.DisplayDialog("Save Data", "Do you want to Reset all Save Data ?", "Yes", "No")) if(UnityEditor.EditorUtility.DisplayDialog("Save Data", "Do you want to Reset all Save Data ?", "Yes", "No"))

@ -1,8 +1,7 @@
/// Shady
/// SingletonBase v1.4 /// SingletonBase v1.4
using UnityEngine; using UnityEngine;
namespace Shady.Core.Singletons namespace HGR.Core.Singletons
{ {
#if ODIN_INSPECTOR #if ODIN_INSPECTOR
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

@ -1,9 +1,9 @@
//Shady
using System.IO; using System.IO;
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
namespace Shady.Core.Singletons namespace HGR.Core.Singletons
{ {
[HideMonoScript] [HideMonoScript]
public abstract class SingletonScriptableObject<T> : ScriptableObject where T : ScriptableObject public abstract class SingletonScriptableObject<T> : ScriptableObject where T : ScriptableObject
@ -60,7 +60,7 @@ namespace Shady.Core.Singletons
// Implement this method in the derived class with its name replacing Test Object // Implement this method in the derived class with its name replacing Test Object
// #if UNITY_EDITOR // #if UNITY_EDITOR
// [UnityEditor.MenuItem("Shady/Scriptable Objects/Test Object1", false, 1)] // [UnityEditor.MenuItem("Saving/Scriptable Objects/Test Object1", false, 1)]
// public static void CreateObject() => SelectHolder(); // public static void CreateObject() => SelectHolder();
// #endif // #endif

@ -1,5 +1,3 @@
// Shady
public enum Gender public enum Gender
{ {
Male = 0, Male = 0,

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
public sealed class PlayerData public sealed class PlayerData

@ -1,4 +1,4 @@
//Shady
using System; using System;
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;

@ -1,4 +1,3 @@
// Shady
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
[InlineProperty] [InlineProperty]

@ -1,7 +1,7 @@
//Shady
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using Shady.Core.Singletons; using HGR.Core.Singletons;
using System.Collections.Generic; using System.Collections.Generic;
public enum SFX public enum SFX

@ -1,9 +1,9 @@
//Shady
using Fusion; using Fusion;
using System; using System;
using UnityEngine; using UnityEngine;
using Fusion.Sockets; using Fusion.Sockets;
using Shady.Core.Singletons; using HGR.Core.Singletons;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using DedicatedServer.Utils; using DedicatedServer.Utils;
using System.Threading.Tasks; using System.Threading.Tasks;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using Newtonsoft.Json; using Newtonsoft.Json;
using UnityEngine.Networking; using UnityEngine.Networking;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using System; using System;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;
using DG.Tweening; using DG.Tweening;

@ -1,4 +1,4 @@
//Shady
using TMPro; using TMPro;
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;
using DG.Tweening; using DG.Tweening;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using StarterAssets; using StarterAssets;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using System.Net; using System.Net;
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using Fusion; using Fusion;
using UnityEngine; using UnityEngine;
using DedicatedServer.Utils; using DedicatedServer.Utils;

@ -1,8 +1,8 @@
//Shady
using UnityEngine; using UnityEngine;
using Cinemachine; using Cinemachine;
using StarterAssets; using StarterAssets;
using Shady.Core.Singletons; using HGR.Core.Singletons;
using System.Threading.Tasks; using System.Threading.Tasks;
public class OfflineGameManager : Singleton<OfflineGameManager> public class OfflineGameManager : Singleton<OfflineGameManager>

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using StarterAssets; using StarterAssets;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

@ -1,4 +1,4 @@
//Shady
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
using DG.Tweening; using DG.Tweening;

@ -1,4 +1,3 @@
// Shady
// Build Maker // Build Maker
// For making iOS and Android builds automatically at default paths outside project folder // For making iOS and Android builds automatically at default paths outside project folder
// Default Path for iOS build is /Users/${UserName}/Documents/_Builds/${Product Name}/iOS Build // Default Path for iOS build is /Users/${UserName}/Documents/_Builds/${Product Name}/iOS Build
@ -23,7 +22,7 @@ using UnityEditor.Build.Reporting;
#endif #endif
namespace Shady.Utils namespace HGR.Utils
{ {
public static class BuildMaker public static class BuildMaker
{ {

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;

@ -1,8 +1,8 @@
//Shady
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
namespace Shady.Utils namespace HGR.Utils
{ {
[RequireComponent(typeof (TMP_Text))] [RequireComponent(typeof (TMP_Text))]
public class FPSCounter : MonoBehaviour public class FPSCounter : MonoBehaviour

@ -3,7 +3,7 @@ using UnityEngine;
using DG.Tweening; using DG.Tweening;
using UnityEngine.UI; using UnityEngine.UI;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using Shady.Core.Singletons; using HGR.Core.Singletons;
public delegate void Callback(); public delegate void Callback();

@ -1,4 +1,4 @@
//Shady
using System.Collections.Generic; using System.Collections.Generic;
public static class ListUtility public static class ListUtility

@ -1,4 +1,4 @@
//Shady
// this is temporary way // this is temporary way
using UnityEngine; using UnityEngine;

@ -1,4 +1,4 @@
//Shady
using UnityEngine; using UnityEngine;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;

Loading…
Cancel
Save