
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
unity滚动循环翻页的pageview
因为业务需求需要做一个循环的列表,无限循环,而unity自带的scrollview不满足循环的要求,所以就自定义了一个控件控件结构如下:下面是写的代码代码里的注释包含我的思路,以及优化方案using System;using System.Collections;using System.Collections.Generic;using UnityEngine.UI;using UnityEng
删除文件夹中的重复资源脚本
#!/usr/bin/python# coding=utf-8import os# 目录1path = '/Users/mulu1'# 目录2path1 = '/Users/mulu2'def traverse(f):fs = os.listdir(f)for f1 in fs:tmp_path = os.path.join(f, f1)if not os.path.isdir(tmp_path)
到底了







