Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using Leap.Unity.Apps.Paint6.Drawing;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleMeshCounterText : MonoBehaviour {
public TextMesh textOutput;
public StrokePolyMeshManager strokePolyMeshManager;
void Update() {
textOutput.text = "Meshes: " + strokePolyMeshManager.addedMeshCount;
}
}
4e10c4f05This file is pinned to the selected release. Download the original to open it in your design tool.