- 博客(5)
- 资源 (7)
- 收藏
- 关注
原创 Unity 使用监听事件的几种常用示例
using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Events;public class UnityEventTest : MonoBehaviour{ public UnityAction myAction; public Uni...
2019-06-21 13:48:08 9914
原创 Unity 设置Android端设备UI界面自动旋转功能
void Awake(){ //设置屏幕自动旋转, 并设置支持的方向 Screen.orientation = ScreenOrientation.AutoRotation; Screen.autorotateToLandscapeLeft = true; Screen.autorotateToLandscapeRight = true; Screen.a...
2019-06-12 17:57:05 1562
原创 Unity 对象池
为了解决大量创建重复对象造成的内存损耗,我们采用对象池的方式来解决。using UnityEngine;using System.Collections;using System.Collections.Generic; public class PoolManager : MonoBehaviour { //单例模式, public static Pool...
2019-06-06 11:54:24 170
原创 Python 爬虫基础示例——抓取豆瓣电影首页信息
from bs4 import BeautifulSoupfrom lxml import htmlimport xmlimport requestsurl ="https://movie.douban.com/chart"f=requests.get(url)soup=BeautifulSoup(f.content,"lxml")for k in soup.find_all('...
2019-06-05 16:11:06 560
原创 C# Socket异步通讯_服务端
using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading.Tasks;namespace AsyncServer{ class Progr...
2019-06-04 13:59:43 514
Fbx Exporter
2019-08-21
Pico一体机开发环境Unity工程项目文件
2019-01-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人