MenuButton.SpawnUIDraggableElement C# (CSharp) Method

SpawnUIDraggableElement() private method

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