Ejemplo n.º 1
0
 private void DeactivePopup(Collider2D collision)
 {
     if (collision.gameObject != LocalPlayer.Instance.gameObject)
     {
         return;
     }
     uiFieldPopup.Deactive();
 }
Ejemplo n.º 2
0
    private void OnTriggerExit2D(Collider2D collision)
    {
        if (collision.gameObject != LocalPlayer.Instance.gameObject)
        {
            return;
        }

        CraftDataMan.Instance.SetCurrentFacility(null);
        if (currentRecipe == null)
        {
            uiFieldPopup.Deactive();
        }
    }