24 lines
679 B
C#
24 lines
679 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Unity.Mathematics;
|
|
using UnityEngine;
|
|
|
|
namespace Ichni.RhythmGame
|
|
{
|
|
public abstract class AnimationBase : BaseElement
|
|
{
|
|
public BaseElement targetObject;
|
|
public FlexibleReturnType animationReturnType;
|
|
//public ICanHaveAnimation target;
|
|
|
|
public void NewInitialize(string elementName, BaseElement targetObject)
|
|
{
|
|
base.NewInitialize(elementName);
|
|
this.targetObject = targetObject;
|
|
SetParent(this.targetObject);
|
|
}
|
|
|
|
public abstract void UpdateAnimation(float songTime);
|
|
}
|
|
} |