959e80cf72
assets upload description.
22 lines
502 B
C#
22 lines
502 B
C#
using UnityEngine;
|
|
|
|
namespace AwesomeTechnologies.Grass
|
|
{
|
|
public class WindBaker : MonoBehaviour
|
|
{
|
|
public Mesh Mesh;
|
|
public Vector3 Rotation;
|
|
public AnimationCurve BendCurve = new AnimationCurve();
|
|
|
|
// ReSharper disable once UnusedMember.Local
|
|
void Reset()
|
|
{
|
|
MeshFilter meshFilter = GetComponent<MeshFilter>();
|
|
if (meshFilter)
|
|
{
|
|
Mesh = meshFilter.sharedMesh;
|
|
}
|
|
}
|
|
}
|
|
}
|