GlobalObject Methods |
The GlobalObject type exposes the following members.
Name | Description | |
---|---|---|
AssertNotDisposed |
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.) | |
AttachCameraToObject |
Attaches a player's camera to this GlobalObject.
| |
AttachTo(BasePlayer, Vector3, Vector3) |
Attaches this GlobalObject to the specified player.
| |
AttachTo(BaseVehicle, Vector3, Vector3) |
Attaches this GlobalObject to the specified vehicle.
| |
AttachTo(GlobalObject, Vector3, Vector3, Boolean) |
Attaches this GlobalObject to the specified globalObject.
| |
DisableCameraCollisions |
Disable collisions between players' cameras and this GlobalObject.
| |
Dispose |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.) | |
Dispose(Boolean) |
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides IdentifiedPoolTInstanceDispose(Boolean).) | |
Edit |
Lets the specified player edit this PlayerObject.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the Disposable class.
(Inherited from Disposable.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Move(Vector3, Single) |
Moves this IGameObject to the given position with the given speed.
| |
Move(Vector3, Single, Vector3) |
Moves this IGameObject to the given position and rotation with the given speed.
| |
OnEdited |
Raises the Edited event.
| |
OnMoved |
Raises the Moved event.
| |
OnSelected |
Raises the Selected event.
| |
Remove |
Removes the specified object.
| |
Select |
Lets the specified player select an object.
| |
SetMaterial |
Sets the material of this IGameObject.
| |
SetMaterialText |
Sets the material text of this IGameObject.
| |
Stop |
Stop this IGameObject from moving any further.
| |
ToggleDefaultCameraCollisions |
Toggles the default camera collisions.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |