Unity 框架

UIScript.txt 503B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using TFramework;
  5. [UIResource("#","#.assetbundle","Assets/../#.prefab",ResLoadMode.Resourece,RenderMode.ScreenSpaceOverlay)]
  6. public class #ClassName :BasePanel
  7. {
  8. public override void OnInit()
  9. {
  10. base.OnInit();
  11. }
  12. public override void OnEnter(params object[] args)
  13. {
  14. base.OnEnter(args);
  15. }
  16. public override void OnExit(params object[] args)
  17. {
  18. base.OnExit(args);
  19. }
  20. }