240 lines
6.2 KiB
YAML
240 lines
6.2 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: Player.PlayerCameraMovement
|
|
commentId: T:Player.PlayerCameraMovement
|
|
id: PlayerCameraMovement
|
|
parent: Player
|
|
children:
|
|
- Player.PlayerCameraMovement.lowerBound
|
|
- Player.PlayerCameraMovement.speed
|
|
- Player.PlayerCameraMovement.staticCamera
|
|
- Player.PlayerCameraMovement.weight
|
|
- Player.PlayerCameraMovement.winScene
|
|
- Player.PlayerCameraMovement.WinScene(GameObject)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: PlayerCameraMovement
|
|
nameWithType: PlayerCameraMovement
|
|
fullName: Player.PlayerCameraMovement
|
|
type: Class
|
|
source:
|
|
id: PlayerCameraMovement
|
|
path: ''
|
|
startLine: 4713
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThis class controls the movement of the camera to follow players during the game.\nIt also handles special behavior for the camera in the win scene.\n"
|
|
example: []
|
|
syntax:
|
|
content: 'public class PlayerCameraMovement : MonoBehaviour'
|
|
content.vb: Public Class PlayerCameraMovement Inherits MonoBehaviour
|
|
inheritance:
|
|
- System.Object
|
|
- uid: Player.PlayerCameraMovement.weight
|
|
commentId: F:Player.PlayerCameraMovement.weight
|
|
id: weight
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: weight
|
|
nameWithType: PlayerCameraMovement.weight
|
|
fullName: Player.PlayerCameraMovement.weight
|
|
type: Field
|
|
source:
|
|
id: weight
|
|
path: ''
|
|
startLine: 4728
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe weight used to blend between the camera's starting position and the players' average position.\n"
|
|
example: []
|
|
syntax:
|
|
content: public float weight
|
|
return:
|
|
type: System.Single
|
|
content.vb: Public weight As Single
|
|
- uid: Player.PlayerCameraMovement.speed
|
|
commentId: F:Player.PlayerCameraMovement.speed
|
|
id: speed
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: speed
|
|
nameWithType: PlayerCameraMovement.speed
|
|
fullName: Player.PlayerCameraMovement.speed
|
|
type: Field
|
|
source:
|
|
id: speed
|
|
path: ''
|
|
startLine: 4733
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe speed at which the camera moves toward the target position.\n"
|
|
example: []
|
|
syntax:
|
|
content: public float speed
|
|
return:
|
|
type: System.Single
|
|
content.vb: Public speed As Single
|
|
- uid: Player.PlayerCameraMovement.lowerBound
|
|
commentId: F:Player.PlayerCameraMovement.lowerBound
|
|
id: lowerBound
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: lowerBound
|
|
nameWithType: PlayerCameraMovement.lowerBound
|
|
fullName: Player.PlayerCameraMovement.lowerBound
|
|
type: Field
|
|
source:
|
|
id: lowerBound
|
|
path: ''
|
|
startLine: 4743
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe lowest vertical position the camera can move to.\n"
|
|
example: []
|
|
syntax:
|
|
content: public float lowerBound
|
|
return:
|
|
type: System.Single
|
|
content.vb: Public lowerBound As Single
|
|
- uid: Player.PlayerCameraMovement.winScene
|
|
commentId: F:Player.PlayerCameraMovement.winScene
|
|
id: winScene
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: winScene
|
|
nameWithType: PlayerCameraMovement.winScene
|
|
fullName: Player.PlayerCameraMovement.winScene
|
|
type: Field
|
|
source:
|
|
id: winScene
|
|
path: ''
|
|
startLine: 4748
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nIndicates whether the camera is in the win scene mode.\n"
|
|
example: []
|
|
syntax:
|
|
content: public bool winScene
|
|
return:
|
|
type: System.Boolean
|
|
content.vb: Public winScene As Boolean
|
|
- uid: Player.PlayerCameraMovement.staticCamera
|
|
commentId: F:Player.PlayerCameraMovement.staticCamera
|
|
id: staticCamera
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: staticCamera
|
|
nameWithType: PlayerCameraMovement.staticCamera
|
|
fullName: Player.PlayerCameraMovement.staticCamera
|
|
type: Field
|
|
source:
|
|
id: staticCamera
|
|
path: ''
|
|
startLine: 4753
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nIndicates whether the camera should remain static and not follow players.\n"
|
|
example: []
|
|
syntax:
|
|
content: public bool staticCamera
|
|
return:
|
|
type: System.Boolean
|
|
content.vb: Public staticCamera As Boolean
|
|
- uid: Player.PlayerCameraMovement.WinScene(GameObject)
|
|
commentId: M:Player.PlayerCameraMovement.WinScene(GameObject)
|
|
id: WinScene(GameObject)
|
|
parent: Player.PlayerCameraMovement
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: WinScene(GameObject)
|
|
nameWithType: PlayerCameraMovement.WinScene(GameObject)
|
|
fullName: Player.PlayerCameraMovement.WinScene(GameObject)
|
|
type: Method
|
|
source:
|
|
id: WinScene
|
|
path: ''
|
|
startLine: 4838
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nActivates the win scene mode and focuses the camera on the winning player.\n"
|
|
example: []
|
|
syntax:
|
|
content: public void WinScene(GameObject player)
|
|
parameters:
|
|
- id: player
|
|
type: Global.GameObject
|
|
description: The player who won the game.
|
|
content.vb: Public Sub WinScene(player As GameObject)
|
|
overload: Player.PlayerCameraMovement.WinScene*
|
|
references:
|
|
- uid: Player
|
|
commentId: N:Player
|
|
name: Player
|
|
nameWithType: Player
|
|
fullName: Player
|
|
- uid: System.Object
|
|
commentId: T:System.Object
|
|
parent: System
|
|
isExternal: true
|
|
name: object
|
|
nameWithType: object
|
|
fullName: object
|
|
nameWithType.vb: Object
|
|
fullName.vb: Object
|
|
name.vb: Object
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|
|
- uid: System.Single
|
|
commentId: T:System.Single
|
|
parent: System
|
|
isExternal: true
|
|
name: float
|
|
nameWithType: float
|
|
fullName: float
|
|
nameWithType.vb: Single
|
|
fullName.vb: Single
|
|
name.vb: Single
|
|
- uid: System.Boolean
|
|
commentId: T:System.Boolean
|
|
parent: System
|
|
isExternal: true
|
|
name: bool
|
|
nameWithType: bool
|
|
fullName: bool
|
|
nameWithType.vb: Boolean
|
|
fullName.vb: Boolean
|
|
name.vb: Boolean
|
|
- uid: Player.PlayerCameraMovement.WinScene*
|
|
commentId: Overload:Player.PlayerCameraMovement.WinScene
|
|
name: WinScene
|
|
nameWithType: PlayerCameraMovement.WinScene
|
|
fullName: Player.PlayerCameraMovement.WinScene
|
|
- uid: Global.GameObject
|
|
isExternal: true
|
|
name: GameObject
|
|
nameWithType: GameObject
|
|
fullName: GameObject
|