r/Unity3D – Telegram
r/Unity3D
260 subscribers
12.6K photos
15.5K videos
14 files
47.8K links
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Download Telegram
I’ve created a 25-slice sprite slicing tool that takes 9-slice to the next level. Fully compatible with UGUI and comes with a dedicated visual editor. It’s open source—what do you think?

https://redd.it/1hjbpjk
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Robots are invading, and only your typing skills can stop them! 🤖 Can you save the wall?

https://redd.it/1hjd1gf
@r_Unity3D
🔥1
I’ve created a 25-slice sprite slicing tool that takes 9-slice to the next level.
Fully compatible with UGUI and comes with a dedicated visual editor.
It’s open source—what do you think?

https://redd.it/1hjbn5a
@r_Unity3D
What is the best free beginner course for Unity 2D?

I am new to Unity 2D and C++, but I want to learn more. I am young and I don't have money for course. If there isn't free courses, do you know some way I can learn?

https://redd.it/1hjjfa0
@r_Unity3D
Had to force close Unity with task manager because FBX import was currently at 44 hours. All the imports for this building were fine until I started adding in destructible pieces. I currently have 5 pieces, all of which look roughly like this in terms of their amount of bits.
https://redd.it/1hjccol
@r_Unity3D
Minimum Mac Specs for Building for Apple Store?

Hello,

I am looking to add my mobile game to the Apple Store but I need to buy a Mac to be able to do so. I do my development on my PC and I’m wondering what the minimum specs I would need on a Mac in order to run Unity and build my game.

I plan on still doing all of my coding on my PC but I want to be able to transfer the project to a Mac only so I can build it for the Apple Store, I don’t intend on using it for more than that.

https://redd.it/1hjmnb1
@r_Unity3D
Having trouble with Tetris tutorial

I was following this tetris tutorial https://www.youtube.com/watch?v=ODLzYI4d-J8

but despite pretty much following it to the t, I got stuck at the end of the spawning/setting chapter. For some reason, the piece wont load in. I looked over the completed code, as well as where the code was where I left off, but I still couldn't find anything. I tried remaking the object in Unity, but that didnt do anything. Admittedly, I havent tried much else since I have no idea where to even start. Here's my code so far.

piece.cs

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.Tilemaps;



public class Board : MonoBehaviour

{

public TetrominoData[] tetrominoes;

public Tilemap tilemap { get; private set; }

public Piece active { get; private set; }

public Vector3Int spawnPosition;



private void Awake()

{

this.tilemap = GetComponentInChildren<Tilemap>();

this.active = GetComponentInChildren<Piece>();



for (int i = 0; i < this.tetrominoes.Length; i++)

{

this.tetrominoes[i].Init();

}

}



private void Start()

{

SpawnPiece();

}



public void SpawnPiece()

{

int random = Random.Range(0, this.tetrominoes.Length);

TetrominoData data = this.tetrominoes[random];



active.Initialize(this, spawnPosition, data);

Set(this.active);

}



public void Set(Piece piece)

{

for (int i = 0; i < piece.cells.Length; i++)

{

Vector3Int tilePosition = piece.cells[i] + piece.pos;

this.tilemap.SetTile(tilePosition, piece.data.tile);

}

}

}

tetrimino.cs

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using UnityEngine.Tilemaps;



public enum Tetromino

{

I,

O,

T,

J,

L,

S,

Z,

}



[System.Serializable]

public struct TetrominoData

{

public Tetromino tetromino;

public Tile tile;

public Vector2Int[] cells { get; private set; }



public void Init()

{

this.cells = Data.Cells[this.tetromino];

}



}

board.cs

using System.Collections;

using System.Collections.Generic;

using UnityEngine;



public class Piece : MonoBehaviour

{



public Board Board {get; private set;}

public Vector3Int pos { get; private set; }

public TetrominoData data { get; private set; }

public Vector3Int[] cells { get; private set; }

public void Initialize(Board Board, Vector3Int pos, TetrominoData data)

{

this.Board = Board;

this.pos = pos;

this.data = data;



if(this.cells == null)

{

this.cells = new Vector3Int[data.cells.Length];

}



for( int i = 0 ; i < data.cells.Length; i++)

{

this.cells[i] = (Vector3Int)data.cells[i];

}







}



}



and data.cs is copy-pasted directly from the github, as instructed. If there's any extra information you need from unity itself, i'll do my best to find it. Thanks in advance!


https://redd.it/1hjoh5a
@r_Unity3D
Looking to start a team(looking for any and all advice)

Hey there,

I’m completely ignorant of what it really takes to make video games on a technical level but I know I’ve always had a subconscious passion to create one.

I’ve been writing for nearly 13 years (haven’t published anything, because I’m looking for what I want to dedicate my time too) and I want to write a story for a video game. Me and a buddy are starting our journey soon regarding our creation and I wanted any advice I could get regarding beginners tips, what to know, what you wish you knew, pros and cons, cheap vs poor, etc.

Overall my objective is to be a creative director.


Please share any and all info

https://redd.it/1hjnrqv
@r_Unity3D