public void Init(EnemyUnits enemyUnits, Path path) { InitRequiredComponents(); EnemyUnits = enemyUnits; _pathUser = gameObject.GetOrAddComponent <PathUser>(); _pathUser.Init(Mover, path); }
public static void GetPaths(this IPathUser fileName, string fileLocation) { fileName.Url = Path.Combine(fileLocation, fileName.Url); }