コード例 #1
0
    public void LoadLocalData()
    {
        AppConfig    = SerializeHelper.LoadJson <AppConfig>(Application.streamingAssetsPath + "/AppConfig.json");
        PointDatas   = SerializeHelper.LoadJson <PointData>(Application.streamingAssetsPath + "/PointData.json");
        IpConfig     = SerializeHelper.LoadJson <IPConfig>(Application.streamingAssetsPath + "/IPConfig.json");
        KinectConfig = SerializeHelper.LoadJson <KinectConfig>(Application.streamingAssetsPath + "/KinectConfig.json");

        //Udp初始化
        if (IpConfig.IsNotNull())
        {
            UdpManager.Instance.Init(IpConfig);
        }
    }