23 lines
486 B
C#
23 lines
486 B
C#
using DefaultNamespace;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class CS : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
public GameObject BoxID;
|
|
void Start()
|
|
{
|
|
GameObject box = Instantiate(BoxID);
|
|
box.transform.SetParent(transform,false);
|
|
box.transform.localEulerAngles = new Vector3(90,0,0);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|