Table of Contents

Method Create

Namespace
Pinwheel.Griffin
Assembly
Pinwheel.Polaris.Runtime.dll

Create(Texture2D)

Create a new prototype from a grass texture.

public static GGrassPrototype Create(Texture2D tex)

Parameters

tex Texture2D

The grass texture.

Returns

GGrassPrototype

The new prototype.

Create(GameObject)

Create a new prototype from a prefab. This prototype will be rendered as Detail Object.

public static GGrassPrototype Create(GameObject prefab)

Parameters

prefab GameObject

Returns

GGrassPrototype