为动作修改对象新增 ObjectMountTarget 节点及 UI 位置控制功能//アクション修正対象へ ObjectMountTarget ノードの追加と UI 位置制御機能の実装//Add ObjectMountTarget Node and UI Position Control Function to Action Modification Target

动作修改对象可不可以增加一个ObjectMountTarget节点功能,我想在ui界面做一个随机单位对象互动ui,生成位置还是根据固定的,还要增加位置变量来控制生成在没有生成ui的位置上面

new:目前我已经换了一种方法实现了,只是现在用对象去生成对象时候有点卡
期待官方的轻量化对象喵

///

アクション修正対象にObjectMountTarget ノードの機能を追加できますか?UI インターフェースでランダムなユニットオブジェクトとのインタラクション用 UI を作成したいです。生成位置は依然として固定ルールに基づき、かつ位置変数を追加して、UI が生成されていない位置に生成を制御したいです。

new:既に別の方法で機能を実装することができました。ただ、現在オブジェクトからオブジェクトを生成する際に、少しカクつきが発生しています。公式の軽量オブジェクトを期待しています喵:sparkles:

///

Could we add the ObjectMountTarget node function to the action modification target?I want to create a UI for random unit object interaction in the UI interface.The generation position should still be based on fixed rules, and position variables need to be added to control the generation in positions where no UI has been generated yet.

new:

I’ve already got the feature working using a different approach. The only issue now is that there’s some lag when spawning objects from other objects. Looking forward to the official lightweight objects meow​:sparkles:

我现在遇到一个问题,怎么实现随机ui
1.打开菜单后能够生成随机的对象ui
2.关闭菜单后再次打开能够恢复上次的随机对象ui
例如图中,我想让玩家点击“?”对象然后解锁新对象ui,然后在新对象后面再生成一个“?”ui
然后我切换功能菜单后再切换回来还能保持ui对象不变

///

現在、ランダム UI の実装方法で困っています。

実現したい機能は以下の通りです。

  1. メニューを開くと、ランダムなオブジェクト UIを生成できる

  2. メニューを閉じて再度開いた際、前回生成したランダムオブジェクト UIを復元する

例えば添付画像のように、プレイヤーが「?」オブジェクトをクリックすると新しいオブジェクト UIがアンロックされ、その新しいオブジェクトの後ろに再度「?」UIが生成されるようにしたいです。

さらに、機能メニューを切り替えてから元に戻した場合でも、UI オブジェクトの状態が変わらないように保持したいです。

///

I’m currently facing an issue with implementing random UI.

The functions I want to achieve are as follows:

  1. When opening the menu, it can generate random object UI

  2. When closing the menu and opening it again, it can restore the random object UI generated last time

For example, as shown in the attached image, I want players to click the “?” object to unlock a new object UI, and then have another “?” UI generated after the new object.

In addition, even after switching between function menus and switching back, I want to keep the UI object state unchanged.