找回密码
 注册帐号

扫一扫,访问微社区

component.light 灯光

2015-1-5 06:17| 发布者: 杨炎| 查看: 1508| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: component.light 灯光varlight:lightdescription描述thelightattached to thisgameobject(null if there is none attached).light附加到gameobject(游戏物体)(如无附加则为空)。c#javascriptusing unityengine;u ...

component.light 灯光

varlight:light

description描述

thelightattached to thisgameobject(null if there is none attached).

light附加到gameobject(游戏物体)(如无附加则为空)。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

light.range = 10;

}

}

light.range = 10;

相关阅读

文章点评
相关文章