Model.UI.UI C# (CSharp) Méthode

UI() public méthode

public UI ( Scene scene, UIType uiType, UI parent, GameObject gameObject ) : UnityEngine
scene Scene
uiType UIType
parent UI
gameObject GameObject
Résultat UnityEngine
		public UI(Scene scene, UIType uiType, UI parent, GameObject gameObject) : base(EntityType.UI)
		{
			this.Scene = scene;
			this.UIType = uiType;

			gameObject.transform.SetParent(parent?.GameObject.transform);
			this.GameObject = gameObject;
			this.AddComponent<ChildrenComponent<UI>>();
		}
	}