Browse Source

Merge branch 'master' into XRSDK_A01

胡佳骏 1 year ago
parent
commit
f6604e89f0
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Samples~/SDK/VersionSdk.cs

+ 14 - 0
Samples~/SDK/VersionSdk.cs

@@ -0,0 +1,14 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.UI;
+
+public class VersionSdk : MonoBehaviour
+{
+    // Start is called before the first frame update
+    void Start()
+    {
+        this.GetComponent<Text>().text ="V "+ Application.version;
+    }
+
+}