Пример #1
0
    public void Close(Int32 dialogId)
    {
        Int32 count = this.activeDialogList.Count;

        Dialog[] array = this.activeDialogList.ToArray();
        for (Int32 i = 0; i < count; i++)
        {
            Dialog dialog = array[i];
            if (dialog.gameObject.activeInHierarchy && dialog.Id == dialogId)
            {
                dialog.ForceClose();
                if (FF9StateSystem.Common.FF9.fldMapNo == 100)
                {
                    Int32 varManually = PersistenSingleton <EventEngine> .Instance.eBin.getVarManually(8149);

                    if (varManually == 3)
                    {
                        dialog.AfterHidden();
                    }
                }
            }
        }
    }