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); }
public void OnSlingshot(Entity ballEntity) { Slingshot?.Invoke(this, EventArgs.Empty); }