public virtual void ResetSerial (string counterObject, string counterName, float startTime, float repeatTime) { counter = (WaveCounter) ExtendBehaviour.FindComponent(counterObject, counterName); timeBeforeStart = startTime; timeRepeat = repeatTime; }