Ejemplo n.º 1
0
    public void SendToastFromLocation(Vector3 locationOfToast, string whatToToast)
    {
        numberOfUsedToasts = 0; // PlaceHolder
        Toast toastOut = findAvailableToastFromPool();

        toastOut.transform.SetParent(this.transform);
        toastOut.AlterToastFlightPlan(numberOfUsedToasts);
        toastOut.sendToast(locationOfToast, whatToToast);
    }