Newer
Older
HardPoint-Project-Abertay-University-Unity3D / Assets / Scripts / Structs / AppliedEffectsStruct.cs
@Rackday Rackday on 18 Aug 398 bytes Project Added
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public struct AppliedEffectsStruct
{
    public EffectBase effect;
    public float currentTimer;
    public GameObject source;

    public AppliedEffectsStruct(EffectBase effect, GameObject source)
    {
        this.effect = effect;
        this.currentTimer = effect.duration;
        this.source = source;
    }
}