forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBehaviour.cs
More file actions
26 lines (23 loc) · 1.02 KB
/
Behaviour.cs
File metadata and controls
26 lines (23 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Decompiled with JetBrains decompiler
// Type: UnityEngine.Behaviour
// Assembly: UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A8FF7A2C-E4EE-4232-AB17-3FCABEC16496
// Assembly location: C:\Users\Blake\sandbox\unity\test-project\Library\UnityAssemblies\UnityEngine.dll
using System.Runtime.CompilerServices;
namespace UnityEngine
{
/// <summary>
/// <para>Behaviours are Components that can be enabled or disabled.</para>
/// </summary>
public class Behaviour : Component
{
/// <summary>
/// <para>Enabled Behaviours are Updated, disabled Behaviours are not.</para>
/// </summary>
public bool enabled { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] set; }
/// <summary>
/// <para>Has the Behaviour had enabled called.</para>
/// </summary>
public bool isActiveAndEnabled { [WrapperlessIcall, MethodImpl(MethodImplOptions.InternalCall)] get; }
}
}