예제 #1
0
    public void buttonShowRewardClicked()           //Reward Ad Button Show Clicked
    {
        Debug.Log("Button Show Reward Clicked...");
        AlertCanvas.enabled = true;

        FreestarUnityBridge.showRewardedAd("", 30, "coin", "Chocolate1", "XNydpzNLIj2pBRM8");
    }
예제 #2
0
    public void YesClicked()
    {
        Debug.Log("Yes Clicked...");
        AlertCanvas.enabled = false;

        ButtonSetup("reward", false);

        //Parma 1 : Secret Key (Get it from Vdopia Portal : Required if server-to-server callback enabled)
        //Parma 2 : User name
        //Param 3 : Reward Name or measure
        //Param 4 : Reward Amount or quantity
        FreestarUnityBridge.showRewardedAd("", 30, "coin", "Chocolate1", "XNydpzNLIj2pBRM8");
    }