Skip to content

Commit

Permalink
Refactor : Dependencies as OpenUPM references (#31)
Browse files Browse the repository at this point in the history
* Removed NaughtyAttributes / Upgraded Code to 2020.1

* Added NoLabel Property Drawers

* Updated Changelog

* Upgraded Logo to 2020.1

* Updated Site Banner

* Updated Readme install instructions

* Updated Package.json

* Updated README instructions

* Updated Changelog
  • Loading branch information
peeweek authored Jan 14, 2021
1 parent f6d4553 commit 6e1b862
Show file tree
Hide file tree
Showing 238 changed files with 82 additions and 4,527 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 2020.2.0

This release changes the minimal version to **Unity 2020.2**

The following release changes the main guidelines in order to install and update:

* Installation and update now rely on Project Settings/Package Manager/Scoped Registries

* Installation must declare the OpenUPM scoped registry to the project `https://package.openupm.com` with the following scopes:

* `net.peeweek`
* `com.dbrizov` (used for NaughtyAttributes dependency, minimal version 2.0.8)

* Once declared in the Scoped Registries, package manager shall display gameplay ingredients.

#### Added

* NoLabel property attribute (Hides label in inspector)

## 2019.3.7

#### Added
Expand Down
Binary file added Documentation~/Images/bg-source2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions Documentation~/Images/bg-source2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Photo by NordWood Themes on Unsplash
https://unsplash.com/photos/wtevVfGYwnM
Binary file added Documentation~/Images/project-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation~/Images/site-banner.afphoto
Binary file not shown.
Binary file modified Documentation~/Images/site-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation~/Images/wizard-banner.afphoto
Binary file not shown.
Binary file modified Documentation~/Images/wizard-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Editor/PropertyDrawers/CallablePropertyDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace GameplayIngredients.Editor
{

[CustomPropertyDrawer(typeof(Callable))]
public class CallablePropertyDrawer : PropertyDrawer
{
Expand Down
16 changes: 16 additions & 0 deletions Editor/PropertyDrawers/NoLabelPropertyDrawer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using UnityEngine;
using UnityEditor;

namespace GameplayIngredients.Editor
{
[CustomPropertyDrawer(typeof(NoLabelAttribute))]
public class NoLabelPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUIUtility.labelWidth = 0;
EditorGUI.PropertyField(position, property, GUIContent.none);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Editor/WelcomeScreen/welcome-title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions NaughtyAttributes.meta

This file was deleted.

10 changes: 0 additions & 10 deletions NaughtyAttributes/Core.meta

This file was deleted.

10 changes: 0 additions & 10 deletions NaughtyAttributes/Core/ConditionOperator.cs

This file was deleted.

11 changes: 0 additions & 11 deletions NaughtyAttributes/Core/ConditionOperator.cs.meta

This file was deleted.

10 changes: 0 additions & 10 deletions NaughtyAttributes/Core/DrawConditionAttributes.meta

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions NaughtyAttributes/Core/DrawConditionAttributes/HideIfAttribute.cs

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions NaughtyAttributes/Core/DrawConditionAttributes/ShowIfAttribute.cs

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions NaughtyAttributes/Core/DrawerAttributes.meta

This file was deleted.

15 changes: 0 additions & 15 deletions NaughtyAttributes/Core/DrawerAttributes/ButtonAttribute.cs

This file was deleted.

13 changes: 0 additions & 13 deletions NaughtyAttributes/Core/DrawerAttributes/ButtonAttribute.cs.meta

This file was deleted.

20 changes: 0 additions & 20 deletions NaughtyAttributes/Core/DrawerAttributes/DisableIfAttribute.cs

This file was deleted.

8 changes: 0 additions & 8 deletions NaughtyAttributes/Core/DrawerAttributes/DrawerAttribute.cs

This file was deleted.

13 changes: 0 additions & 13 deletions NaughtyAttributes/Core/DrawerAttributes/DrawerAttribute.cs.meta

This file was deleted.

57 changes: 0 additions & 57 deletions NaughtyAttributes/Core/DrawerAttributes/DropdownAttribute.cs

This file was deleted.

13 changes: 0 additions & 13 deletions NaughtyAttributes/Core/DrawerAttributes/DropdownAttribute.cs.meta

This file was deleted.

24 changes: 0 additions & 24 deletions NaughtyAttributes/Core/DrawerAttributes/EnableIfAttribute.cs

This file was deleted.

Loading

0 comments on commit 6e1b862

Please sign in to comment.