Wider StateNodes in Editor window

Forum rules
Here is the forum to do the questions about how to use to Arbor developer.
Attention point:
  • We can not answer your questions about your project specific issues.
  • We can not answer your questions on Unity's specification issues.
  • Please check Arbor Documentation and ask a question if you still don't know how to use it. If the desired function is not described in the document, it is highly possible that the function does not exist from the beginning, so go to the request forum.

ここは、Arbor開発者へ使い方に関する質問を行うフォーラムです。
注意点:
  • ユーザー様のプロジェクトの仕様上の問題や設計に対する質問には答えられません。
  • Unityの仕様上の問題に対する質問には答えられません。
  • Arbor Documentationを確認の上、それでも使い方がわからない場合にご質問ください。欲しい機能の記載がドキュメントにない場合は機能が元から存在しない可能性が高いので要望フォーラムへ。

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Wider StateNodes in Editor window

Wider StateNodes in Editor window

by BryanLar » 2018/10/05 00:44

You are right, i have make the modification, normaly its ok now

Re: Wider StateNodes in Editor window

by caitsithware » 2018/02/23 05:10

At the moment there is no script which can be easily changed.
Since we are processing so that the width of all nodes is 300px fixed, you need to edit ArborEditorWindow.cs.

The code to change is as follows:
  • Setting of Node.position at node creation location such as CreateState().
  • "position.width = 300;" in OnGraphGUI().
Do you always want to be able to change from script?
I will consider attributes that can specify the width of the node if necessary.
For example:

Code: Select all

static class CustomNodeSettings
{
    [CustomNodeWitdh]
    static float GetNodeWidth(Node node)
    {
        return 600f;
    }
}

Re: Wider StateNodes in Editor window

by IgorAherne » 2017/07/09 00:25

Ok, thanks!

Is there a script I can change, so that I have 300px width of all nodes (permanently)?
Like an editor script or a Drawer (because I have all source code)

Re: Wider StateNodes in Editor window

by caitsithware » 2017/07/08 22:58

Hi.

The width can't be changed for now.

I will consider the specification that you can change the width by dragging the side of the node.

Wider StateNodes in Editor window

by igor » 2017/07/08 20:59

Hi,

In ArborEditorWindow, I want a wider-version of "Rect" for any "node"
Which script to change width, to get more pixels?

Thanks!

Top