Explorar el Código

提交版本SDK

胡佳骏 hace 1 año
padre
commit
ead191cc03
Se han modificado 1 ficheros con 14 adiciones y 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;
+    }
+
+}