Wednesday, December 12, 2012

Unity Function that return value

Here is how to return value for function in unity


function myFunction() : outputType {
    return variable;
}

No comments:

Post a Comment