Exemple #1
0
    /** 构造必需的control组 */
    protected override void makeControls()
    {
        MainFactoryControl factory = GameC.mainFactory = createFactoryControl();

        //先注册基础数据类型
        BytesControl.addDataMaker(new BaseDataMaker());

        GameC.nativeUI  = factory.createGameNUIControl();
        GameC.mainLogin = factory.createLoginControl();
        GameC.save      = factory.createLocalSaveControl();
        GameC.audio     = factory.createAudioControl();
        GameC.ILRuntime = factory.createILRuntimeControl();
    }
Exemple #2
0
 /** 添加构造器 */
 public void addResponseMaker(DataMaker maker)
 {
     BytesControl.addDataMaker(maker);
     _maker.addDic(maker);
 }
Exemple #3
0
 /// <summary>
 /// 添加一个
 /// </summary>
 protected void add(DataMaker maker)
 {
     BytesControl.addDataMaker(maker);
 }