Beispiel #1
0
 void OnUnsubscribed(WorkshopItemEventArgs args)
 {
     // Debug.Log(args.ErrorMessage);
     // if (args.IsError) Debug.Log(args.ErrorMessage);
     // else Debug.Log("ybsubbed" + args.Item.IsSubscribed);
     workshopItem             = args.Item;
     subscribeButtonText.text = SUBSCRIBE_TEXT;
 }
Beispiel #2
0
 private void OnSubscribed(WorkshopItemEventArgs args)
 {
     if (args.Item.SteamNative.m_nPublishedFileId == workshopItem.SteamNative.m_nPublishedFileId)
     {
         workshopItem = args.Item;
         unsubscribeButton.gameObject.SetActive(true);
     }
 }
Beispiel #3
0
 protected virtual void OnItemInstalled(WorkshopItemEventArgs p_itemArgs)
 {
     OnItemUpdated(m_btnPlay).Invoke(p_itemArgs);
 }