Class MainCameraRotationHandlerBase
Inheritance
MainCameraRotationHandlerBase
Assembly: cs.temp.dll.dll
Syntax
public abstract class MainCameraRotationHandlerBase : MonoBehaviour, IMainCameraRotationHandler, IMainCameraControlHandler
Fields
currRotationValue
Declaration
protected Vector2 currRotationValue
Field Value
triggerPointInputInactive
Declaration
protected bool triggerPointInputInactive
Field Value
Properties
cameraController
Declaration
protected IMainCameraController cameraController { get; }
Property Value
controls
Declaration
protected IGameControlsManager controls { get; }
Property Value
Type |
Description |
IGameControlsManager |
|
CurrModifier
Declaration
protected float CurrModifier { get; set; }
Property Value
Type |
Description |
System.Single |
|
CurrRotationSpeed
Declaration
public float CurrRotationSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
gameMgr
Declaration
protected IGameManager gameMgr { get; }
Property Value
Type |
Description |
IGameManager |
|
HasInitialRotation
True when the current rotation is different than the initially assigned rotation.
Declaration
public bool HasInitialRotation { get; }
Property Value
InitialEulerAngles
Declaration
public Vector3 InitialEulerAngles { get; }
Property Value
IsActive
Declaration
public bool IsActive { get; set; }
Property Value
IsPointerInputActive
Declaration
public bool IsPointerInputActive { get; protected set; }
Property Value
IsRotating
Declaration
public bool IsRotating { get; }
Property Value
LastRotationValue
Declaration
protected Vector2 LastRotationValue { get; }
Property Value
placementMgr
Declaration
protected IBuildingPlacement placementMgr { get; }
Property Value
Type |
Description |
IBuildingPlacement |
|
terrainMgr
Declaration
protected ITerrainManager terrainMgr { get; }
Property Value
Type |
Description |
ITerrainManager |
|
Methods
Apply()
Declaration
Init(IGameManager)
Declaration
public void Init(IGameManager gameMgr)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
OnInit()
Declaration
protected virtual void OnInit()
PreUpdateInput()
Declaration
public void PreUpdateInput()
ResetRotation(Boolean)
Declaration
public void ResetRotation(bool smooth)
Parameters
Type |
Name |
Description |
Boolean |
smooth |
|
UpdateInput()
Declaration
public abstract void UpdateInput()
Implements