Blocks
utility class:FindBlock<T>(string id)
Search for a block of type T with the id specified in all active GameObjects (or that have been active at any time) in the scene.FindBlock<T>(string id, GameObject go, bool recursive = false)
Search for a block of type T with the specified id but only in the scope of the specified GameObject and optionally (if we specify recursive = true) in its entire hierarchy (that is, in the GameObject children). In this case, it is not taken into account if the GameObject is active or not.null
is returned.stringValue
andintValue
, but these properties could also be used to modify the value of the variables just by making an assignment.Builtin
utility class: