Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Sample{
|
|
public class HelloComponent:MonoBehaviour{
|
|
public void Update(){
|
|
var trans1 = gameObject.transform;
|
|
var trans2 = gameObject.GetComponent<Transform>();
|
|
var tran3 = GetComponent<Transform>();
|
|
var tran4 = transform;
|
|
}
|
|
}
|
|
} |