1
This commit is contained in:
@@ -4,6 +4,6 @@ namespace BITKit
|
||||
{
|
||||
public static class MathO
|
||||
{
|
||||
|
||||
public static T As<T>(this object self) where T : class => self as T;
|
||||
}
|
||||
}
|
@@ -44,6 +44,10 @@ namespace BITKit.Entities
|
||||
{
|
||||
case null:
|
||||
break;
|
||||
case Core.Entites.IEntityComponent entityComponent:
|
||||
if(entityComponent.Entity.Id == Id)
|
||||
continue;
|
||||
break;
|
||||
case MonoBehaviour { destroyCancellationToken: { IsCancellationRequested: false } }:
|
||||
continue;
|
||||
case not null:
|
||||
|
Reference in New Issue
Block a user