protected override void Update() { var surface = ObjectOfPreview as Component_Surface; var scene = CreateScene(false); Component_SurfaceUtility.CreatePreviewObjects(scene, surface); scene.Enabled = true; SetCameraByBounds(Scene.CalculateTotalBoundsOfObjectsInSpace(), 1.6); }
void CreateObjects(Component_Scene scene) { Component_SurfaceUtility.CreatePreviewObjects(scene, Surface); lastUpdateTime = Time.Current; }