Falco Engine 3.9.0.1 (beta)
Component.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5namespace FalcoEngine
6{
7 public abstract class Component
8 {
9 protected Component()
10 {
11
12 }
13
14 private IntPtr this_ptr = (IntPtr)0;
15
16 /*----------- PUBLIC ------------*/
17
21 public bool enabled { [MethodImpl(MethodImplOptions.InternalCall)] get; [MethodImpl(MethodImplOptions.InternalCall)] set; }
22
26 public GameObject gameObject { [MethodImpl(MethodImplOptions.InternalCall)] get; }
27
31 public bool isUiComponent { [MethodImpl(MethodImplOptions.InternalCall)] get; }
32 }
33}
bool enabled
Enable or disable this component
Definition: Component.cs:21
bool isUiComponent
Returns if this component is derived from UIElement (or this is a canvas) or not
Definition: Component.cs:31
GameObject gameObject
Get game object at which this component is attached
Definition: Component.cs:26