Class DoorSocketBase
Base class for door sockets.
Implements
IDoorSocket
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class DoorSocketBase : ScriptableObject, IDoorSocket
Remarks
Inherit from this class if you need more control over the sockets than the DoorSocket class provides.
Methods
GetColor()
Returns the color that should be used for this socket when creating room templates.
Declaration
public virtual Color GetColor()
Returns
Type | Description |
---|---|
Color |
IsCompatibleWith(IDoorSocket)
Decides whether this socket is compatible with the other socket.
Declaration
public abstract bool IsCompatibleWith(IDoorSocket otherSocket)
Parameters
Type | Name | Description |
---|---|---|
IDoorSocket | otherSocket |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
IDoorSocket