LightShadows
.None
Manual
Reference
Scripting
Scripting
>
Enumerations
>
LightShadows
LightShadows
.None
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
LightShadows
All Members
Values
Hard
None
Soft
LightShadows.None
Description
Do not cast shadows (default).
See Also:
light component
.
JavaScripts
JavaScript
C#
Boo
// Set light to not cast shadows.
light.shadows =
LightShadows.None
;
using UnityEngine;
using System.Collections;
public
class
example :
MonoBehaviour
{
void
Awake
() {
light.shadows =
LightShadows.None
;
}
}
import
UnityEngine
import
System.Collections
class
example(
MonoBehaviour
):
def
Awake
():
light.shadows =
LightShadows.None