C# Class RatMover

Inheritance: MonoBehaviour
Show file 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 property

public GameObject Cheese
return GameObject

Player public property

public GameObject Player
return GameObject

Rock public property

public GameObject Rock
return GameObject

actPhase public property

public int actPhase
return int

speed public property

public float speed
return float