Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
修复Icon特性在旧版本不支持的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Giresharu committed Jun 26, 2023
1 parent 307c4f4 commit db1b11a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Assets/Runtime/TMPPlayerRichTagManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
using UnityEngine;

namespace TMPPlayer {

[Icon("Packages/com.gsr.tmproplayer/Icons/manager.png")]

public class TMPPlayerRichTagManager : MonoBehaviour {

static TMPPlayerRichTagManager instance;
Expand Down
10 changes: 9 additions & 1 deletion Assets/Runtime/TMPPlayerRichTagManager.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Runtime/TMProPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace TMPPlayer {

[RequireComponent(typeof(TMP_Text))][Icon("Packages/com.gsr.tmproplayer/Icons/player.png")]
[RequireComponent(typeof(TMP_Text))]
public class TMProPlayer : MonoBehaviour {

public bool isTypeWriter = true;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Runtime/TMProPlayer.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db1b11a

Please sign in to comment.