C# Class ModelRotationController, MagesOfBlight

Inheritance: MonoBehaviour
显示文件 Open project: DomCristaldi/MagesOfBlight Class Usage Examples

Public Properties

Property Type Description
desiredDirec Vector3
modelTf Transform
redirectSpeed float

Public Methods

Method Description
Awake ( ) : void
SetDesiredLookDirec ( Vector3 direc ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
AssignRotationToModel ( ) : void
UpdateTrueDirec ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

SetDesiredLookDirec() public method

public SetDesiredLookDirec ( Vector3 direc ) : void
direc Vector3
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

desiredDirec public_oe property

public Vector3 desiredDirec
return Vector3

modelTf public_oe property

public Transform modelTf
return Transform

redirectSpeed public_oe property

public float redirectSpeed
return float