C# Class BirdScript

Inheritance: MonoBehaviour
Show file Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Properties

Property Type Description
baseColor Color
deleteWhenDisconnected bool
groundCheck Transform
jumpForce float
maxSpeed float
nameTransform Transform
whatIsGround LayerMask

Public Methods

Method Description
ChangeName ( object sender, System e ) : void
FixedUpdate ( ) : void
Flip ( ) : void
MoveToRandomSpawnPoint ( ) : void
OnGUI ( ) : void
Remove ( ) : void
SetColor ( int colorNdx ) : void
SetName ( string name ) : void
Start ( ) : void
Update ( ) : void

Method Details

ChangeName() public method

public ChangeName ( object sender, System e ) : void
sender object
e System
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

MoveToRandomSpawnPoint() public method

public MoveToRandomSpawnPoint ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Remove() public method

public Remove ( ) : void
return void

SetColor() public method

public SetColor ( int colorNdx ) : void
colorNdx int
return void

SetName() public method

public SetName ( string name ) : void
name string
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

baseColor public property

public Color baseColor
return Color

deleteWhenDisconnected public property

public bool deleteWhenDisconnected
return bool

groundCheck public property

public Transform groundCheck
return Transform

jumpForce public property

public float jumpForce
return float

maxSpeed public property

public float maxSpeed
return float

nameTransform public property

public Transform nameTransform
return Transform

whatIsGround public property

public LayerMask whatIsGround
return LayerMask