C# Класс GoalController, Imagine_fudge-roll

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
goalSound UnityEngine.AudioClip
winAnim GameObject

Открытые методы

Метод Описание
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

Описание методов

OnTriggerEnter() публичный Метод

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.
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Описание свойств

goalSound публичное свойство

public AudioClip,UnityEngine goalSound
Результат UnityEngine.AudioClip

winAnim публичное свойство

public GameObject winAnim
Результат GameObject