Exemplo n.º 1
0
    //OSS相关
    public static void uploadPicture(string act_id, string picPath)
    {
        string objectName = "standard_pictures/" + act_id + ".jpg";

        Debug.Log("picPath: " + objectName);
        OSSConnect.UploadFile(objectName, picPath);
    }
Exemplo n.º 2
0
    public static void uploadActions(string act_id, string handtype)
    {
        string objectName = "standard_actions/" + act_id + handtype + ".json";
        string actPath    = Application.dataPath + "/StandardActionLibrary/" + act_id + handtype + ".json";;

        Debug.Log("objectName: " + objectName);
        Debug.Log("actPath: " + actPath);
        OSSConnect.UploadFile(objectName, actPath);
    }