行为树 类结构优化
parent
010158a7a8
commit
d69a45fbb2
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74d9b9671dc9421b9034b1cc8da51c53
|
||||
timeCreated: 1685467902
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 837ddc9b1e71476586fae46b0718215c
|
||||
timeCreated: 1685467862
|
||||
@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 552291c8ded048dc9addebeba764a4df
|
||||
timeCreated: 1685468018
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue