Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using Leap.Unity.UI;
using Leap.Unity.UserContext;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity.Apps.Paint6 {
public class Button_StringChannel : UIButton {
[Header("Ucon String Channel Output")]
public string dataToSend = "";
public StringChannel pressOutputChannel = new StringChannel("tool/action");
public override void OnUnpress() {
pressOutputChannel.Set(dataToSend);
}
}
}
fe72387c0This file is pinned to the selected release. Download the original to open it in your design tool.