180 lines
4.4 KiB
YAML
180 lines
4.4 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: Player.TeleportPlatform
|
|
commentId: T:Player.TeleportPlatform
|
|
id: TeleportPlatform
|
|
parent: Player
|
|
children:
|
|
- Player.TeleportPlatform.isPlatform
|
|
- Player.TeleportPlatform.playerTag
|
|
- Player.TeleportPlatform.teleportPoint
|
|
- Player.TeleportPlatform.teleportTag
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: TeleportPlatform
|
|
nameWithType: TeleportPlatform
|
|
fullName: Player.TeleportPlatform
|
|
type: Class
|
|
source:
|
|
id: TeleportPlatform
|
|
path: ''
|
|
startLine: 3494
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThis class handles teleportation for platforms and players when they collide with the teleport trigger.\nIt can teleport either the platform itself or a player to a specified location.\n"
|
|
example: []
|
|
syntax:
|
|
content: 'public class TeleportPlatform : MonoBehaviour'
|
|
content.vb: Public Class TeleportPlatform Inherits MonoBehaviour
|
|
inheritance:
|
|
- System.Object
|
|
- uid: Player.TeleportPlatform.teleportPoint
|
|
commentId: F:Player.TeleportPlatform.teleportPoint
|
|
id: teleportPoint
|
|
parent: Player.TeleportPlatform
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: teleportPoint
|
|
nameWithType: TeleportPlatform.teleportPoint
|
|
fullName: Player.TeleportPlatform.teleportPoint
|
|
type: Field
|
|
source:
|
|
id: teleportPoint
|
|
path: ''
|
|
startLine: 3499
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe position where the platform or player will be teleported.\n"
|
|
example: []
|
|
syntax:
|
|
content: public Vector2 teleportPoint
|
|
return:
|
|
type: Global.Vector2
|
|
content.vb: Public teleportPoint As Vector2
|
|
- uid: Player.TeleportPlatform.teleportTag
|
|
commentId: F:Player.TeleportPlatform.teleportTag
|
|
id: teleportTag
|
|
parent: Player.TeleportPlatform
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: teleportTag
|
|
nameWithType: TeleportPlatform.teleportTag
|
|
fullName: Player.TeleportPlatform.teleportTag
|
|
type: Field
|
|
source:
|
|
id: teleportTag
|
|
path: ''
|
|
startLine: 3504
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe tag used to identify objects (e.g., platforms) that can trigger teleportation.\n"
|
|
example: []
|
|
syntax:
|
|
content: public string teleportTag
|
|
return:
|
|
type: System.String
|
|
content.vb: Public teleportTag As String
|
|
- uid: Player.TeleportPlatform.playerTag
|
|
commentId: F:Player.TeleportPlatform.playerTag
|
|
id: playerTag
|
|
parent: Player.TeleportPlatform
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: playerTag
|
|
nameWithType: TeleportPlatform.playerTag
|
|
fullName: Player.TeleportPlatform.playerTag
|
|
type: Field
|
|
source:
|
|
id: playerTag
|
|
path: ''
|
|
startLine: 3509
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nThe tag used to identify player objects.\n"
|
|
example: []
|
|
syntax:
|
|
content: public string playerTag
|
|
return:
|
|
type: System.String
|
|
content.vb: Public playerTag As String
|
|
- uid: Player.TeleportPlatform.isPlatform
|
|
commentId: F:Player.TeleportPlatform.isPlatform
|
|
id: isPlatform
|
|
parent: Player.TeleportPlatform
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: isPlatform
|
|
nameWithType: TeleportPlatform.isPlatform
|
|
fullName: Player.TeleportPlatform.isPlatform
|
|
type: Field
|
|
source:
|
|
id: isPlatform
|
|
path: ''
|
|
startLine: 3515
|
|
assemblies:
|
|
- cs.temp.dll
|
|
namespace: Player
|
|
summary: "\nDetermines whether this script is handling a platform or a player.\nIf true, it teleports players. If false, it teleports the platform itself.\n"
|
|
example: []
|
|
syntax:
|
|
content: public bool isPlatform
|
|
return:
|
|
type: System.Boolean
|
|
content.vb: Public isPlatform As Boolean
|
|
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: Global.Vector2
|
|
isExternal: true
|
|
name: Vector2
|
|
nameWithType: Vector2
|
|
fullName: Vector2
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
name: string
|
|
nameWithType: string
|
|
fullName: string
|
|
nameWithType.vb: String
|
|
fullName.vb: String
|
|
name.vb: String
|
|
- 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
|