STNodeEditor icon indicating copy to clipboard operation
STNodeEditor copied to clipboard

Why CanConnect called two times inside ConnectOption () ?

Open MrKumakun opened this issue 1 year ago • 1 comments

Hi,

I'm studying at STNodeEditor. Thank you for providing a wonderful project!!

I'm not very good at English and I use online translators a lot, so I'm sorry if my sentences sound weird.

I trying to change it so that objects can be connected,If the object can be cast. CanConnect() intend to return "ConnectionStatus.connected" if cast is possible inside functuin.

There is something I don't know, why is CanConnect called two times inside the ConnectOption () function?

For example, I can cast from int to float, but I can't cast from float to int. There is a problem when checked in both directions.

I want to change the function call once. What do you think?

Thanks,

MrKumakun avatar Feb 09 '24 13:02 MrKumakun

Adjust NumberAddNode AutoSize

I don't know the optimal timing when to call SetOptionText() and BuildSize();

Adjust DateTime Cast

Must be cast on the individual receiving side. I think we should think of a way to manage them all at once?

Clock Add

MrKumakun avatar Feb 15 '24 02:02 MrKumakun