MenuButton.SpawnUIDraggableElement C# (CSharp) Méthode

SpawnUIDraggableElement() private méthode

Spawns the UIDraggableElement associated with this MenuButton on top of this MenuButton.
private SpawnUIDraggableElement ( ) : void
Résultat void
    private void SpawnUIDraggableElement()
    {
        Instantiate(GetUIElementToSpawn(), this.transform.position, Quaternion.identity);
    }