“Trnasform Ubnity” Ответ

Trnasform Ubnity

using UnityEngine;

public class Example : MonoBehaviour
{
    // Moves all transform children 10 units upwards!
    void Start()
    {
        foreach (Transform child in transform)
        {
            child.position += Vector3.up * 10.0f;
        }
    }
}
Bored Buzzard

Trnasform Ubnity

public class Example : MonoBehaviour
{
    void Start()
    {
        transform.Translate(1, 1, 1);
    }
}
Bored Buzzard

Смотреть популярные ответы по языку

Смотреть другие языки программирования