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
		
	
	
		
			488 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			24 lines
		
	
	
		
			488 B
		
	
	
	
		
			C#
		
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using CleverCrow.Fluid.BTs.Trees;
 | |
| using UnityEngine;
 | |
| using UnityEngine.Timeline;
 | |
| 
 | |
| namespace Game
 | |
| {
 | |
|     public interface IAIEntity
 | |
|     {
 | |
|         void Reset(GameEntity entity);
 | |
|     }
 | |
| 
 | |
|     public partial class AIEntityBase<T> : AIObjectBase<T>, IAIEntity where T : new()
 | |
|     {
 | |
|         private GameEntity _entity;
 | |
| 
 | |
|         public void Reset(GameEntity entity)
 | |
|         {
 | |
|             _entity = entity;
 | |
|             _tree.Reset();
 | |
|         }
 | |
|     }
 | |
| } |