Пример #1
0
 public void AddTest(ButtonTest other)
 {
     Down += other.Down;
     Up   += other.Up;
     Pressed.UnionWith(other.Pressed);
 }
Пример #2
0
 public void RemoveTest(ButtonTest other)
 {
     Down -= other.Down;
     Up   -= other.Up;
     Pressed.ExceptWith(other.Pressed);
 }
Пример #3
0
 void Awake()
 {
     instance = this;
 }