Hi guys
I have a program made as code in unity pro. It has around 20 lines of code.
I need to create a function for that code.For example:
[x,y]:=myfunction(start)
x - data vector returned by myfunction
y - data vector returned by myfunction
start - parameter to start executing myfunction (BOOL) 1 to start 0 to stop
I need to be able call myfunction in other programs I make.
IS THIS POSSIBLE AND IF SO HOW?
I have a program made as code in unity pro. It has around 20 lines of code.
I need to create a function for that code.For example:
[x,y]:=myfunction(start)
x - data vector returned by myfunction
y - data vector returned by myfunction
start - parameter to start executing myfunction (BOOL) 1 to start 0 to stop
I need to be able call myfunction in other programs I make.
IS THIS POSSIBLE AND IF SO HOW?