Skip to content

Commit

Permalink
Bugfix for Unity 2020.1.0f1
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirkula committed Jul 26, 2020
1 parent 8ed6903 commit 2a2368b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Plugins/SimpleInput/Scripts/Core/NonDrawingGraphic.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using UnityEngine.UI;
using UnityEngine;
using UnityEngine.UI;

namespace SimpleInputNamespace
{
// Credit: http://answers.unity.com/answers/1157876/view.html
[RequireComponent( typeof( CanvasRenderer ) )]
public class NonDrawingGraphic : Graphic
{
public override void SetMaterialDirty() { return; }
Expand Down

0 comments on commit 2a2368b

Please sign in to comment.