Create Icon [Obsoleto]

STD Library
Obsoleto
Lado del servidor
Disponible en PC y móvil

Create an icon using the specified icon type. If there are more properties to set, further set its entity properties through the entity (deprecated, please use CreateLevelObject)

Declaración

func CreateIconEntity_Deprecated(out var entityVarName entity<PresentIcon_Deprecated>, ownerPlayer entity<Player>, iconType IconType)
go

Parámetros

Entrada

Nombre Tipo Descripción
Player Player The player entity it belongs to, only visible to that player
Icon IconType Resource path, the resource path corresponding to the icon selected by the player

Afuera

Nombre Tipo Descripción
Icon entity PresentIcon[Obsoleto] The name of the parameter used to create the icon entity in the code, and its corresponding local variable value is the entity that creates the icon