C# Класс BallInnerSounds, goalBall

Plays the sounds that the ball makes on the inside of the ball. Mainly simulates the bells in the balls.
Наследование: MonoBehaviour
Показать файл Открыть проект

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

Свойство Тип Описание
ball GameObject
bells UnityEngine.AudioClip
threshold float
tone UnityEngine.AudioClip

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

Метод Описание
FixedUpdate ( ) : void

Plays the sounds inside the ball based on the velocity that the ball is moving.

Start ( ) : void

Initializes the objects and varibles that are used by the script.

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

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

Plays the sounds inside the ball based on the velocity that the ball is moving.
public FixedUpdate ( ) : void
Результат void

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

Initializes the objects and varibles that are used by the script.
public Start ( ) : void
Результат void

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

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

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

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

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

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

public float threshold
Результат float

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

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