Files
Crash-Course/Documentation/api/Game.MovingPlatform.yml

200 lines
4.3 KiB
YAML
Raw Normal View History

2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items:
2025-04-16 19:57:54 -04:00
- uid: Game.MovingPlatform
commentId: T:Game.MovingPlatform
2025-04-16 19:20:36 -04:00
id: MovingPlatform
2025-04-16 19:57:54 -04:00
parent: Game
2025-04-16 19:20:36 -04:00
children:
2025-04-16 19:57:54 -04:00
- Game.MovingPlatform.platform
- Game.MovingPlatform.points
- Game.MovingPlatform.speed
- Game.MovingPlatform.startPoint
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: MovingPlatform
nameWithType: MovingPlatform
2025-04-16 19:57:54 -04:00
fullName: Game.MovingPlatform
2025-04-16 19:20:36 -04:00
type: Class
source:
id: MovingPlatform
path: ''
2025-04-19 12:59:07 -04:00
startLine: 1092
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-18 20:11:19 -04:00
summary: "\nThis class controls a platform that moves between specified points in a loop.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: 'public class MovingPlatform : MonoBehaviour'
content.vb: Public Class MovingPlatform Inherits MonoBehaviour
inheritance:
- System.Object
2025-04-16 19:57:54 -04:00
- uid: Game.MovingPlatform.platform
commentId: F:Game.MovingPlatform.platform
2025-04-16 19:20:36 -04:00
id: platform
2025-04-16 19:57:54 -04:00
parent: Game.MovingPlatform
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: platform
nameWithType: MovingPlatform.platform
2025-04-16 19:57:54 -04:00
fullName: Game.MovingPlatform.platform
2025-04-16 19:20:36 -04:00
type: Field
source:
id: platform
path: ''
2025-04-19 12:59:07 -04:00
startLine: 1097
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-18 20:11:19 -04:00
summary: "\nThe platform object that will move.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public Transform platform
return:
type: Global.Transform
content.vb: Public platform As Transform
2025-04-16 19:57:54 -04:00
- uid: Game.MovingPlatform.startPoint
commentId: F:Game.MovingPlatform.startPoint
2025-04-16 19:20:36 -04:00
id: startPoint
2025-04-16 19:57:54 -04:00
parent: Game.MovingPlatform
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: startPoint
nameWithType: MovingPlatform.startPoint
2025-04-16 19:57:54 -04:00
fullName: Game.MovingPlatform.startPoint
2025-04-16 19:20:36 -04:00
type: Field
source:
id: startPoint
path: ''
2025-04-19 12:59:07 -04:00
startLine: 1102
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-18 20:11:19 -04:00
summary: "\nThe index of the starting point for the platform.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public int startPoint
return:
type: System.Int32
content.vb: Public startPoint As Integer
2025-04-16 19:57:54 -04:00
- uid: Game.MovingPlatform.points
commentId: F:Game.MovingPlatform.points
2025-04-16 19:20:36 -04:00
id: points
2025-04-16 19:57:54 -04:00
parent: Game.MovingPlatform
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: points
nameWithType: MovingPlatform.points
2025-04-16 19:57:54 -04:00
fullName: Game.MovingPlatform.points
2025-04-16 19:20:36 -04:00
type: Field
source:
id: points
path: ''
2025-04-19 12:59:07 -04:00
startLine: 1107
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-18 20:11:19 -04:00
summary: "\nAn array of points that the platform will move between.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public Transform[] points
return:
type: Global.Transform[]
content.vb: Public points As Transform()
2025-04-16 19:57:54 -04:00
- uid: Game.MovingPlatform.speed
commentId: F:Game.MovingPlatform.speed
2025-04-16 19:20:36 -04:00
id: speed
2025-04-16 19:57:54 -04:00
parent: Game.MovingPlatform
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: speed
nameWithType: MovingPlatform.speed
2025-04-16 19:57:54 -04:00
fullName: Game.MovingPlatform.speed
2025-04-16 19:20:36 -04:00
type: Field
source:
id: speed
path: ''
2025-04-19 12:59:07 -04:00
startLine: 1112
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-18 20:11:19 -04:00
summary: "\nThe speed at which the platform moves.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float speed
return:
type: System.Single
content.vb: Public speed As Single
references:
2025-04-16 19:57:54 -04:00
- uid: Game
commentId: N:Game
name: Game
nameWithType: Game
fullName: Game
2025-04-16 19:20:36 -04:00
- 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.Transform
isExternal: true
name: Transform
nameWithType: Transform
fullName: Transform
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
name: int
nameWithType: int
fullName: int
nameWithType.vb: Integer
fullName.vb: Integer
name.vb: Integer
- uid: Global.Transform[]
isExternal: true
name: Transform[]
nameWithType: Transform[]
fullName: Transform[]
nameWithType.vb: Transform()
fullName.vb: Transform()
name.vb: Transform()
spec.csharp:
- uid: Global.Transform
name: Transform
isExternal: true
- name: '['
- name: ']'
spec.vb:
- uid: Global.Transform
name: Transform
isExternal: true
- name: (
- name: )
- 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