diff --git a/docs/ScriptReference/UI/JCS_CanvasComp.md b/docs/ScriptReference/UI/JCS_CanvasComp.md new file mode 100644 index 00000000..87cca8e9 --- /dev/null +++ b/docs/ScriptReference/UI/JCS_CanvasComp.md @@ -0,0 +1,17 @@ +# JCS_CanvasComp + +Component that requires the component `JCS_Canvas` without actually inherit the class `JCS_Canvas`. + +## Variables + +| Name | Description | +|:--------|:--------------------------------------| +| mCanvas | The canvas this component to control. | + +## Functions + +| Name | Description | +|:-----------------|:--------------------------------------------------| +| Show | Show the canvas, so it's visible on the screen. | +| Hide | Hide the canvas, so it's invisible on the screen. | +| ToggleVisibility | Toggle the canvas' visibility. |