로딩
티스토리 데이터 처리 중입니다.

[유니티 C#][기초] 3. 씬에 스크립트로 큐브 100개 생성하기

 [유니티 C#][기초] 3. 씬에 스크립트로 큐브 100개 생성하기

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859using System.Collections;using System.Collections.Generic;using UnityEngine; public class CubeGroupGenerator : MonoBehaviour{ public Vector3 position = new Vector3(10.0f, 0.0f, 0.0f); //정육각형 큐브를 쌓는데 for문에 사용할 반복인수로 vector3 사용 public Vector3 count = new Vector3(10f, 10f, 10f); public void .....