C# 클래스 Svelto.Context.GameObjectFactory

상속: Factories.IGameObjectFactory
파일 보기 프로젝트 열기: sebas77/Svelto-ECS

공개 메소드들

메소드 설명
Build ( GameObject prefab ) : GameObject

Register a prefab to be built later using a string ID.

Build ( string prefabName ) : GameObject
GameObjectFactory ( ) : System.Collections.Generic
RegisterPrefab ( GameObject prefab, string prefabName, GameObject parent = null ) : void

메소드 상세

Build() 공개 메소드

Register a prefab to be built later using a string ID.
public Build ( GameObject prefab ) : GameObject
prefab UnityEngine.GameObject original prefab
리턴 UnityEngine.GameObject

Build() 공개 메소드

public Build ( string prefabName ) : GameObject
prefabName string
리턴 UnityEngine.GameObject

GameObjectFactory() 공개 메소드

public GameObjectFactory ( ) : System.Collections.Generic
리턴 System.Collections.Generic

RegisterPrefab() 공개 메소드

public RegisterPrefab ( GameObject prefab, string prefabName, GameObject parent = null ) : void
prefab UnityEngine.GameObject
prefabName string
parent UnityEngine.GameObject
리턴 void