Global Game Jam 2023
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.6 KiB

1 year ago
1 year ago
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.InputSystem;
  5. using NaughtyAttributes;
  6. /// <summary>
  7. ///
  8. /// </summary>
  9. public class RowController : MonoBehaviour
  10. {
  11. #region Inspector Fields
  12. [SerializeField]
  13. private Transform m_topHand;
  14. [SerializeField]
  15. private Transform m_bottomHand;
  16. [SerializeField, BoxGroup("Settings"), Range(0.0f, 1.0f)]
  17. private float m_armRange = 1;
  18. [SerializeField, BoxGroup("Settings"), Range(0.0f, 1.0f)]
  19. private float m_armSpeed = 0.2f;
  20. [SerializeField, BoxGroup("Input")]
  21. private InputActionProperty m_inputAxis;
  22. #endregion Inspector Fields
  23. #region Private Fields
  24. #endregion Private Fields
  25. #region Getters
  26. #endregion Getters
  27. #region MonoBehaviour Functions
  28. /// <summary>
  29. /// OnEnable is called when the object becomes enabled and active.
  30. /// </summary>
  31. private void OnEnable()
  32. {
  33. }
  34. /// <summary>
  35. /// OnDisable is called when the behaviour becomes disabled.
  36. /// </summary>
  37. private void OnDisable()
  38. {
  39. }
  40. /// <summary>
  41. /// Update is called once per frame
  42. /// </summary>
  43. private void Update()
  44. {
  45. }
  46. #endregion MonoBehaviour Functions
  47. #region Class Functionality
  48. #endregion Class Functionality
  49. #region Editor Functions
  50. /// <summary>
  51. /// Called when the Component is created or Reset from the Inspector
  52. /// </summary>
  53. private void Reset()
  54. {
  55. //useful for finding components on creation
  56. }
  57. #endregion Editor Functions
  58. }