public void CenterCamera() { if (_scCamera == null) { return; // no camera, bail! } _scCamera.JumpTo(new Vector3(0, 0, 0)); }
void OnEntityTurnStart(CControllerComponent controller) { m_RTSCamera.JumpTo(controller.entity.transform); m_RTSCamera.Follow(controller.entity.transform); }