C# Class Svelto.Context.GameObjectFactory

Inheritance: Factories.IGameObjectFactory
Afficher le fichier Open project: sebas77/Svelto-ECS

Méthodes publiques

Méthode Description
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

Method Details

Build() public méthode

Register a prefab to be built later using a string ID.
public Build ( GameObject prefab ) : GameObject
prefab UnityEngine.GameObject original prefab
Résultat UnityEngine.GameObject

Build() public méthode

public Build ( string prefabName ) : GameObject
prefabName string
Résultat UnityEngine.GameObject

GameObjectFactory() public méthode

public GameObjectFactory ( ) : System.Collections.Generic
Résultat System.Collections.Generic

RegisterPrefab() public méthode

public RegisterPrefab ( GameObject prefab, string prefabName, GameObject parent = null ) : void
prefab UnityEngine.GameObject
prefabName string
parent UnityEngine.GameObject
Résultat void