Skip to content

Commit

Permalink
simplest
Browse files Browse the repository at this point in the history
  • Loading branch information
ynaoto committed May 23, 2019
1 parent d5669f0 commit 3985baf
Show file tree
Hide file tree
Showing 2,366 changed files with 358,178 additions and 0 deletions.
8 changes: 8 additions & 0 deletions OculusRiftTest0001/Assets/Oculus.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions OculusRiftTest0001/Assets/Oculus/AudioManager.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions OculusRiftTest0001/Assets/Oculus/AudioManager/Audio.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions OculusRiftTest0001/Assets/Oculus/AudioManager/Scenes.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using UnityEngine;
using System.Collections;

namespace OVR
{

public class TestScript : MonoBehaviour {

[InspectorNote( "Sound Setup", "Press '1' to play testSound1 and '2' to play testSound2")]

public SoundFXRef testSound1;
public SoundFXRef testSound2;

// Use this for initialization
void Start () {

}


// Update is called once per frame
void Update ()
{
// use attached game object location
if ( Input.GetKeyDown( KeyCode.Alpha1 ) )
{
testSound1.PlaySoundAt( transform.position );
}

// hard code information
if ( Input.GetKeyDown( KeyCode.Alpha2 ) ) {
testSound2.PlaySoundAt( new Vector3( 5.0f, 0.0f, 0.0f ) );
}
}
}

} // namespace OVR

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3985baf

Please sign in to comment.