Skip to content

Commit

Permalink
Changed RadialController namespace to `Blitzy.UnityRadialController…
Browse files Browse the repository at this point in the history
…`. This fixes the same name conflict between the `RadialController` namespace and the `RadialController` class.
  • Loading branch information
Blitzy committed Nov 20, 2019
1 parent 71c3add commit 070ac5a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

# Changelog

## v0.2.1

### Date: 11/20/2019

### Changes
- Bug Fixes
- Changed `RadialController` namespace to `Blitzy.UnityRadialController`. This fixes the same name conflict between the `RadialController` namespace and the `RadialController` class.

## v0.2.0

### Date: 11/20/2019
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace RadialController {
namespace Blitzy.UnityRadialController {
/// <summary>
/// Common interface that all radial controller platform bridges implement.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace RadialController {
namespace Blitzy.UnityRadialController {
public static class PlatformBridgeFactory {
public static IRadialControllerPlatformBridge CreateBridge(RadialController radialController) {
#if UNITY_STANDALONE_WIN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ public class ManipulatedObject : MonoBehaviour {
public float scaleSpeed = 1.0f;
public float maxScale = 3.0f;
public float minScale = 0.5f;

private float curScale = 1.0f;

public void Manipulate(float amount) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using UnityEngine;
using UnityEngine.Events;

namespace RadialController {
namespace Blitzy.UnityRadialController {
public class RadialController : MonoBehaviour {
[Tooltip("Default behaviour of the radial controller has the clicked event being sent even if the holding is activated. This flag allows you to alter that behaviour.")]
public bool sendClickIfHolding = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Text;
using UnityEngine;

namespace RadialController {
namespace Blitzy.UnityRadialController {
public class RadialControllerWindowsBridge : IRadialControllerPlatformBridge
{
#if UNITY_EDITOR
Expand Down Expand Up @@ -46,7 +46,7 @@ public class RadialControllerWindowsBridge : IRadialControllerPlatformBridge

public string Name { get { return "Radial Controller Windows Bridge"; } }

public string Version { get { return "0.2.0"; } }
public string Version { get { return "0.2.1"; } }

public event Action onBridgeReady;
public event Action onButtonClicked;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 0.2.0
bundleVersion: 0.2.1
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit 070ac5a

Please sign in to comment.