title: Can I create a light source via script in Unity?
body: <p>I'm trying to write a little mod for Kerbal Space Program a game which uses Unity. I've got a class that is a child of <code>MonoBehaviour</code> which loads correctly and all. Part of this mod involves creating a new light source in the current scene. My question is as follows: is it possible for me to create a new Unity light source in the current scene using a script rather then the unity engine scene editor (which I obviously don't have access too as a modder).</p>
  
  <p>Example of the sort of thing I'm looking for (I know it won't actually look anything like this but just to give you an idea of what I need) </p>
  
  <p><code>UnityEngine.getCurrentScene().createObject(new Light(pos, direction, color, strength));</code></p>