A game about forced loneliness, made by TACStudios
1using System.Collections.Generic;
2
3namespace UnityEditor.Timeline
4{
5 class Control
6 {
7 readonly List<Manipulator> m_Manipulators = new List<Manipulator>();
8
9 public bool HandleManipulatorsEvents(WindowState state)
10 {
11 var isHandled = false;
12
13 foreach (var manipulator in m_Manipulators)
14 {
15 isHandled = manipulator.HandleEvent(state);
16 if (isHandled)
17 break;
18 }
19
20 return isHandled;
21 }
22
23 public void AddManipulator(Manipulator m)
24 {
25 m_Manipulators.Add(m);
26 }
27 }
28}