public override ShapeBase CreateShapeInstance()
        {
            TriggerBoxShape box = new TriggerBoxShape("TriggerBox");

            box.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
            return(box);
        }
        /// <summary>
        /// This function must be overridden, since we have to reset the hotspots
        /// </summary>
        /// <returns></returns>
        public override ShapeBase Clone()
        {
            TriggerBoxShape copy = (TriggerBoxShape)base.Clone();

            copy._hotSpotSizeX = null;
            copy._hotSpotSizeY = null;
            copy._hotSpotSizeZ = null;

            return(copy);
        }
 public override ShapeBase CreateShapeInstance()
 {
     TriggerBoxShape box = new TriggerBoxShape("TriggerBox");
       box.Position = EditorManager.Scene.CurrentShapeSpawnPosition;
       return box;
 }