music player
This commit is contained in:
parent
af7eb479d5
commit
d30d357f38
13 changed files with 466 additions and 0 deletions
16
Music Player/Runtime/MusicPlayerRuntime.asmdef
Normal file
16
Music Player/Runtime/MusicPlayerRuntime.asmdef
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "MusicPlayerRuntime",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"VRC.SDK3A"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
7
Music Player/Runtime/MusicPlayerRuntime.asmdef.meta
Normal file
7
Music Player/Runtime/MusicPlayerRuntime.asmdef.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e7fd572735456df489badd3662a8acf4
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
14
Music Player/Runtime/MusicPlayerSong.cs
Normal file
14
Music Player/Runtime/MusicPlayerSong.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using VRC.SDK3.Avatars.ScriptableObjects;
|
||||
using VRC.SDKBase;
|
||||
namespace gay.lilyy.MusicPlayer
|
||||
{
|
||||
[RequireComponent(typeof(AudioSource))]
|
||||
public class MusicPlayerSong : MonoBehaviour, IEditorOnly {
|
||||
public string Name = "Song Name";
|
||||
public int TrackNumber = 1;
|
||||
public AudioClip song;
|
||||
}
|
||||
}
|
||||
11
Music Player/Runtime/MusicPlayerSong.cs.meta
Normal file
11
Music Player/Runtime/MusicPlayerSong.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5491c24bf16b86d45accbad9d16d0522
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue