Exemplo n.º 1
0
    public override bool show (string zoneId, string rewardItemKey, string options) {
      Utils.LogDebug ("UnityEditor: show()");
			GameObject placeHolderObject = GameObject.Find(@"UnityAdsEditorPlaceHolderObject");
			if (placeHolderObject == null) {
				placeHolderObject = new GameObject(@"UnityAdsEditorPlaceHolderObject");
				placeHolder = placeHolderObject.AddComponent<UnityAdsEditorPlaceholder>();
				placeHolder.init();
			}
			placeHolder.Show();
      return true;
    }
        public override bool show(string zoneId, string rewardItemKey, string options)
        {
            Utils.LogDebug("UnityEditor: show()");
            GameObject placeHolderObject = GameObject.Find(@"PlaceHolderObject");

            if (placeHolderObject == null)
            {
                placeHolderObject = new GameObject(@"PlaceHolderObject");
                placeHolder       = placeHolderObject.AddComponent <UnityAdsEditorPlaceholder>();
                placeHolder.init();
            }
            placeHolder.Show();
            return(true);
        }