Class UnityRealTimeStrategyCameraController
Real Time Strategy Camera Controller for Unity.
Inherited Members
Namespace: Ride.RealTimeStrategyCamera
Assembly: cs.temp.dll.dll
Syntax
public class UnityRealTimeStrategyCameraController : RideMonoBehaviour, IRealTimeStrategyCameraController
Remarks
This controller will create a camera in the scene, if you want multiple RTS-style cameras at the same time, use multiple this controllers. Recommand to enable the "Confine Cursor" option to get consistant pan movement. There is another RTS camera controller RTSCamera, it is not related to this controller.
Fields
Properties
Name | Description |
---|---|
api | |
controlledCameraId | The ID of the camera created/controlled by this controller. Use this value and ICameraSystem to set the activeness of the camera. |
deltaTime | |
rideCamera |
Methods
Name | Description |
---|---|
LookAt(Bounds, Single) | Set the camera view to look at the area defined by a Bound. |
OnDestroy() | |
OnDisable() | |
Start() | |
TransitionTo(CameraTransform, Single) | Transit camera location from the current location to given location. |
Update() |