Method Render
|
Edit this page
View Source
Render(GameObject)
Create a Sprite of the target
Declaration
public Sprite Render(GameObject target)
Parameters
| Type |
Name |
Description |
| GameObject |
target |
Can be a prefab or any existing GameObject in the world |
Returns
| Type |
Description |
| Sprite |
If no active visual component is attached to the target or any child, this method returns null. |
|
Edit this page
View Source
Render(GameObject, Quaternion)
Create a Sprite of the target
Declaration
public Sprite Render(GameObject target, Quaternion rotation)
Parameters
| Type |
Name |
Description |
| GameObject |
target |
Can be a prefab or any existing GameObject in the world |
| Quaternion |
rotation |
Rotation while rendering of the GameObject. See RenderManager.IsometricRotation for example/> |
Returns
| Type |
Description |
| Sprite |
If no active visual component is attached to the target or any child, this method returns null. |
|
Edit this page
View Source
Render(RenderRequest)
Declaration
public Sprite Render(RenderManager.RenderRequest renderRequest)
Parameters
Returns
| Type |
Description |
| Sprite |
If no active visual component is attached to the target or any child, this method returns null. |