using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class AlongWindCheck { public static event Func alongWindCheck; public static int CheckPos(Vector3 pos) { IntData data = new IntData(0); if (alongWindCheck != null) data = alongWindCheck(pos, data); return data.value; } }