Exemplo n.º 1
0
 public void AddTest(ButtonTest other)
 {
     Down += other.Down;
     Up   += other.Up;
     Pressed.UnionWith(other.Pressed);
 }
Exemplo n.º 2
0
 public void RemoveTest(ButtonTest other)
 {
     Down -= other.Down;
     Up   -= other.Up;
     Pressed.ExceptWith(other.Pressed);
 }
Exemplo n.º 3
0
 void Awake()
 {
     instance = this;
 }