Skip to content

Commit 47eeebc

Browse files
authored
Merge pull request #115 from FishingCactus/feature/summary
Summary in readme
2 parents 43bd8ef + 1d6bfc8 commit 47eeebc

File tree

124 files changed

+1341
-990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+1341
-990
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [2.0.0] - 2024-04-29
4+
### Added
5+
- Summary in readme
6+
### Updated
7+
- Files reorganized
8+
- `StringHelper` methods are now extensions in `StringExtensions`
9+
- Utility script names are more consistent
10+
- Namespaces added or updated from `FishingCactus` to `FishingCactus.CommonCode`
11+
312
## [1.2.1] - 2024-05-06
413
### Added
514
- Add `MATHEMATICS_AVAILABLE` symbol when `com.unity.mathematics` is used for code that depends on `Mathematics`

Editor/ApplySelectedPrefabs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEditor;
22
using UnityEngine;
33

4-
namespace FishingCactus
4+
namespace FishingCactus.CommonCode
55
{
66
public class ApplySelectedPrefabs : EditorWindow
77
{

Editor/ContextMenus/PropertyContextMenus/CreateAssetContextMenu.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using UnityEngine;
77
using UnityEngine.SceneManagement;
88

9-
namespace FishingCactus
9+
namespace FishingCactus.CommonCode
1010
{
1111
public sealed class CreateAssetContextMenu : IPropertyContextMenuCallback
1212
{
@@ -27,7 +27,7 @@ SerializedProperty property
2727
return;
2828
}
2929

30-
Type property_type = InspectorUtilities.GetPropertyType( property );
30+
Type property_type = InspectorUtils.GetPropertyType( property );
3131
Type scriptable_object_type = typeof( ScriptableObject );
3232

3333
if( !scriptable_object_type.IsAssignableFrom( property_type ) )
@@ -46,7 +46,7 @@ SerializedProperty property
4646
_dropdown.OnImplementationSelected -= Dropdown_OnImplementationSelected;
4747
}
4848

49-
var implementations = ReflectionUtilities.GetImplementations( property_type, IsValidImplementation );
49+
var implementations = ReflectionUtils.GetImplementations( property_type, IsValidImplementation );
5050
_dropdown = new SelectImplementationDropdown( new AdvancedDropdownState(), property_type, IsValidImplementation );
5151
_dropdown.Show( context_menu_rect );
5252
_dropdown.OnImplementationSelected += Dropdown_OnImplementationSelected;

Editor/ContextMenus/PropertyContextMenus/IPropertyContextMenuCallback.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEditor;
22
using UnityEngine;
33

4-
namespace FishingCactus
4+
namespace FishingCactus.CommonCode
55
{
66
public interface IPropertyContextMenuCallback
77
{

Editor/ContextMenus/PropertyContextMenus/PropertyContextMenuCallbackFetcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using UnityEditor;
33
using UnityEngine;
44

5-
namespace FishingCactus
5+
namespace FishingCactus.CommonCode
66
{
77
public static class PropertyContextMenuCallbackFetcher
88
{
@@ -14,7 +14,7 @@ private static void Initialize()
1414
{
1515
EditorApplication.contextualPropertyMenu += EditorApplication_OnPropertyContextMenu;
1616

17-
_targets.AddRange( ReflectionUtilities.CreateInstances<IPropertyContextMenuCallback>() );
17+
_targets.AddRange( ReflectionUtils.CreateInstances<IPropertyContextMenuCallback>() );
1818
}
1919

2020
private static void EditorApplication_OnPropertyContextMenu(

Editor/ContextMenus/PropertyContextMenus/VectorContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEditor;
22
using UnityEngine;
33

4-
namespace FishingCactus
4+
namespace FishingCactus.CommonCode
55
{
66
public sealed class VectorContextMenu : IPropertyContextMenuCallback
77
{

0 commit comments

Comments
 (0)