We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f4a942 commit ee65c1aCopy full SHA for ee65c1a
1 file changed
unity/Assets/SimpleExample.cs
@@ -38,6 +38,15 @@ public class SimpleExample : MonoBehaviour
38
39
[SerializeField] public Text MessageLog;
40
41
+ // Enable horizontal wrapping for MessageLog
42
+ private void Awake()
43
+ {
44
+ if (MessageLog != null)
45
46
+ MessageLog.horizontalOverflow = HorizontalWrapMode.Wrap;
47
+ }
48
49
+
50
// for android
51
#if UNITY_ANDROID
52
private const string FineLocationPermission = "android.permission.ACCESS_FINE_LOCATION";
0 commit comments