Files
UIEffect/PackageTest/Assets/NewBehaviourScript.cs
T
mob-sakai 36a36b8d2b pkgtest
2019-02-24 09:16:08 +09:00

22 lines
420 B
C#

#define COM_UNITY_TEXTMESHPRO
#if COM_UNITY_TEXTMESHPRO
using TMPro;
#endif
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//using TMPro;
public class NewBehaviourScript : MonoBehaviour
{
void Start ()
{
#if TMP_PRESENT
GetComponent<TMP_Text> ().text = "TMP_PRESENT is defined.";
#else
GetComponent<TMP_Text> ().text = "TMP_PRESENT is NOT defined.";
#endif
}
}