Explorar o código

提交版本SDK

胡佳骏 hai 1 ano
pai
achega
ead191cc03
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  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;
+    }
+
+}