Ejemplo n.º 1
0
 public override void Jump(Transform target, float?heightPercent = 0.05f)
 {
     if (target == null)
     {
         return;
     }
     RTSCamera.JumpToTarget(target);
     if (heightPercent != null)
     {
         RTSCamera.SetScroll(heightPercent.Value);
     }
 }