using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyFirstScript : MonoBehaviour
{
private void update ()
{
transform.position = new Vector3(10f, 10f, 10f);
transform.eulerAngles = new Vector3(30F, 30F, 30F);
transform.LocalScale = new Vecror3(2f, 2f, 2f);
}
}
на такой код юнити выдает 2 ошибки
Assets\MyFirstScript.cs(12,19): error CS1061: 'Transform' does not contain a definition for 'LocalScale' and no accessible extension method 'LocalScale' accepting a first argument of type 'Transform' could be found (are you missing a using directive or an assembly reference?)
и
Assets\MyFirstScript.cs(12,36): error CS0246: The type or namespace name 'Vecror3' could not be found (are you missing a using directive or an assembly reference?)
подскажите в чем проблема или хотя бы что изучить чтобы понеять в чем дело?