123456789101112131415161718192021222324252627282930 |
- namespace ChivaXR.VR
- {
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /// <summary>
- /// 线性映射
- /// </summary>
- public class CVR_LinnerMapping : MonoBehaviour
- {
- private float value;
- public float Value
- {
- get { return value; }
- set
- {
- if (this.value != value)
- {
- this.value = value;
- OnValueChanged?.Invoke(this.value);
- }
- }
- }
- public Action<float> OnValueChanged;
- }
- }
|