Commit 4f8d0ec2e46593523b12c2267736a2d0f7d5f3d9

Authored by YangYi
1 parent 7824b87d

基础内容提交

  1 +{
  2 + "name": "com.kiwifungames.package.demo",
  3 + "rootNamespace": "",
  4 + "references": [],
  5 + "includePlatforms": [],
  6 + "excludePlatforms": [],
  7 + "allowUnsafeCode": false,
  8 + "overrideReferences": false,
  9 + "precompiledReferences": [],
  10 + "autoReferenced": true,
  11 + "defineConstraints": [],
  12 + "versionDefines": [],
  13 + "noEngineReferences": false
  14 +}
  1 +using System;
  2 +using UnityEngine.UI;
  3 +
  4 +namespace Kiwifungames.UnityPackageDemo
  5 +{
  6 + public class LevelDemo : MonoBehaviour
  7 + {
  8 + public const int VERSION_CODE = 1;
  9 +
  10 + [SerializeField]
  11 + private Text m_TextVersion;
  12 + void Start()
  13 + {
  14 + if (m_TextVersion != null)
  15 + {
  16 + m_TextVersion.text = $"VersionCode: {VERSION_CODE}";
  17 + }
  18 + }
  19 +
  20 + void Update()
  21 + {
  22 +
  23 + }
  24 + }
  25 +}
  1 +{
  2 + "name": "com.kiwifungames.unitypackage.demo",
  3 + "displayName": "UnityPackageDemo",
  4 + "version": "1.0.0",
  5 + "description": "Demo Package",
  6 + "author": {
  7 + "name": "Young",
  8 + "email": "young@kiwifungames.com",
  9 + "url": "http://mygitlab.daimaodiary.com/dashboard/projects"
  10 + }
  11 + }