07 Script - Unity 2021 Basics Tutorial (no voice)

Опубликовано: 05 Август 2026
на канале: Frank Enstein
22
1

#unity #tutorial #script #csharp


// -- C# Script --

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log("Object name is:" + transform.name);
}

// Update is called once per frame
void Update()
{
Debug.Log("Object position is:" + transform.position);
}
}