Exemplo n.º 1
0
        public void Start()
        {
            //查找引用
            playerInfoUIComponent = playerInfoUI.GetComponent <UIPlayerInfoComponent>();

            playerDieUIComponent = playerDieUI.GetComponent <UIPlayerDieComponent>();

            playerCube = this.GetParent <PlayerCube>();
        }
Exemplo n.º 2
0
 public override void Run()
 {
     try
     {
         UIPlayerInfoComponent.onClickChangeAccount();
     }
     catch (Exception e)
     {
         Log.Error(e);
     }
 }