Ejemplo n.º 1
0
	public static Easing easePath( Transform transform, PathScript path, float time, string easingGroup )
	{
		Easing es = new Easing();
		es.transform = transform;
		es.path=path;
		es.easeTime = time;
		es.pathStartNode=1;
		es.pathEndNode=path.path.Count-1;
		es.easingType = EasingType.SplinePath;
		es.target = TargetType.path;
		es.easingGroup = easingGroup;
		EasingManager.startEasing( es );
		
		es.setDelay( path.delay );
		return es;
	}