Ejemplo n.º 1
0
 public void MyFunc()
 {
     if (Bar.Debug)
     {
         Gotcha.Run();
     }
 }
Ejemplo n.º 2
0
        private void OnCollisionEnter2D(Collision2D collision)
        {
            if (collision.gameObject.tag != "Player")
            {
                return;
            }

            movePath.Clear();
            Gotcha?.Invoke(this);
        }