-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
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,54 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class AudioSourcePitchDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(AudioSourcePitchFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Changes the target AudioSource pitch value", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Target: AudioSource component that is going to be affected", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Use Starting Value: enables the starting pitch", EditorStyles.wordWrappedLabel); | ||
GUILayout.Label("- Start: (if enabled) starting pitch value", EditorStyles.wordWrappedLabel); | ||
GUILayout.Label("- End: end pitch value to reach", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.DelayDocumentation(); | ||
GenericsDocumentation.DurationDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.EasingDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.LoopDocumentation(); | ||
} | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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,47 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class AudioSourcePlayDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(AudioSourcePlayFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Plays an AudioSource", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Target: AudioSource component that is going to be affected", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Audio Clip: clip to be played", EditorStyles.wordWrappedLabel); | ||
GUILayout.Label("- One Shot: does not cancel clips that are already being played if enabled", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.DelayDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.LoopDocumentation(); | ||
} | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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,41 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class AudioSourceStopDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(AudioSourceStopFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Stops an AudioSource", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Target: AudioSource component that is going to be affected", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.DelayDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.LoopDocumentation(); | ||
} | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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,54 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class AudioSourceVolumeDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(AudioSourceVolumeFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Changes the target AudioSource volume value", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Target: AudioSource component that is going to be affected", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Use Starting Value: enables the starting volume", EditorStyles.wordWrappedLabel); | ||
GUILayout.Label("- Start: (if enabled) starting volume value", EditorStyles.wordWrappedLabel); | ||
GUILayout.Label("- End: end volume value to reach", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.DelayDocumentation(); | ||
GenericsDocumentation.DurationDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.EasingDocumentation(); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.LoopDocumentation(); | ||
} | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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 System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class DebugLogDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(DebugLogFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Prints a log to the Unity console", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("- Log: string to print on the console", EditorStyles.wordWrappedLabel); | ||
} | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GenericsDocumentation.DelayDocumentation(); | ||
} | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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,26 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class LoopDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(LoopFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Loops feedbacks that are over this feedback. If there is a LoopStartFeedback (not mandatory) " + | ||
"on top, it will only loop the feedbacks that are in between the two. If there is a NewSequenceFeedback, " + | ||
"it will only loop the feedbacks that are in between the two.", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |
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,26 @@ | ||
using System; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace Juce.Feedbacks | ||
{ | ||
public class NewSequenceDocumentation : IFeedbackDocumentation | ||
{ | ||
public Type FeedbackType => typeof(NewSequenceFeedback); | ||
|
||
public void DrawDocumentation() | ||
{ | ||
GUILayout.Label("Normally, all feedbacks play at the same time. If you add this feedback, " + | ||
"it will wait for all the feedbacks above to finish, before starting with the " + | ||
"feedbacks that are under it", EditorStyles.wordWrappedLabel); | ||
|
||
EditorGUILayout.Space(2); | ||
|
||
using (new EditorGUILayout.VerticalScope(EditorStyles.helpBox)) | ||
{ | ||
GUILayout.Label("Sequencing:"); | ||
GenericsDocumentation.SameTimeSequencingDocumentation(); | ||
} | ||
} | ||
} | ||
} |