Advertisement
caLLowCreation

InputAxesPickerAttribute

Sep 12th, 2015
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.34 KB | None | 0 0
  1. #region Author
  2. /*
  3.      REQUIRES: InputAxesPickerDrawer.cs at http://pastebin.com/VxRuPUaW
  4.     Watch Tutorials about InputAxes and DLL:
  5.         https://www.youtube.com/playlist?list=PLTEnuRWq5Edbna2JRXf__p1PftIFpIx-Q
  6.         https://www.youtube.com/playlist?list=PLTEnuRWq5EdZ_g3IYxduBzbL3QNj42Xc9
  7.      Jones St. Lewis Cropper (caLLow)
  8.      
  9.      Another caLLowCreation
  10.      
  11.      Visit us on Google+ and other social media outlets @caLLowCreation
  12.      
  13.      Thanks for using our product.
  14.      
  15.      Send questions/comments/concerns/requests to
  16.       e-mail: caLLowCreation@gmail.com
  17.       subject: InputAxes
  18.      
  19.     Source:
  20.     https://bitbucket.org/caLLowCreation/inputaxespopup
  21.     git@bitbucket.org:caLLowCreation/inputaxespopup.git
  22.  
  23.     MIT License (MIT)
  24. */
  25. #endregion
  26.  
  27. using UnityEngine;
  28.  
  29. namespace InputAxes
  30. {
  31.     /// <summary>
  32.     /// Attribute to draw an Input Manager popup to replace the text field slot
  33.     /// </summary>
  34.     public sealed class InputAxesPickerAttribute : PropertyAttribute
  35.     {
  36.         /// <summary>
  37.         /// Label to replace the default field name
  38.         /// </summary>
  39.         public readonly string label;
  40.  
  41.         /// <summary>
  42.         /// Constructor
  43.         /// </summary>
  44.         public InputAxesPickerAttribute(string label = null)
  45.         {
  46.             this.label = label;
  47.         }
  48.     }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement