Places a new sprite from the model modelName at cubePos.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XSprite PlaceSprite( string modelName, Vector3Int cubePos ) |
Parameters
- modelName
- Type: System..::.String
Model name.
- cubePos
- Type: SGP.Baltie..::.Vector3Int
The coodinates Vector3Int where the sprite will be placed.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | modelName is nullNothingnullptra null reference (Nothing in Visual Basic). |