Skip to content

Commit

Permalink
Merge pull request #2123 from ExtendRealityLtd/feat/more-additions
Browse files Browse the repository at this point in the history
Feat/more additions
  • Loading branch information
thestonefox authored Jun 30, 2021
2 parents c0ee9fe + f4a198b commit f3e0a31
Show file tree
Hide file tree
Showing 25 changed files with 9,808 additions and 70 deletions.
9,603 changes: 9,533 additions & 70 deletions Assets/Samples/Farm/Scenes/ExampleScene.unity

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Scripts/Runtime/ParticleChanger.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace VRTK.Examples
{
using Malimbe.PropertySerializationAttribute;
using Malimbe.XmlDocumentationAttribute;
using UnityEngine;

public class ParticleChanger : MonoBehaviour
{
/// <summary>
/// The <see cref="ParticleSystem"/> to control.
/// </summary>
[Serialized]
[field: DocumentedByXml]
public ParticleSystem Particles { get; set; }

public virtual void UpdateEmissionRate(float rate)
{
ParticleSystem.EmissionModule emissions = Particles.emission;
emissions.rateOverTime = rate;
}
}
}
11 changes: 11 additions & 0 deletions Assets/Samples/Farm/Scripts/Runtime/ParticleChanger.cs.meta

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

Binary file added Assets/Samples/Farm/Sounds/ambient-background.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/ambient-background.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/button_click1.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/button_click1.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/button_click2.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/button_click2.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/car_liftmovement.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/car_liftmovement.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/clone_item.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/clone_item.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/teleport_pointhum.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/teleport_pointhum.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/warehouse_door.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/warehouse_door.wav.meta

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

Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/warehouse_doorshut.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/well_handle.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/well_handle.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/well_splash.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/well_splash.wav.meta

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

Binary file added Assets/Samples/Farm/Sounds/zipline.wav
Binary file not shown.
22 changes: 22 additions & 0 deletions Assets/Samples/Farm/Sounds/zipline.wav.meta

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

0 comments on commit f3e0a31

Please sign in to comment.