Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. GameObject lightObj = new GameObject("Light");
  2. lightObj.AddComponent<Light>();
  3. lightObj.light.color = Color.blue;
  4. lightObj.transform.position = city.transform.position + new Vector3(-6.0f,0,0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement