Skip to content

Commit 433b499

Browse files
Merge pull request #18 from CoderGamester/develop
Release 0.9.1
2 parents 2bab5ef + eae0014 commit 433b499

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
66

7+
## [0.9.1] - 2024-11-04
8+
9+
**Fixed**:
10+
- Fixed the issue that would crash *NonDrawingView* if the *GameObject* would be missing a *CanvasRenderer*
711

812
## [0.9.0] - 2024-11-01
913

Editor/NonDrawingViewEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using FirstLight.UiService;
1+
using GameLovers.UiService;
22
using UnityEditor;
33
using UnityEditor.UI;
44
using UnityEngine;

Runtime/NonDrawingView.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
using UnityEngine;
12
using UnityEngine.UI;
23

34
// ReSharper disable CheckNamespace
45

5-
namespace FirstLight.UiService
6+
namespace GameLovers.UiService
67
{
78
/// <summary>
89
/// A concrete subclass of the Unity UI `Graphic` class that just skips drawing.
910
/// Useful for providing a raycast target without actually drawing anything.
1011
/// </summary>
12+
[RequireComponent(typeof(CanvasRenderer))]
1113
public class NonDrawingView : Graphic
1214
{
1315
public override void SetMaterialDirty() { }

Runtime/SafeAreaHelperView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// ReSharper disable CheckNamespace
66

7-
namespace FirstLight.UiService
7+
namespace GameLovers.UiService
88
{
99
/// <summary>
1010
/// This view helper translate anchored views based on device safe area (screens witch a notch)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.gamelovers.uiservice",
33
"displayName": "UiService",
44
"author": "Miguel Tomas",
5-
"version": "0.9.0",
5+
"version": "0.9.1",
66
"unity": "2022.3",
77
"license": "MIT",
88
"description": "This package provides a service to help manage an Unity's, game UI.\nIt allows to open, close, load, unload and request any Ui Configured in the game.\nThe package provides a Ui Set that allows to group a set of Ui Presenters to help load, open and close multiple Uis at the same time.\n\nTo help configure the game's UI you need to create a UiConfigs Scriptable object by:\n- Right Click on the Project View > Create > ScriptableObjects > Configs > UiConfigs",

0 commit comments

Comments
 (0)