Skip to content

Commit

Permalink
Merge pull request #49 from nievesj/develop
Browse files Browse the repository at this point in the history
v4.0.0
  • Loading branch information
nievesj authored Mar 12, 2021
2 parents 79c5dc7 + 379a974 commit b2af5b5
Show file tree
Hide file tree
Showing 1,623 changed files with 111,779 additions and 21,162 deletions.
Binary file added .DS_Store
Binary file not shown.
11 changes: 9 additions & 2 deletions CoreFramework-ASM.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
"references": [
"Zenject",
"UniRx",
"UniRx.Async"
"Unity.ResourceManager",
"Unity.Addressables",
"UniTask",
"Unity.InputSystem",
"UnityInterfaceSupport",
"LiteNetLib",
"Unity.TextMeshPro"
],
"includePlatforms": [],
"excludePlatforms": [],
Expand All @@ -12,5 +18,6 @@
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": []
"versionDefines": [],
"noEngineReferences": false
}
55 changes: 0 additions & 55 deletions Editor/AssetServiceConfigurationEditor.cs

This file was deleted.

13 changes: 0 additions & 13 deletions Editor/AssetServiceConfigurationEditor.cs.meta

This file was deleted.

14 changes: 7 additions & 7 deletions Editor/ClearCacheMenuItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,24 @@ private static void ClearAssetBundleCache()
{
var cache = Caching.GetCacheByPath(cachePaths[0]);

Logger.Log(("Cache location: " + s),Colors.Yellow);
Logger.Log(("Cache was using: " + cache.spaceOccupied / 1024f / 1024f + " MB"),Colors.Yellow);
Logger.Log("Cache location: " + s, Colors.Yellow);
Logger.Log("Cache was using: " + cache.spaceOccupied / 1024f / 1024f + " MB", Colors.Yellow);

cache.ClearCache();

Logger.Log("Cache cleared.",Colors.Yellow);
Logger.Log("Cache cleared.", Colors.Yellow);
}

if (cachePaths.Count < 1)
Logger.Log("Cache was empty.",Colors.Yellow);
Logger.Log("Cache was empty.", Colors.Yellow);
}

[MenuItem("Core Framework / Delete Persistent Data Directory (Also deletes any saved data files)")]
private static void DeletePersistentData()
{
//Delete Application.persistentDataPath
Directory.Delete(Application.persistentDataPath, true);
Logger.Log(("Deleting persistent data directory " + Application.persistentDataPath),Colors.Yellow);
Logger.Log("Deleting persistent data directory " + Application.persistentDataPath, Colors.Yellow);
}

[MenuItem("Core Framework / Enable Simulate Asset Bundles")]
Expand All @@ -47,7 +47,7 @@ private static void GetEnableCachedInfo()
ClearAssetBundleCache();

EditorPreferences.EditorprefSimulateAssetBundles = true;
Logger.Log("Enabled asset bundle simulation mode.",Colors.Yellow);
Logger.Log("Enabled asset bundle simulation mode.", Colors.Yellow);
}

[MenuItem("Core Framework / Enable Simulate Asset Bundles", true)]
Expand All @@ -62,7 +62,7 @@ private static void GetDisableCachedInfo()
ClearAssetBundleCache();

EditorPreferences.EditorprefSimulateAssetBundles = false;
Logger.Log("Disabled asset bundle simulation mode.",Colors.Yellow);
Logger.Log("Disabled asset bundle simulation mode.", Colors.Yellow);
}

[MenuItem("Core Framework / Disable Simulate Asset Bundles", true)]
Expand Down
13 changes: 10 additions & 3 deletions Editor/CoreFrameworkEditor-ASM.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@
"name": "CoreFrameworkEditor-ASM",
"references": [
"CoreFramework-ASM",
"Zenject"
"Zenject",
"UniTask.Editor",
"UnityInterfaceSupport.Editor"
],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
25 changes: 0 additions & 25 deletions Editor/EditorStartup.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Editor/EditorStartup.cs.meta

This file was deleted.

6 changes: 3 additions & 3 deletions Editor/EditorUITools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static void LabelUIElement(string message, GUIStyle style)
/// <returns></returns>
public static GUIStyle LabelStyle(LabelMessageType messageType)
{
GUIStyle s = new GUIStyle(EditorStyles.textField);
var s = new GUIStyle(EditorStyles.textField);

switch (messageType)
{
Expand Down Expand Up @@ -91,8 +91,8 @@ public static GUIStyle LabelStyle(LabelMessageType messageType)
/// <returns></returns>
public static string[] GetSortingLayerNames()
{
System.Type internalEditorUtilityType = typeof(InternalEditorUtility);
PropertyInfo sortingLayersProperty = internalEditorUtilityType.GetProperty("sortingLayerNames", BindingFlags.Static | BindingFlags.NonPublic);
var internalEditorUtilityType = typeof(InternalEditorUtility);
var sortingLayersProperty = internalEditorUtilityType.GetProperty("sortingLayerNames", BindingFlags.Static | BindingFlags.NonPublic);
var sortingLayers = (string[]) sortingLayersProperty.GetValue(null, new object[0]);
return sortingLayers;
}
Expand Down
107 changes: 0 additions & 107 deletions Editor/GameConfigurationEditor.cs

This file was deleted.

12 changes: 0 additions & 12 deletions Editor/GameConfigurationEditor.cs.meta

This file was deleted.

11 changes: 0 additions & 11 deletions Editor/LayerAttributeDrawer.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Editor/LayerAttributeDrawer.cs.meta

This file was deleted.

Loading

0 comments on commit b2af5b5

Please sign in to comment.