// Use this for initialization void Awake() { allStarters.Clear(); allStarters.AddRange(starterRules.GetComponentsInChildren <Rule>()); allRules.Clear(); allRules.AddRange(restOfTheRules.GetComponentsInChildren <Rule>()); }
public void ClearList() { // Arrange var randList = new RandomList <int>(); for (int i = 0; i < 10; i++) { randList.Add(i); } // Act randList.Clear(); // Assert Assert.True(0 == randList.Count); }
public void reset() { actions.Clear(); timePassed = 0.seconds(); }