Created
April 24, 2017 18:18
-
-
Save timsgardner/f9c5ce6e6fa7d8dfde4f9be1583bd996 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void RunFunctions () | |
{ | |
if (!_fullyInitialized) { | |
FullInit(); | |
} | |
var _go = gameObject; | |
var _fns = fns; | |
for (int i = 0; i < _fns.Length; i++) { | |
_fns[i].invoke(_go); | |
} | |
} | |
public void RunFunctions (object arg1) | |
{ | |
if (!_fullyInitialized) { | |
FullInit(); | |
} | |
var _go = gameObject; | |
var _fns = fns; | |
for (int i = 0; i < _fns.Length; i++) { | |
_fns[i].invoke(_go, arg1); | |
} | |
} | |
public void RunFunctions (object arg1, object arg2) | |
{ | |
if (!_fullyInitialized) { | |
FullInit(); | |
} | |
var _go = gameObject; | |
var _fns = fns; | |
for (int i = 0; i < _fns.Length; i++) { | |
_fns[i].invoke(_go, arg1, arg2); | |
} | |
} | |
public void RunFunctions (object arg1, object arg2, object arg3) | |
{ | |
if (!_fullyInitialized) { | |
FullInit(); | |
} | |
var _go = gameObject; | |
var _fns = fns; | |
for (int i = 0; i < _fns.Length; i++) { | |
_fns[i].invoke(_go, arg1, arg2, arg3); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment