• This project
    • Loading...
  • Sign in

Young / UnityPackageDemo · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • UnityPackageDemo
  • Runtime
  • Demo.cs
  • 提升版本号
    a964aefd
    by YangYi
    2024-11-27 15:06:18 +0800  
    Browse Files
Demo.cs 468 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
using UnityEngine;
using UnityEngine.UI;

namespace Kiwifungames.UnityPackageDemo
{
    public class Demo : MonoBehaviour
    {
        public const int VERSION_CODE = 2;
       
        [SerializeField]
        private Text m_TextVersion;
        void Start()
        {
            if (m_TextVersion != null)
            {
                m_TextVersion.text = $"VersionCode: {VERSION_CODE}";
            }
        }

        void Update()
        {

        }
    }
}