using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeroAIRecorder { public static bool autoHandupRecord { get; private set; } public static int moveToNPCRecord { get; private set; } public static void Record() { autoHandupRecord = PlayerDatas.Instance.hero.aiHandler.IsAuto(); moveToNPCRecord = MapTransferUtility.Instance.NpcID; } public static void ClearRecord() { autoHandupRecord = false; moveToNPCRecord = 0; } }