How to refer to the Script of the resource path in the Custom Sequence Command?
Posted: Fri Nov 12, 2021 5:01 am
Hello Tony, I faced a problem again while using this asset.
This is the structure of the game.
When the [DAY END] button is activated in the UI, you can press this button to move to the next day. However, the conditions under which this button is activated are not constant, I tried to create and use the Custom Sequence command called DayEndOn().
The command worked by default, but the problem is that the function in the external script that controls the [DAY END] button cannot be executed.
Is there a way to call a function of an external script(in Resource) in the Custom Sequence command? (That is instance script, but it didn't work.) Or if you have any reference, please let me know!
If I have to go on a huge journey, I have to think of a simpler way!
This is the structure of the game.
When the [DAY END] button is activated in the UI, you can press this button to move to the next day. However, the conditions under which this button is activated are not constant, I tried to create and use the Custom Sequence command called DayEndOn().
The command worked by default, but the problem is that the function in the external script that controls the [DAY END] button cannot be executed.
Is there a way to call a function of an external script(in Resource) in the Custom Sequence command? (That is instance script, but it didn't work.) Or if you have any reference, please let me know!
If I have to go on a huge journey, I have to think of a simpler way!