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 UnityEngine.Playables; | |
using UnityEngine.Timeline; | |
[System.Serializable] | |
public class PlayableSpeedControlMarker : Marker, INotification | |
{ | |
[SerializeField] | |
private float speed = 1; | |
public float Speed => speed; |
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; | |
[RequireComponent(typeof(BoxCollider), typeof(Rigidbody))] | |
public class WindBlower : MonoBehaviour | |
{ | |
public bool isWindActive = true; | |
public Vector3 windPower = new Vector3(0, 0, -100f); | |
public Vector3 Force { get; private set; } | |
private void Reset() |