C# Class GoalController, Imagine_fudge-roll

Inheritance: MonoBehaviour
Mostrar archivo Open project: Microsoft/Imagine_fudge-roll Class Usage Examples

Public Properties

Property Type Description
goalSound UnityEngine.AudioClip
winAnim GameObject

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void

Called when the ball collides with the ribbon. It's a trigger because we don't want to apply physics to the collision.

Start ( ) : void

Method Details

OnTriggerEnter() public method

Called when the ball collides with the ribbon. It's a trigger because we don't want to apply physics to the collision.
public OnTriggerEnter ( Collider other ) : void
other Collider Other object that collided with us.
return void

Start() public method

public Start ( ) : void
return void

Property Details

goalSound public_oe property

public AudioClip,UnityEngine goalSound
return UnityEngine.AudioClip

winAnim public_oe property

public GameObject winAnim
return GameObject