Пример #1
0
 private void RegisterBrick(BrickRegisteredEvent customeEvent)
 {
     allBricks.Add(customeEvent.Brick);
 }
Пример #2
0
 private static void RegisterBrick(BrickRegisteredEvent customEvent)
 {
     wallColliders.Add(customEvent.Brick.GetComponent <Collider2D>());
 }