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

            return(config);
        }