WaterLevel.cs 285 B

12345678910111213141516
  1. using FLOW;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. namespace DTYJ
  6. {
  7. public class WaterLevel : MonoBehaviour
  8. {
  9. public void OnFlowSample(FlowSample fs)
  10. {
  11. Debug.Log("ˮλ£º" + fs?.FluidDepth);
  12. }
  13. }
  14. }