[HideInInspector] public float StunTime = 0f; //The time remaining that we are stunned for. #endregion void Awake() { PortableDamage = 0; PortableFireRate = 0; Instance = this; //Grabs the instance of our builder so other scripts may access us easier. currentBehavior = new IdleBehavior(this, Time.deltaTime); //Set the starting state to be idle. }
public CollectBehavior(BuildController_Attempt3 val, float Dt) { controller = val; DeltaTime = Dt; }