示例#1
0
        public async void Unjail(JailCase jailCase)
        {
            Atlas.DetachTickHandler(OnTick);

            if (jailCase.HasEscaped)
            {
                return;
            }

            API.DoScreenFadeOut(0);

            await Cache.Entity.Teleport(ReleasePosition);

            await BaseScript.Delay(3000);

            API.DoScreenFadeIn(5000);

            LastJailCase = null;
        }
示例#2
0
文件: Marker.cs 项目: manups4e/Atlas
 public void Hide()
 {
     Atlas.DetachTickHandler(OnTick);
 }