UnityEditor.ASHistoryWindow.ContextMenuClick C# (CSharp) 메소드

ContextMenuClick() 개인적인 메소드

private ContextMenuClick ( object userData, string options, int selected ) : void
userData object
options string
selected int
리턴 void
        private void ContextMenuClick(object userData, string[] options, int selected)
        {
            if (selected >= 0)
            {
                switch (selected)
                {
                    case 0:
                        this.ShowAssetsHistory();
                        break;

                    case 2:
                        this.DoShowDiff(false, this.ChangeLogSelectionRev, -1);
                        break;

                    case 3:
                        this.DoShowDiff(true, this.ChangeLogSelectionRev, -1);
                        break;

                    case 5:
                        this.DoShowCustomDiff(false);
                        break;

                    case 6:
                        this.DoShowCustomDiff(true);
                        break;

                    case 8:
                        this.DownloadFile();
                        break;
                }
            }
        }