Ejemplo n.º 1
0
 public void SetConfig(WorldCanmeraConfig config)
 {
     IsLockTarget      = config.IsLockTarget;
     CanEdgeMovement   = config.CanEdgeMovement;
     EdgeMovementRatio = config.EdgeMovementRatio;
     MovementRatio     = config.MovementRatio;
     Zoom      = zoom;
     ZoomRatio = config.ZoomRatio;
 }
Ejemplo n.º 2
0
        public WorldCanmeraConfig ToConfig()
        {
            WorldCanmeraConfig config = new WorldCanmeraConfig()
            {
                IsLockTarget      = isLockTarget,
                CanEdgeMovement   = canEdgeMovement,
                EdgeMovementRatio = edgeMovementRatio,
                MovementRatio     = movementRatio,
                Zoom      = zoom,
                ZoomRatio = zoomRatio,
            };

            return(config);
        }