This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
[RequireComponent(typeof(BoxCollider2D))] | |
public class ReactiveGrassSway : MonoBehaviour | |
{ | |
[SerializeField] private float m_bendForceOnExit = -0.1f; | |
[SerializeField] private bool m_windIsEnabled; | |
[SerializeField] private float m_baseWindForce = 0f; | |
[SerializeField] private float m_windPeriod = 0f; |