Ejemplo n.º 1
0
 public void follow(GameObject obj, camera_follow_type type)
 {
     if (type == camera_follow_type.Rect) {
         dampTime = dampTime_scroll_rect;
     }
     if (type == camera_follow_type.Bullet) {
         dampTime = dampTime_bullet_follow;
     }
     target = obj;
 }
Ejemplo n.º 2
0
 public void follow(GameObject obj, camera_follow_type type)
 {
     if (type == camera_follow_type.Rect)
     {
         dampTime = dampTime_scroll_rect;
     }
     if (type == camera_follow_type.Bullet)
     {
         dampTime = dampTime_bullet_follow;
     }
     target = obj;
 }