using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;

namespace Anima2D
{
	[Serializable]
	public class BlendShapeFrame : ScriptableObject
	{
		public float weight;
		public Vector3[] vertices;

		public static BlendShapeFrame Create(float weight, Vector3[] vertices)
		{
			BlendShapeFrame frame = ScriptableObject.CreateInstance<BlendShapeFrame>();

			frame.vertices = vertices;

			frame.weight = weight;

			return frame;
		}
	}
}
