DrawingModuleDuplicatePrefab Method

This method instantiates prefab at the given position according to the settings.

Definition

Namespace: NorthLab.PrefabDrawer
Assembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
C#
public GameObject DuplicatePrefab(
	Drawable drawable,
	RaycastHit hit
)

Parameters

drawable  Drawable
Prefab and it's settings.
hit  RaycastHit

[Missing <param name="hit"/> documentation for "M:NorthLab.PrefabDrawer.DrawingModule.DuplicatePrefab(NorthLab.PrefabDrawer.Drawable,UnityEngine.RaycastHit)"]

Return Value

GameObject
Instantiated object.

See Also