summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/GetComponent.h
blob: f9aff0a80e94c659a434e888502b0d019a6e4db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GETCOMPONENT_H
#define GETCOMPONENT_H

#include "Runtime/Scripting/Backend/ScriptingTypes.h"
#include "Runtime/BaseClasses/BaseObject.h"
#include "Runtime/Mono/MonoIncludes.h"

#if ENABLE_SCRIPTING

ScriptingArrayPtr ScriptingGetComponentsOfType (Unity::GameObject& go, ScriptingObjectPtr reflectionTypeObject, bool useSearchTypeAsArrayReturnType, bool recursive, bool includeInactive);
ScriptingObjectPtr ScriptingGetComponentOfType (Unity::GameObject& go, ScriptingObjectPtr reflectionTypeObject, bool generateErrors = true);
ScriptingObjectPtr ScriptingGetComponentOfType (GameObject& go, ScriptingClassPtr systemTypeInstance);

#endif

#endif