SampleCondition.cs 487 B

12345678910111213141516171819202122232425
  1. using System;
  2. using UnityEngine;
  3. namespace SchoenLogger.Sample
  4. {
  5. [Serializable]
  6. public class SampleCondition : Condition
  7. {
  8. public enum MovementType
  9. {
  10. randomMovement,
  11. fastRandomMovement
  12. }
  13. [SerializeField]
  14. public MovementType movement;
  15. public SampleCondition() { }
  16. public SampleCondition(MovementType movementType)
  17. {
  18. movement = movementType;
  19. }
  20. }
  21. }