I hope the public value allow send to another node
Forum rules
The items required for the request are as follows.
要望に必要な項目は以下の通りです。
The items required for the request are as follows.
- What are you trying to do with Arbor?
- Specifically, where are you inconvenient and in trouble?
- What should I do to improve?
- We can not answer requests that do not know the detailed situation.
- We can not answer your request for specific problems in the specification of your project.
- We can not answer your request on Unity's specification issues.
- We do not guarantee the implementation of your request.
要望に必要な項目は以下の通りです。
- Arborを使って何をしようとしているか。
- 具体的にどこが不便で困っているか。
- 改善するにはどうすればよいか。
- 詳しい状況がわからない要望については答えられません。
- ユーザー様のプロジェクトの仕様上の固有の問題に対する要望については答えられません。
- Unityの仕様上の問題に対する要望には答えられません。
- 要望の実装を必ずお約束するものではございません。
I hope the public value allow send to another node
Demand:I think when the state end i can send the public value to another state node.It will be easy to transfer variable.
- caitsithware
- 管理人
- Posts: 495
- Joined: 2015/08/17 12:41
Re: I hope the public value allow send to another node
Currently, it has enabled the transfer of variables without the need to be aware of the timing if you have a public of InputSlot and OutputSlot.
When it was requested that this matter is to be able to transfer without to be aware of the direction of input and output, it seems hard because the internal structure is complicated.
When it was requested that this matter is to be able to transfer without to be aware of the direction of input and output, it seems hard because the internal structure is complicated.
Re: I hope the public value allow send to another node
i wrote a script like this:
public class NewStateBehaviourScript : StateBehaviour {
public OutputSlot<GameObject> output;
}
but no graph
public class NewStateBehaviourScript : StateBehaviour {
public OutputSlot<GameObject> output;
}
but no graph
- caitsithware
- 管理人
- Posts: 495
- Joined: 2015/08/17 12:41
Re: I hope the public value allow send to another node
Please use the inherited class because Generic class can not be serialized by the Unity of the specification.
Code: Select all
public class NewStateBehaviourScript : StateBehaviour {
public OutputSlotGameObject output;
}
Re: I hope the public value allow send to another node
but there is no OutputSlotString&InputSlotString;caitsithware wrote:Please use the inherited class because Generic class can not be serialized by the Unity of the specification.Code: Select all
public class NewStateBehaviourScript : StateBehaviour { public OutputSlotGameObject output; }
hope you can add both it,it's important;
- caitsithware
- 管理人
- Posts: 495
- Joined: 2015/08/17 12:41
Re: I hope the public value allow send to another node
It's definitely an important Slot, so I will add it.lanslot wrote: but there is no OutputSlotString&InputSlotString;
hope you can add both it,it's important;
Please wait a moment as I will prepare a patch.
Re: I hope the public value allow send to another node
and,maybe it's my faultcaitsithware wrote:It's definitely an important Slot, so I will add it.lanslot wrote: but there is no OutputSlotString&InputSlotString;
hope you can add both it,it's important;
Please wait a moment as I will prepare a patch.
but i still wanna know how to customize an OutputSlot
su mi ma se nn
Code: Select all
[Serializable]
public class TestSlot : OutputSlot<Test> {
}
[Serializable]
public class Test {
public int value;
}
Re: I hope the public value allow send to another node
In addtion,ParameterContainer also does not support string;
maybe you can add Component type and Object type;
i think it's important, too;
maybe you can add Component type and Object type;
i think it's important, too;
- caitsithware
- 管理人
- Posts: 495
- Joined: 2015/08/17 12:41
Re: I hope the public value allow send to another node
I prepared a patch so please DL and import it.caitsithware wrote:Please wait a moment as I will prepare a patch.
http://caitsithware.com/assets/arbor/pa ... itypackage
Update contents
- Added OutputSlotString and InputSlotString
- Added FlexibleString
- Added string to ParameterContainer
- Implement processing with string parameter in CalcParameter
- Implement transitions with string parameters in ParameterTransition
- Implement text setting from string to UISetTextFromParameter.
As for customizing Slot, please wait a moment as I will summarize it in the manual.lanslot wrote: and,maybe it's my fault
but i still wanna know how to customize an OutputSlot
su mi ma se nnCode: Select all
[Serializable] public class TestSlot : OutputSlot<Test> { } [Serializable] public class Test { public int value; }
Please wait until then as I will also implement it.lanslot wrote:maybe you can add Component type and Object type;
i think it's important, too;
If you list the types you want to add, I will implement it as well.
- caitsithware
- 管理人
- Posts: 495
- Joined: 2015/08/17 12:41
Re: I hope the public value allow send to another node
"Customize Data Slot" was prepared in the manual.caitsithware wrote:As for customizing Slot, please wait a moment as I will summarize it in the manual.
http://arbor.caitsithware.com/en/manual ... /dataslot/
Also, we prepared a patch that displays slots properly without creating PropertyDrawer, so I think that if you import this unitypackage, it will be fine.
http://arbor.caitsithware.com/en/2016/1 ... e-2-0-5p3/