Method Create
Create(Texture2D)
Create a new prototype from a grass texture.
public static GGrassPrototype Create(Texture2D tex)
Parameters
texTexture2DThe 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
prefabGameObject