AutoPiston.cs 298 B

12345678910111213141516171819
  1. using System;
  2. using UnityEngine;
  3. public class AutoPiston : MonoBehaviour
  4. {
  5. private float insertDepth;
  6. private int pistonDir = 1;
  7. private bool pistonFlag;
  8. private float insertStart;
  9. private float insertEnd = 0.95f;
  10. private float pistonSpeed = 1f;
  11. private float autoSpeedMultiple;
  12. }