DLB

Unity Pro - Subroutine Arguments

1 post in this topic

Am I right in thinking that you can't pass arguments into a subroutine (SR Section) in Unity Pro? I am using v8 and can't seem to find a way of doing it. I want a reusable function that I can just call on demand, so a subroutine is perfect. But I need to call it with different parameters. Will have to be a DFB is this isn't possible, I guess.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now