Show / Hide Table of Contents

# Class SingletonEntityLogic

Base class for singletons entity that can exists in only one instance

##### Inheritance

object
InternalBaseClass
InternalEntity
SingletonEntityLogic

##### Implements

IComparable<InternalEntity>

##### Inherited Members

InternalEntity.ClassId
InternalEntity.Id
InternalEntity.EntityManager
InternalEntity.IsServer
InternalEntity.IsClient
InternalEntity.Version
InternalEntity.IsDestroyed
InternalEntity.IsLocalControlled
InternalEntity.IsRemoteControlled
InternalEntity.IsServerControlled
InternalEntity.ClientManager
InternalEntity.ServerManager
InternalEntity.OwnerId
InternalEntity.IsLocal
InternalEntity.Destroy()
InternalEntity.OnDestroy()
InternalEntity.Update()
InternalEntity.OnBeforeRollback()
InternalEntity.OnRollback()
InternalEntity.VisualUpdate()
InternalEntity.OnConstructed()
InternalEntity.RegisterRPC(ref RPCRegistrator)
InternalEntity.CompareTo(InternalEntity)
InternalEntity.GetHashCode()
InternalEntity.ToString()
InternalBaseClass.ExecuteRPC(in RemoteCall)
InternalBaseClass.ExecuteRPC<T>(in RemoteCall<T>, T)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSpan<T>, ReadOnlySpan<T>)
InternalBaseClass.ExecuteRPC<T>(in RemoteCallSerializable<T>, T)
InternalBaseClass.OnSyncRequested()

###### Namespace: LiteEntitySystem

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public abstract class SingletonEntityLogic : InternalEntity, IComparable<InternalEntity>

### Constructors

#### SingletonEntityLogic(EntityParams)

##### Declaration

    protected SingletonEntityLogic(EntityParams entityParams)

##### Parameters

Type | Name | Description
--- | --- | ---
EntityParams | entityParams |

### Implements

IComparable<T>