Table of Contents

Class ComponentExtensions

Namespace
Netick.Unity
Assembly
Netick.Unity.dll
public static class ComponentExtensions
Inheritance
ComponentExtensions
Inherited Members

Methods

NetworkPlay(AudioSource, NetworkSandbox, ulong)

public static void NetworkPlay(this AudioSource audioSource, NetworkSandbox sandbox, ulong delay = 0)

Parameters

audioSource AudioSource
sandbox NetworkSandbox
delay ulong

NetworkPlayOneShot(AudioSource, NetworkSandbox, AudioClip, float)

public static void NetworkPlayOneShot(this AudioSource audioSource, NetworkSandbox sandbox, AudioClip clip, float volumeScale = 1)

Parameters

audioSource AudioSource
sandbox NetworkSandbox
clip AudioClip
volumeScale float

NetworkPlayScheduled(AudioSource, NetworkSandbox, double)

public static void NetworkPlayScheduled(this AudioSource audioSource, NetworkSandbox sandbox, double time)

Parameters

audioSource AudioSource
sandbox NetworkSandbox
time double

SetEnabled(Component, NetworkSandbox, bool)

public static void SetEnabled(this Component comp, NetworkSandbox sandbox, bool value)

Parameters

comp Component
sandbox NetworkSandbox
value bool