Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

## [0.9.1] - 2024-11-04

**Fixed**:
- Fixed the issue that would crash *NonDrawingView* if the *GameObject* would be missing a *CanvasRenderer*

## [0.9.0] - 2024-11-01

Expand Down
2 changes: 1 addition & 1 deletion Editor/NonDrawingViewEditor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using FirstLight.UiService;
using GameLovers.UiService;
using UnityEditor;
using UnityEditor.UI;
using UnityEngine;
Expand Down
4 changes: 3 additions & 1 deletion Runtime/NonDrawingView.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
using UnityEngine;
using UnityEngine.UI;

// ReSharper disable CheckNamespace

namespace FirstLight.UiService
namespace GameLovers.UiService
{
/// <summary>
/// A concrete subclass of the Unity UI `Graphic` class that just skips drawing.
/// Useful for providing a raycast target without actually drawing anything.
/// </summary>
[RequireComponent(typeof(CanvasRenderer))]
public class NonDrawingView : Graphic
{
public override void SetMaterialDirty() { }
Expand Down
2 changes: 1 addition & 1 deletion Runtime/SafeAreaHelperView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// ReSharper disable CheckNamespace

namespace FirstLight.UiService
namespace GameLovers.UiService
{
/// <summary>
/// This view helper translate anchored views based on device safe area (screens witch a notch)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.gamelovers.uiservice",
"displayName": "UiService",
"author": "Miguel Tomas",
"version": "0.9.0",
"version": "0.9.1",
"unity": "2022.3",
"license": "MIT",
"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",
Expand Down