C# Class Inputs, Shipmates-LD29

Exibir arquivo Open project: shaunlebron/Shipmates-LD29 Class Usage Examples

Public Properties

Property Type Description
bobberPrefab GameObject
cannonfire CannonFire,
caughtFish bool
disabled bool
sunkaShip bool

Public Methods

Method Description
SetDisabled ( bool dis ) : void
Start ( ) : void
Update ( ) : void
UpdateArrow ( Vector3 anchor, Vector3 arrowDirection, float power ) : void
coSplash ( Transform t ) : IEnumerator

Private Methods

Method Description
coFadeInBaddieShip ( ) : IEnumerator
coTossBobber ( Vector3 dir, float power ) : IEnumerator

Method Details

SetDisabled() public method

public SetDisabled ( bool dis ) : void
dis bool
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateArrow() public method

public UpdateArrow ( Vector3 anchor, Vector3 arrowDirection, float power ) : void
anchor Vector3
arrowDirection Vector3
power float
return void

coSplash() public method

public coSplash ( Transform t ) : IEnumerator
t Transform
return IEnumerator

Property Details

bobberPrefab public_oe property

public GameObject bobberPrefab
return GameObject

cannonfire public_oe property

public CannonFire, cannonfire
return CannonFire,

caughtFish public_oe property

public bool caughtFish
return bool

disabled public_oe property

public bool disabled
return bool

sunkaShip public_oe property

public bool sunkaShip
return bool