| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System.Collections.Generic;
- using System.Threading;
- using PF;
- namespace ETModel
- {
- public class UnitPathComponent: Component
- {
- public Vector3 Target;
- private ABPath abPath;
-
- public List<Vector3> Path;
- public CancellationTokenSource CancellationTokenSource;
- public ABPath 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();
- }
- }
- }
|