Пример #1
0
        public override ICharactor_New CreatePlayer(string assetname, int lv)
        {
            var theParam = new PlayerBuildParam();

            theParam.NewCharactor = new Player_New();
            theParam.Lv           = lv;
            theParam.AssetName    = assetname;

            var playerBuilder = new PlayerBuilder();

            playerBuilder.SetBuildParam(theParam);
            charactorBuildSystem.Construct(playerBuilder);
            return(theParam.NewCharactor);
        }