plantilla base para movimiento básico
This commit is contained in:
Robii Aragon
2026-02-05 05:07:55 -08:00
parent ed7b223c04
commit fd87a6ffd5
14441 changed files with 13711084 additions and 20 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c73c742925e607240ab02d9b3c10c6b5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,34 @@
#if GAME_KIT_CONTROLLER_USE_WWISE
using UnityEngine;
namespace GameKitController.Audio
{
public class WwiseExternalAudioPlayer : MonoBehaviour, IExternalAudioPlayer
{
public void Play(AudioElement audioElement, GameObject gameObj)
{
AkSoundEngine.PostEvent(audioElement.audioEventName, gameObj);
}
public void PlayOneShot(AudioElement audioElement, GameObject gameObj, float volumeScale = 1.0f)
{
AkSoundEngine.PostEvent(audioElement.audioEventName, gameObj);
}
public void Stop(AudioElement audioElement, GameObject gameObj)
{
AkSoundEngine.StopAll(gameObj);
}
public void Pause(AudioElement audioElement, GameObject gameObj)
{
AkSoundEngine.StopAll(gameObj);
}
public void UnPause(AudioElement audioElement, GameObject gameObj)
{
AkSoundEngine.PostEvent(audioElement.audioEventName, gameObj);
}
}
}
#endif

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 50326d7b17c34c2d9817afc1c144543a
timeCreated: 1667565343
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
assetPath: Assets/Game Kit Controller/Integrations/External Audio Systems/Wwise/Scripts/WwiseExternalAudioPlayer.cs
uploadId: 814740