// Start is called before the first frame update void Start() { Debug.Log("start"); Adison.Initialize("PJbqHq7dY9N5mJ1EyT9c6mQ3"); Adison.SetEnvironment(AdisonOfferwall.Api.Environment.Development); Adison.SetDebugEnabled(true); Adison.SetUid("sangkyoonnam"); Adison.SetIsTester(true); Adison.SetBirthYear(1983); Adison.SetGender(Gender.Male); AdisonConfig config = new AdisonConfig(); config.OfferwallListTitle = "테스트 오퍼월"; config.PrepareViewHidden = true; Adison.SetConfig(config); AdisonColorScheme colorScheme = new AdisonColorScheme(); colorScheme.PrimaryColor = "#9f83cb"; colorScheme.PrimaryColorVariant = "#9f83cb"; colorScheme.OnPrimaryColor = "#ffffff"; Adison.SetColorScheme(colorScheme); Adison.LifeCycleListener.OnOfferwallOpen += OnOfferwallOpen; Adison.LifeCycleListener.OnOfferwallClosed += OnOfferwallClosed; }
public static void SetColorScheme(AdisonColorScheme colorScheme) { //PluginClass.CallStatic("setColorScheme", colorScheme.javaObject); }
public static void SetColorScheme(AdisonColorScheme colorScheme) { __setColorScheme(colorScheme.nativeObject); }