Click or drag to resize
BackgroundMusic Methods

The BackgroundMusic type exposes the following members.

Methods
  NameDescription
Public methodClone
Clone this background music component.
(Overrides BaseComponentClone.)
Public methodCollisionEnd
Called when this physical body stop colliding with another body.
(Inherited from BaseComponent.)
Public methodCollisionProcess
Called while this physical body is colliding with another body.
(Inherited from BaseComponent.)
Public methodCollisionStart
Called when this physical body start colliding with another body.
(Inherited from BaseComponent.)
Public methodDestroy
Destroy this component.
(Inherited from BaseComponent.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFixedUpdate
Just like Update(), but called every constant amount of time regardless of FPS and Vsync.
(Inherited from BaseComponent.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImplementedFrameBasedEvents
Get a list of frame-based events this component implements.
(Inherited from BaseComponent.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasMethodImplemented
Return if this component has a method implemented.
(Inherited from BaseComponent.)
Public methodHeartbeat
An event that triggers every X miliseconds (defined per GameObject instance).
(Inherited from BaseComponent.)
Public methodPause
Pause the background music (will affect only if currently playing this music).
Public methodPlay
Play the background music (will replace currently playing music).
Public methodRemoveFromParent
Remove this component from parent.
(Inherited from BaseComponent.)
Public methodResume
Resume the music (will affect only if currently playing this music).
Public methodSendMessage
Send message to this component.
(Inherited from BaseComponent.)
Public methodStop
Stop the background music.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update this component (called every frame parent is active).
(Inherited from BaseComponent.)
Top
See Also