Esempio n. 1
0
        /// <summary>
        /// 生成
        /// </summary>
        public void Generate()
        {
            string s_maincount = MainRoomCount.text;

            if (string.IsNullOrEmpty(s_maincount))
            {
                return;
            }
            int    opcount   = 0;
            string s_opcount = OptionRoomCount.text;

            if (!string.IsNullOrEmpty(s_opcount))
            {
                opcount = System.Convert.ToInt32(s_opcount);
            }
            WDApplication.Generate(System.Convert.ToInt32(s_maincount), opcount);
        }
Esempio n. 2
0
 private void Awake()
 {
     _instance = this;
 }