Skip to content

Commit 29f9e9b

Browse files
committed
Add component menu for all scripts
1 parent 6c06a4b commit 29f9e9b

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

Runtime/AnimatedSprite.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Zigurous.Animation
66
/// Animates a series of sprites over time.
77
/// </summary>
88
[RequireComponent(typeof(SpriteRenderer))]
9+
[AddComponentMenu("Zigurous/Animation/Animated Sprite")]
910
public sealed class AnimatedSprite : MonoBehaviour
1011
{
1112
/// <summary>

Runtime/Blink.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Zigurous.Animation
66
/// Switches a material on and off on an object at a variable rate.
77
/// </summary>
88
[RequireComponent(typeof(Renderer))]
9+
[AddComponentMenu("Zigurous/Animation/Blink")]
910
public sealed class Blink : MonoBehaviour
1011
{
1112
/// <summary>

Runtime/FollowPath.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Moves an object along a predefined path.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Follow Path")]
89
public sealed class FollowPath : MonoBehaviour
910
{
1011
/// <summary>

Runtime/Move.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Moves an object in space by a given speed.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Move")]
89
public sealed class Move : MonoBehaviour
910
{
1011
/// <summary>

Runtime/Orbit.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Orbits an object around another object with a given speed and radius.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Orbit")]
89
public sealed class Orbit : MonoBehaviour
910
{
1011
/// <summary>

Runtime/Rotate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Rotates an object in space by a given speed.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Rotate")]
89
public sealed class Rotate : MonoBehaviour
910
{
1011
/// <summary>

Runtime/RotateAround.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Rotates an object around a point by a given speed.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Rotate Around")]
89
public sealed class RotateAround : MonoBehaviour
910
{
1011
/// <summary>

Runtime/Scale.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Zigurous.Animation
55
/// <summary>
66
/// Scales an object over time by a given speed.
77
/// </summary>
8+
[AddComponentMenu("Zigurous/Animation/Scale")]
89
public sealed class Scale : MonoBehaviour
910
{
1011
/// <summary>

Runtime/SmoothFollow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Zigurous.Animation
66
/// Moves toward the position of another transform using a smooth damping
77
/// function.
88
/// </summary>
9+
[AddComponentMenu("Zigurous/Animation/Smooth Follow")]
910
public sealed class SmoothFollow : MonoBehaviour
1011
{
1112
/// <summary>

Runtime/SmoothLookAt.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace Zigurous.Animation
66
/// Rotates toward the position of another transform using a smooth damping
77
/// function.
88
/// </summary>
9+
[AddComponentMenu("Zigurous/Animation/Smooth Look At")]
910
public sealed class SmoothLookAt : MonoBehaviour
1011
{
1112
/// <summary>

0 commit comments

Comments
 (0)