| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.Collections.Generic;
- using System.Threading;
- using PF;
- using UnityEngine;
- namespace ET
- {
- public class UnitPathComponent: Entity
- {
- public Vector3 Target;
- private ABPathWrap abPath;
-
- public List<Vector3> Path;
- public ETCancellationToken CancellationToken;
- public ABPathWrap ABPath
- {
- get
- {
- return this.abPath;
- }
- set
- {
- this.abPath?.Dispose();
- this.abPath = value;
- }
- }
- public override void Dispose()
- {
- if (this.IsDisposed)
- {
- return;
- }
- base.Dispose();
-
- this.abPath?.Dispose();
- }
- }
- }
|