예제 #1
0
    // Start is called before the first frame update
    void Start()
    {
        GlobalSetDate.instance.screenName = GlobalTools.GetCScreenName();
        print("  ??GlobalSetDate.instance.screenName     " + GlobalSetDate.instance.screenName);
        //Air_DB_List.Clear();
        JingNamesList2 = GlobalTools.GetChildsNamesList(DBsParent1);
        _jiguan        = GetComponent <Map_AirJiguanGuais>();
        print("机甲 自动地图 控制");
        GetPlayer();
        GetKuang();
        OpenCamera();
        CreateMaps();
        ObjectEventDispatcher.dispatcher.dispatchEvent(new UEvent(EventTypeName.DAOJISHI, "239"), this);//239
        CX = player_jijia.transform.position.x;

        print("  --------cundang!!!  ");
        //直接存档
        //ObjectEventDispatcher.dispatcher.dispatchEvent(new UEvent(EventTypeName.GAME_SAVEING, null), this);
        //GlobalSetDate.instance.GetSave();
    }