We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f154e commit 4efb04eCopy full SHA for 4efb04e
Assets/JCSUnity/Scripts/UI/JCS_CanvasComp.cs
@@ -16,7 +16,7 @@ namespace JCSUnity
16
/// actually inherit the class `JCS_Canvas`.
17
/// </summary>
18
[RequireComponent(typeof(JCS_Canvas))]
19
- public class JCS_CanvasComp<T> : MonoBehaviour
+ public class JCS_CanvasComp : MonoBehaviour
20
{
21
/* Variables */
22
@@ -62,7 +62,7 @@ public Action<JCS_Canvas> onHideFade
62
63
protected virtual void Awake()
64
65
- this.mCanvas = this.GetComponent<JCS_Canvas>();
+ mCanvas = GetComponent<JCS_Canvas>();
66
}
67
68
public virtual bool IsShown() => mCanvas.IsShown();
0 commit comments