C# 클래스 Common.GameEntityFactory

상속: MonoBehaviour, IGameEntityFactory
파일 보기 프로젝트 열기: gamemachine/gamemachine

공개 프로퍼티들

프로퍼티 타입 설명
gameEntityPrefabs List
instance GameEntityFactory
setSpawnPoint bool

공개 메소드들

메소드 설명
Awake ( ) : void
Create ( ) : IGameEntity
Create ( string entityId, Common.Character character, GameEntityType entityType, Common.Vector3 spawnPoint, ControllerType controllerType ) : IGameEntity
CreateFromNetwork ( string entityId, Common.Character character, TrackData trackData ) : IGameEntity
CreateLocal ( GameEntityType entityType ) : IGameEntity
CreateLocalNpc ( string entityId, Common.Character character, Common.Vector3 spawnPosition, Common.GameObject prefab ) : IGameEntity
GetGameEntityPrefab ( string id ) : Common.GameObject

비공개 메소드들

메소드 설명
GetEntityContainer ( ) : Common.GameObject
GetSpawnpoint ( GameEntityType entityType, Common.Character character ) : Common.Vector3
LoadUmaModel ( GameEntity gameEntity ) : Common.GameObject

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Create() 공개 메소드

public Create ( ) : IGameEntity
리턴 IGameEntity

Create() 공개 메소드

public Create ( string entityId, Common.Character character, GameEntityType entityType, Common.Vector3 spawnPoint, ControllerType controllerType ) : IGameEntity
entityId string
character Common.Character
entityType GameEntityType
spawnPoint Common.Vector3
controllerType ControllerType
리턴 IGameEntity

CreateFromNetwork() 공개 메소드

public CreateFromNetwork ( string entityId, Common.Character character, TrackData trackData ) : IGameEntity
entityId string
character Common.Character
trackData TrackData
리턴 IGameEntity

CreateLocal() 공개 메소드

public CreateLocal ( GameEntityType entityType ) : IGameEntity
entityType GameEntityType
리턴 IGameEntity

CreateLocalNpc() 공개 메소드

public CreateLocalNpc ( string entityId, Common.Character character, Common.Vector3 spawnPosition, Common.GameObject prefab ) : IGameEntity
entityId string
character Common.Character
spawnPosition Common.Vector3
prefab Common.GameObject
리턴 IGameEntity

GetGameEntityPrefab() 공개 메소드

public GetGameEntityPrefab ( string id ) : Common.GameObject
id string
리턴 Common.GameObject

프로퍼티 상세

gameEntityPrefabs 공개적으로 프로퍼티

public List gameEntityPrefabs
리턴 List

instance 공개적으로 정적으로 프로퍼티

public static GameEntityFactory,Common instance
리턴 GameEntityFactory

setSpawnPoint 공개적으로 프로퍼티

public bool setSpawnPoint
리턴 bool