Init(args)
Scripting Reference
List of all members | Static Public Member Functions
Sisus.Init.ObjectExtensions Class Reference

Description

Extensions methods for Object that can be used to instantiate new copies Objects that implement one of the IArgs interfaces with the required dependencies passed to the clone's Init function.

Static Public Member Functions

static TObject Instantiate< TObject, TArgument > ([NotNull] this TObject original, TArgument argument)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TArgument > (this TObject original, TArgument argument, Transform parent, bool instantiateInWorldSpace=false)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TArgument > (this TObject original, TArgument argument, Vector3 position, Quaternion rotation)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TArgument > (this TObject original, TArgument argument, Vector3 position, Quaternion rotation, Transform parent)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument > ([NotNull] this TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument > ([NotNull]TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, Transform parent, bool instantiateInWorldSpace=false)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, Vector3 position, Quaternion rotation, Transform parent=null)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument > ([NotNull] this TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument > ([NotNull]TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, Transform parent=null, bool instantiateInWorldSpace=false)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, Vector3 position, Quaternion rotation, Transform parent=null)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > ([NotNull] this TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, Transform parent=null, bool instantiateInWorldSpace=false)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, Vector3 position, Quaternion rotation, Transform parent=null)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > ([NotNull] this TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument, Transform parent=null, bool instantiateInWorldSpace=false)
 Clones the original TObject , initializes More...
 
static TObject Instantiate< TObject, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > ([NotNull] TObject original, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument, Vector3 position, Quaternion rotation, Transform parent=null)
 Clones the original TObject , initializes More...