FMODi paigaldamine projekti sisse, fmod project created, assets are imported into FMOD; AudioManager and FMODEvents scripts, VR is set up
This commit is contained in:
40
Assets/Plugins/FMOD/src/Editor/EventCache.cs
Normal file
40
Assets/Plugins/FMOD/src/Editor/EventCache.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace FMODUnity
|
||||
{
|
||||
public class EventCache : ScriptableObject
|
||||
{
|
||||
[SerializeField]
|
||||
public List<EditorBankRef> EditorBanks;
|
||||
[SerializeField]
|
||||
public List<EditorEventRef> EditorEvents;
|
||||
[SerializeField]
|
||||
public List<EditorParamRef> EditorParameters;
|
||||
[SerializeField]
|
||||
public List<EditorBankRef> MasterBanks;
|
||||
[SerializeField]
|
||||
public List<EditorBankRef> StringsBanks;
|
||||
[SerializeField]
|
||||
private Int64 cacheTime;
|
||||
[SerializeField]
|
||||
public int cacheVersion;
|
||||
|
||||
public DateTime CacheTime
|
||||
{
|
||||
get { return new DateTime(cacheTime); }
|
||||
set { cacheTime = value.Ticks; }
|
||||
}
|
||||
|
||||
public EventCache()
|
||||
{
|
||||
EditorBanks = new List<EditorBankRef>();
|
||||
EditorEvents = new List<EditorEventRef>();
|
||||
EditorParameters = new List<EditorParamRef>();
|
||||
MasterBanks = new List<EditorBankRef>();
|
||||
StringsBanks = new List<EditorBankRef>();
|
||||
cacheTime = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user