C# Class GoalController, Imagine_fudge-roll

Inheritance: MonoBehaviour
Afficher le fichier Open project: Microsoft/Imagine_fudge-roll Class Usage Examples

Méthodes publiques

Свойство Type Description
goalSound UnityEngine.AudioClip
winAnim GameObject

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

goalSound public_oe property

public AudioClip,UnityEngine goalSound
Résultat UnityEngine.AudioClip

winAnim public_oe property

public GameObject winAnim
Résultat GameObject