初始化obs/Unity仓库
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
#### 1.Toogle Group组件
|
||||
allow switch off 的作用是什么
|
||||
#### 2.Shadow和Outline组件
|
||||
use graphic alpha的作用是什么
|
||||
|
||||
#### 3.Toogle 组件
|
||||
toggle transition的作用是什么
|
||||
|
||||
#### 4.InputField组件
|
||||
placeholder怎么翻译
|
||||
caret怎么翻译
|
||||
custom caret color什么作用
|
||||
selection color什么作用
|
||||
hide mobile input什么作用
|
||||
should activate on select什么作用
|
||||
|
||||
#### 5.Scroll View(Scroll Rect组件)
|
||||
1.Inertia的作用是什么
|
||||
2.Deceleration Rate的作用是什么
|
||||
3.Scroll Sensitivity的作用是什么
|
||||
4.On Value Changed(Vector2)当值改变的时候的这个值是什么?
|
||||
# 延迟函数
|
||||
### 1.invoke 有两个参数,第一个传入string类型的方法名字,第二个参数是延时多久
|
||||
注意事项:
|
||||
1.延迟函数只能调用无参函数
|
||||
2.延迟函数只能调用当前类中的函数
|
||||
想要解决以上问题,只需要包裹一层方法即可.
|
||||
### 2.重复延迟函数 invokerepeating
|
||||
有三个参数,第一个传入string类型的方法名字,第二个参数是延时多久,第三个是之后间隔多久执行.
|
||||
#### 如何取消重复延迟函数
|
||||
cancelInvoke
|
||||
不输入参数则取消所有,输入参数则定向取消某一个.
|
||||
#### 如何判断有延迟函数
|
||||
isInvoking()
|
||||
### 3.对象失活和销毁对延时函数的影响
|
||||
对象失活,脚本依然存在,延时函数可以执行
|
||||
对象摧毁,脚本同样摧毁,延时函数不可以执行.
|
||||
|
||||
#### 4.destroy也可以延时销毁
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user