UICamera.ShowTooltip C# (CSharp) Méthode

ShowTooltip() public méthode

Show or hide the tooltip.
public ShowTooltip ( bool val ) : void
val bool
Résultat void
	public void ShowTooltip (bool val)
	{
		mTooltipTime = 0f;
		Notify(mTooltip, "OnTooltip", val);
		if (!val) mTooltip = null;
	}

Usage Example

    static int ShowTooltip(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        UICamera obj  = (UICamera)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UICamera");
        bool     arg0 = LuaScriptMgr.GetBoolean(L, 2);

        obj.ShowTooltip(arg0);
        return(0);
    }