예제 #1
0
        protected override void OpenUIFormSuccessHandler(object sender, GameEventArgs e)
        {
            base.OpenUIFormSuccessHandler(sender, e);
            var args = (OpenUIFormSuccessEventArgs)e;

            if (args.UIForm.Logic as KnapsackForm)
            {
                m_KnapsackForm = (KnapsackForm)args.UIForm.Logic;
            }
        }
예제 #2
0
 public override void Dispose()
 {
     base.Dispose();
     m_KnapsackForm = null;
 }