How do I add lights and cameras to scenes using cSharp script.
Here’s how I did it in javascript :
var light005GameObject : GameObject = new GameObject("PointLight005");
light005GameObject.AddComponent(Light); // etc
var camera001GameObject : GameObject = new GameObject("CameraTest");
camera001GameObject.AddComponent(Camera); // etc