Exemplo n.º 1
0
        public void Init(EnemyUnits enemyUnits, Path path)
        {
            InitRequiredComponents();

            EnemyUnits = enemyUnits;

            _pathUser = gameObject.GetOrAddComponent <PathUser>();
            _pathUser.Init(Mover, path);
        }
Exemplo n.º 2
0
 public static void GetPaths(this IPathUser fileName, string fileLocation)
 {
     fileName.Url = Path.Combine(fileLocation, fileName.Url);
 }