C# Class RatMover

Inheritance: MonoBehaviour
Datei anzeigen Open project: SNUGDC/stardust

Public Properties

Property Type Description
Cheese GameObject
Player GameObject
Rock GameObject
actPhase int
speed float

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D other ) : void
Update ( ) : void

Private Methods

Method Description
PushRock ( ) : IEnumerator

Method Details

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Update() public method

public Update ( ) : void
return void

Property Details

Cheese public_oe property

public GameObject Cheese
return GameObject

Player public_oe property

public GameObject Player
return GameObject

Rock public_oe property

public GameObject Rock
return GameObject

actPhase public_oe property

public int actPhase
return int

speed public_oe property

public float speed
return float