public static void CallLoseScreen()
    {
        print("here");
        GameObject prefabToUse = ShowProjectilesLeft.GetClosestPrefab();

        print(prefabToUse);
        if (prefabToUse == null)
        {
            print("started invoking");

            S.Invoke("showLoseScreen", 1.5f);
        }
    }
 public void OnSlingshot()
 {
     Slingshot?.Invoke(this, EventArgs.Empty);
 }
示例#3
0
 public void OnSlingshot(Entity ballEntity)
 {
     Slingshot?.Invoke(this, EventArgs.Empty);
 }