2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
14 private IntPtr this_ptr = (IntPtr)0;
21 public bool enabled { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
31 public bool isUiComponent { [MethodImpl(MethodImplOptions.InternalCall)]
get; }
bool enabled
Enable or disable this component
bool isUiComponent
Returns if this component is derived from UIElement (or this is a canvas) or not
GameObject gameObject
Get game object at which this component is attached