- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 Unity Cinemachine2.8.4 (CinemachineInputProvider.cs)
问题: 在unity2019.4.1中导入2.8.4版本,在使用InputSystem时报错: The modifier 'static' is not valid for this item. 这个版本的代码写了一个静态本地函数,这个语法需要c#8.0。 解决: 使用更高版本的unity,或者使用2.8.3版本的插件包。 ...
2022-02-10 11:54:13
2464
原创 Perforce (Connect to server failed; check $P4PORT.)
问题: PS C:\WINDOWS\system32> p4 help Perforce client error: Connect to server failed; check $P4PORT. TCP connect to perforce:1666 failed. 不知道这样的主机。 解决: P4V->Edit->Preferences->Connections->Change Settings ...
2022-01-18 15:17:36
4026
4
原创 Unity Shader (Shader error in ‘xxx‘: invalid subscript ‘boxMax‘)
添加 UnityGIInput d; d.light = light; d.worldPos = posWorld; d.worldViewDir = -eyeVec; d.atten = atten; #if defined(LIGHTMAP_ON) || defined(DYNAMICLIGHTMAP_ON) d.ambient = 0; d.lightmapUV = i_ambientOrLightmapUV; #else d.ambient = i_ambient
2021-06-07 10:51:09
4239
4
原创 Unity Animator.ResetTrigger (Parameter ‘Hash 0‘ does not exist)
for (int i = 0; i < animator.parameterCount; i++) { animator.ResetTrigger(i); } animator.Play("Idle"); 出现提示Warning:Parameter 'Hash 0' does not exist. 使用下面代码代替: foreach (var parameter in animator.parameters) { animator.ResetTrigger(parameter.
2021-05-18 11:09:16
1957
原创 Python CSV (身份证或电话号码保存后显示为科学计数法E+的问题)
rows=[] for rider in riders: rows.append([rider.name,'\t'+rider.phonenumber,'\t'+rider.id,rider.haswallet]) 数字前面加上'\t'
2020-06-25 17:42:36
2736
原创 Python sqlite3 (no such table:xxx)
db_name='coachdata.sqlite' connection = sqlite3.connect(db_name) cursor=connection.cursor() results=cursor.execute("""SELECT name FROM athletes""") 程序报错,提示“No such table:athletes”。 原因:sqlite3创建了一个新的“coachdata.sqlite”数据库文件,新的数据库里当然找不到任何表。 解决方法:使用绝对路径读
2020-06-19 14:41:41
2947
SKY MASTER ULTIMATE v3.3c
2018-11-14
Parallax Space Background Multipack
2018-11-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅