You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1id="jcs_buttonsoundeffect">JCS_ButtonSoundEffect</h1><p>Customize your own button sound base on different circumstance.<h2id="variables">Variables</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">mSoundPlayer<tdstyle="text-align:left">Sound player for this button sound.<tr><tdstyle="text-align:left">mAutoAddEvent<tdstyle="text-align:left">Automatically add the button event.<tr><tdstyle="text-align:left">mOnMouseOverSound<tdstyle="text-align:left">Sound to play when on mouse over.<tr><tdstyle="text-align:left">mOnMouseExitSound<tdstyle="text-align:left">Sound to play when on mouse exit.<tr><tdstyle="text-align:left">mOnMouseDownSound<tdstyle="text-align:left">Sound to play when on mouse down.<tr><tdstyle="text-align:left">mOnMouseUpSound<tdstyle="text-align:left">Sound to play when on mouse up.<tr><tdstyle="text-align:left">mOnMouseClickSound<tdstyle="text-align:left">Sound to play when on mouse click.<tr><tdstyle="text-align:left">mOnMouseDoubleClickSound<tdstyle="text-align:left">Sound to play when on mouse double click.<tr><tdstyle="text-align:left">mOnMouseOverSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse over sound.<tr><tdstyle="text-align:left">mOnMouseExitSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse exit sound.<tr><tdstyle="text-align:left">mOnMouseDownSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse down sound.<tr><tdstyle="text-align:left">mOnMouseUpSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse up sound.<tr><tdstyle="text-align:left">mOnMouseClickSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse click sound.<tr><tdstyle="text-align:left">mOnMouseDoubleClickSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse double click sound.<tr><tdstyle="text-align:left">mButton<tdstyle="text-align:left">Core button object.<tr><tdstyle="text-align:left">mOnMouseOverRefuseSound<tdstyle="text-align:left">Sound to play when mouse over refuses.<tr><tdstyle="text-align:left">mOnMouseExitRefuseSound<tdstyle="text-align:left">Sound to play when on mouse exit refuses.<tr><tdstyle="text-align:left">mOnMouseDownRefuseSound<tdstyle="text-align:left">Sound to play when on mouse down refuses.<tr><tdstyle="text-align:left">mOnMouseUpRefuseSound<tdstyle="text-align:left">Sound to play when on mouse up refuses.<tr><tdstyle="text-align:left">mOnMouseClickRefuseSound<tdstyle="text-align:left">Sound to play when on mouse click refuses.<tr><tdstyle="text-align:left">mOnMouseDoubleClickRefuseSound<tdstyle="text-align:left">Sound to play when on mouse double click refuses.<tr><tdstyle="text-align:left">mOnMouseOverRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse over refuses.<tr><tdstyle="text-align:left">mOnMouseExitRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse exit refuses.<tr><tdstyle="text-align:left">mOnMouseDownRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse down refuses.<tr><tdstyle="text-align:left">mOnMouseUpRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse up refuses.<tr><tdstyle="text-align:left">mOnMouseClickRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse click refuses.<tr><tdstyle="text-align:left">mOnMouseDoubleClickRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse double click refuses.</table><h2id="functions">Functions</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">ItOnMouseOver<tdstyle="text-align:left">Call when on mouse over.<tr><tdstyle="text-align:left">ItOnMouseExit<tdstyle="text-align:left">Call when on mouse exit.<tr><tdstyle="text-align:left">ItOnMouseDown<tdstyle="text-align:left">Call when on mouse down.<tr><tdstyle="text-align:left">ItOnMouseUp<tdstyle="text-align:left">Call when on mouse up.<tr><tdstyle="text-align:left">ItOnMouseClick<tdstyle="text-align:left">Call when on mouse click.</table>
1
+
<h1id="jcs_buttonsoundeffect">JCS_ButtonSoundEffect</h1><p>Customize your own button sound base on different circumstance.<h2id="variables">Variables</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">mSoundPlayer<tdstyle="text-align:left">Sound player for this button sound.<tr><tdstyle="text-align:left">mAutoAddEvent<tdstyle="text-align:left">Automatically add the button event.<tr><tdstyle="text-align:left">mOnMouseOverSound<tdstyle="text-align:left">Sound to play when on mouse over.<tr><tdstyle="text-align:left">mOnMouseExitSound<tdstyle="text-align:left">Sound to play when on mouse exit.<tr><tdstyle="text-align:left">mOnMouseDownSound<tdstyle="text-align:left">Sound to play when on mouse down.<tr><tdstyle="text-align:left">mOnMouseUpSound<tdstyle="text-align:left">Sound to play when on mouse up.<tr><tdstyle="text-align:left">mOnMouseClickSound<tdstyle="text-align:left">Sound to play when on mouse click.<tr><tdstyle="text-align:left">mOnMouseDoubleClickSound<tdstyle="text-align:left">Sound to play when on mouse double click.<tr><tdstyle="text-align:left">mOnMouseOverSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse over sound.<tr><tdstyle="text-align:left">mOnMouseExitSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse exit sound.<tr><tdstyle="text-align:left">mOnMouseDownSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse down sound.<tr><tdstyle="text-align:left">mOnMouseUpSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse up sound.<tr><tdstyle="text-align:left">mOnMouseClickSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse click sound.<tr><tdstyle="text-align:left">mOnMouseDoubleClickSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse double click sound.<tr><tdstyle="text-align:left">mButton<tdstyle="text-align:left">Core button object.<tr><tdstyle="text-align:left">mOnMouseOverRefuseSound<tdstyle="text-align:left">Sound to play when mouse over refuses.<tr><tdstyle="text-align:left">mOnMouseExitRefuseSound<tdstyle="text-align:left">Sound to play when on mouse exit refuses.<tr><tdstyle="text-align:left">mOnMouseDownRefuseSound<tdstyle="text-align:left">Sound to play when on mouse down refuses.<tr><tdstyle="text-align:left">mOnMouseUpRefuseSound<tdstyle="text-align:left">Sound to play when on mouse up refuses.<tr><tdstyle="text-align:left">mOnMouseClickRefuseSound<tdstyle="text-align:left">Sound to play when on mouse click refuses.<tr><tdstyle="text-align:left">mOnMouseDoubleClickRefuseSound<tdstyle="text-align:left">Sound to play when on mouse double click refuses.<tr><tdstyle="text-align:left">mOnMouseOverRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse over refuses.<tr><tdstyle="text-align:left">mOnMouseExitRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse exit refuses.<tr><tdstyle="text-align:left">mOnMouseDownRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse down refuses.<tr><tdstyle="text-align:left">mOnMouseUpRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse up refuses.<tr><tdstyle="text-align:left">mOnMouseClickRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse click refuses.<tr><tdstyle="text-align:left">mOnMouseDoubleClickRefuseSoundMethod<tdstyle="text-align:left">Sound method when playing on mouse double click refuses.</table><h2id="functions">Functions</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">ItOnMouseEnter<tdstyle="text-align:left">Call when on mouse enter.<tr><tdstyle="text-align:left">ItOnMouseExit<tdstyle="text-align:left">Call when on mouse exit.<tr><tdstyle="text-align:left">ItOnMouseDown<tdstyle="text-align:left">Call when on mouse down.<tr><tdstyle="text-align:left">ItOnMouseUp<tdstyle="text-align:left">Call when on mouse up.<tr><tdstyle="text-align:left">ItOnMouseClick<tdstyle="text-align:left">Call when on mouse click.</table>
<h1id="jcs_button">JCS_Button</h1><p>Button wrapper for more usable functionalities.<h2id="variables">Variables</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">onClick<tdstyle="text-align:left">Callback executed on click.<tr><tdstyle="text-align:left">onClickBtn<tdstyle="text-align:left">Callback executed on click with the button as argument.<tr><tdstyle="text-align:left">onInteractableStateChanged<tdstyle="text-align:left">Callback executed when interactable's state changes.<tr><tdstyle="text-align:left">mButtonText<tdstyle="text-align:left">Text component under the button.<tr><tdstyle="text-align:left">mButtonSelection<tdstyle="text-align:left">Button Selection for if the button that are in the group.<tr><tdstyle="text-align:left">mAutoListener<tdstyle="text-align:left">Auto add listner to button click event?"<tr><tdstyle="text-align:left">mDialogueIndex<tdstyle="text-align:left">Index/ID for record the dialogue instance.<tr><tdstyle="text-align:left">mInteractable<tdstyle="text-align:left">Is the button interactable or not.<tr><tdstyle="text-align:left">mInteractColor<tdstyle="text-align:left">Color tint when button is interactable.<tr><tdstyle="text-align:left">mNotInteractColor<tdstyle="text-align:left">Color tint when button is not interactable.</table><h2id="example">Example</h2><p>ExampleButton.cs<preclass="cs language-cs"><codeclass="hljs cs language-cs"> class ExampleButton : JCS_Button {
2
-
public override void OnClick() {
1
+
<h1id="jcs_button">JCS_Button</h1><p>Button wrapper for more usable functionalities.<h2id="variables">Variables</h2><table><thead><tr><thid="name" style="text-align:left">Name<thid="description" style="text-align:left">Description<tbody><tr><tdstyle="text-align:left">onClick<tdstyle="text-align:left">Callback executed on click.<tr><tdstyle="text-align:left">onClickBtn<tdstyle="text-align:left">Callback executed on click with the button as argument.<tr><tdstyle="text-align:left">onInteractableStateChanged<tdstyle="text-align:left">Callback executed when interactable's state changes.<tr><tdstyle="text-align:left">mButtonText<tdstyle="text-align:left">Text component under the button.<tr><tdstyle="text-align:left">mButtonSelection<tdstyle="text-align:left">Button Selection for if the button that are in the group.<tr><tdstyle="text-align:left">mAutoListener<tdstyle="text-align:left">Auto add listner to button click event?"<tr><tdstyle="text-align:left">mDialogueIndex<tdstyle="text-align:left">Index/ID for record the dialogue instance.<tr><tdstyle="text-align:left">mInteractable<tdstyle="text-align:left">Is the button interactable or not.<tr><tdstyle="text-align:left">mInteractColor<tdstyle="text-align:left">Color tint when button is interactable.<tr><tdstyle="text-align:left">mNotInteractColor<tdstyle="text-align:left">Color tint when button is not interactable.</table><h2id="example">Example</h2><p>ExampleButton.cs<preclass="cs language-cs"><codeclass="hljs cs language-cs"> public class ExampleButton : JCS_Button
0 commit comments