From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Export/UnityEngineBehaviour.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Runtime/Export/UnityEngineBehaviour.txt (limited to 'Runtime/Export/UnityEngineBehaviour.txt') diff --git a/Runtime/Export/UnityEngineBehaviour.txt b/Runtime/Export/UnityEngineBehaviour.txt new file mode 100644 index 0000000..d0e1304 --- /dev/null +++ b/Runtime/Export/UnityEngineBehaviour.txt @@ -0,0 +1,31 @@ +C++RAW + + +#include "UnityPrefix.h" +#include "Configuration/UnityConfigure.h" +#include "Runtime/Scripting/ScriptingUtility.h" +#include "Runtime/Mono/MonoBehaviour.h" + +using namespace Unity; +using namespace std; + +CSRAW +using System; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Collections; +using UnityEngineInternal; + +namespace UnityEngine +{ + +// Behaviours are Components that can be enabled or disabled. +CSRAW +NONSEALED_CLASS Behaviour : Component + // Enabled Behaviours are Updated, disabled Behaviours are not. + AUTO_PROP bool enabled GetEnabled SetEnabled +END + + +CSRAW } + -- cgit v1.1-26-g67d0