TheKingsRace/Assets/Scripts/KingScripts/KingAbilities/Wind.cs
Vincent Wheat 87a4475f48 Reorganization
-KillZones are now network prefabs
-Reorganized files to remove redundancy
2021-12-10 21:38:24 -06:00

20 lines
423 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wind : MonoBehaviour
{
public Vector3 DirWind;
// Start is called before the first frame update
void Start()
{
DirWind = Vector3.forward;
}
// Update is called once per frame
void OnTriggerStay(Collider other)
{
other.GetComponent<dPlayerMovement>().AddImpact(DirWind, 1);
}
}