示例#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);
        }
示例#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;
 }