26 lines
608 B
C#
26 lines
608 B
C#
using Beyond;
|
|
using DanielLochner.Assets.SimpleScrollSnap;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SpellActivator : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private MagicAttacks magicAttacks;
|
|
|
|
[SerializeField]
|
|
private SimpleScrollSnap scrollSnap;
|
|
|
|
|
|
public void ExecuteSpell()
|
|
{
|
|
|
|
if (!magicAttacks.isPlaying)
|
|
{
|
|
//magicAttacks.TryToPlaySpellAnimation();
|
|
//Debug.Log("executing:" + magicAttacks.m_selectedType);
|
|
Debug.LogError("!!not implemented!!!");
|
|
}
|
|
}
|
|
} |