//===================================================== public void Init(ITargetWithinRange manager) { if (_doorways.Length > 0) { foreach (var doorway in _doorways) { doorway.Init(manager, this); } } else { Debug.LogWarning("EnemyDoorway is missing door triggers."); } }
//===================================================== public void Init(ITargetWithinRange manager, EnemyDoorway parent) { _manager = manager; _parent = parent; }
//===================================================== public void Init(ITargetWithinRange parent) { _parent = parent; }