Components/Mailbox

From sine.space Wiki
Jump to: navigation, search


Mailbox
Component
MailboxComponent.jpg

Component's Inspector

Mail Animation to play
Open Mail On-Click Sound
Mail Arrive On-Mail Arrive Sound

This is used to create Mail boxes within the scene; specifically objects which when clicked on will open the players Mail window. It will play an animation when new mail has been received, or the player walks into range and has unread mail. This uses the Legacy Animation Component in Unity3D for it's animations (this likely will be updated to Mecanim soon).

Note: This component is itself a legacy component (and may be depreciated and removed in the future), or is likely to get an update in the future.