19 lines
		
	
	
		
			404 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			404 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using UnityEngine;
 | |
| using UnityEngine.Playables;
 | |
| 
 | |
| namespace Timeline.Samples
 | |
| {
 | |
|     // Runtime representation of a Tween clip.
 | |
|     public class TweenBehaviour : PlayableBehaviour
 | |
|     {
 | |
|         public Transform startLocation;
 | |
|         public Transform endLocation;
 | |
| 
 | |
|         public bool shouldTweenPosition;
 | |
|         public bool shouldTweenRotation;
 | |
| 
 | |
|         public AnimationCurve curve;
 | |
|     }
 | |
| }
 |