Run Method
Two functions are used to run functions of PPG 3D classes specifically.
RunMethod
is used to run a function in a singular defined object It uses 4 parameters.
Object -
GameObject
Class -
string "className"
Function -
string "functionName"
Parameters -
object[]
Example:
RunMethodsInChildren
is used to run functions in the children and main object. It also uses 4 parameters.
Parent -
GameObject
Class -
string "className"
Function -
string "functionName"
Parameters -
object[]
Example:
Last updated