Loading files
4e10c4f05This file is pinned to the selected release. Download the original to open it in your design tool.
using Leap.Unity.Space;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity.Apps.Launcher {
public class CurvatureControl : MonoBehaviour {
public LeapSphericalSpace leapSphericalSpace;
public void SetRadius(float radius) {
radius = Mathf.Clamp(radius, 0.2f, 1f);
leapSphericalSpace.radius = radius;
}
}
}