Class AudioHTMLSystem | Project Tiny for Web | 0.32.0-preview.54
docs.unity3d.com
    Show / Hide Table of Contents

    Class AudioHTMLSystem

    Inheritance
    Object
    ComponentSystemBase
    SystemBase
    AudioSystem
    AudioHTMLSystem
    Inherited Members
    AudioSystem.m_audioEntity
    AudioSystem.OnCreate()
    AudioSystem.OnDestroy()
    Unity.Tiny.Audio.AudioSystem.OnCreateForCompiler()
    Unity.Tiny.Audio.AudioSystem.<>GetEntityQuery_ForOnUpdate_LambdaJob0_From(Unity.Entities.ComponentSystemBase)
    Unity.Tiny.Audio.AudioSystem.<>GetEntityQuery_ForOnUpdate_LambdaJob1_From(Unity.Entities.ComponentSystemBase)
    Unity.Tiny.Audio.AudioSystem.<>GetEntityQuery_ForOnUpdate_LambdaJob2_From(Unity.Entities.ComponentSystemBase)
    SystemBase.CompleteDependency()
    SystemBase.Update()
    SystemBase.GetComponent<T>(Entity)
    SystemBase.SetComponent<T>(Entity, T)
    SystemBase.HasComponent<T>(Entity)
    SystemBase.GetComponentDataFromEntity<T>(Boolean)
    SystemBase.GetBuffer<T>(Entity)
    SystemBase.GetBufferFromEntity<T>(Boolean)
    SystemBase.Dependency
    SystemBase.Entities
    SystemBase.Job
    ComponentSystemBase.ShouldRunSystem()
    ComponentSystemBase.GetComponentTypeHandle<T>(Boolean)
    ComponentSystemBase.GetDynamicComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetBufferTypeHandle<T>(Boolean)
    ComponentSystemBase.GetSharedComponentTypeHandle<T>()
    ComponentSystemBase.GetDynamicSharedComponentTypeHandle(ComponentType)
    ComponentSystemBase.GetEntityTypeHandle()
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireSingletonForUpdate<T>()
    ComponentSystemBase.HasSingleton<T>()
    ComponentSystemBase.GetSingleton<T>()
    ComponentSystemBase.TryGetSingleton<T>(T)
    ComponentSystemBase.SetSingleton<T>(T)
    ComponentSystemBase.GetSingletonEntity<T>()
    ComponentSystemBase.TryGetSingletonEntity<T>(Entity)
    ComponentSystemBase.GetEntityQuery(ComponentType[])
    ComponentSystemBase.GetEntityQuery(NativeArray<ComponentType>)
    ComponentSystemBase.GetEntityQuery(EntityQueryDesc[])
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.Time
    Namespace: Unity.Tiny.Web
    Syntax
    public class AudioHTMLSystem : AudioSystem

    Methods

    DestroyAudioSystem()

    Declaration
    protected override void DestroyAudioSystem()
    Overrides
    AudioSystem.DestroyAudioSystem()

    InitAudioSystem()

    Declaration
    protected override void InitAudioSystem()
    Overrides
    AudioSystem.InitAudioSystem()

    IsPlaying(EntityManager, Entity)

    Declaration
    protected static int IsPlaying(EntityManager mgr, Entity e)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Returns
    Type Description
    Int32

    OnStartRunning()

    Declaration
    protected override void OnStartRunning()
    Overrides
    ComponentSystemBase.OnStartRunning()

    OnStopRunning()

    Declaration
    protected override void OnStopRunning()
    Overrides
    ComponentSystemBase.OnStopRunning()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Overrides
    AudioSystem.OnUpdate()

    PlaySource(EntityManager, Entity)

    Declaration
    protected static int PlaySource(EntityManager mgr, Entity e)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Returns
    Type Description
    Int32

    SetPan(EntityManager, Entity, Single)

    Declaration
    protected static void SetPan(EntityManager mgr, Entity e, float pan)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Single pan

    SetPitch(EntityManager, Entity, Single)

    Declaration
    protected static void SetPitch(EntityManager mgr, Entity e, float pitch)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Single pitch

    SetVolume(EntityManager, Entity, Single)

    Declaration
    protected static void SetVolume(EntityManager mgr, Entity e, float volume)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Single volume

    StopSource(EntityManager, Entity)

    Declaration
    protected static void StopSource(EntityManager mgr, Entity e)
    Parameters
    Type Name Description
    EntityManager mgr
    Entity e
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023