You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			553 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			24 lines
		
	
	
		
			553 B
		
	
	
	
		
			C#
		
	
| namespace Game
 | |
| {
 | |
|     public enum ECastShadowType
 | |
|     {
 | |
|         Player,
 | |
|         Monster,
 | |
|         DeadBody,
 | |
|     }
 | |
|     public class ClipCastShadow : TimelineClipBase
 | |
|     {
 | |
|         private CastShadowClip _mRealAsset;
 | |
|         public override void OnEnter()
 | |
|         {
 | |
|             _mRealAsset = Asset as CastShadowClip;
 | |
|         }
 | |
|         public override void OnStay()
 | |
|         {
 | |
|             Owner.CastShadow(castShadowType: _mRealAsset.template.castShadowType);
 | |
|         }
 | |
|         public override void OnLeave()
 | |
|         {
 | |
|         }
 | |
|     }
 | |
| } |