Add IsTargetable to GameObject (#1269)

* Add IsTargetable

* Fix style inconsistency
This commit is contained in:
MidoriKami 2023-06-24 21:24:08 -07:00 committed by GitHub
parent 3fa8968027
commit 2fe7cfb5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,11 @@ public unsafe partial class GameObject
/// </summary>
public bool IsDead => this.Struct->IsDead();
/// <summary>
/// Gets a value indicating whether the object is targetable.
/// </summary>
public bool IsTargetable => this.Struct->GetIsTargetable();
/// <summary>
/// Gets the position of this <see cref="GameObject" />.
/// </summary>