Ejemplo n.º 1
0
        /// <summary>
        /// Overridden function to create the shape instance
        /// </summary>
        /// <returns></returns>
        public override ShapeBase CreateShapeInstance()
        {
            PathCameraShape shape = new PathCameraShape("PathCamera");

            shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(shape);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Overridden function to create the shape instance
 /// </summary>
 /// <returns></returns>
 public override ShapeBase CreateShapeInstance()
 {
     PathCameraShape shape = new PathCameraShape("PathCamera");
       shape.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
       return shape;
 }