Then you’ll probably have to implement your node in a way that you can set your custom name from the inspector and then just pass that back through the name property, e.g.
1
2
3
4
5
6
7
8
9
10
11
classMyNode:BTNode
{
// ...
[SerializeField]
stringcustomName;
publicoverridestringname=>"This is "+customName;
// ...
}
Login
Register
By registering on this website you agree to our Privacy Policy.