Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     isSelectedComputer      = new IsSelectedComputer(gameObject, baseSelectionOnOrientationOf);
     rigidbodyToApplyForceTo = applyForceTo.GetComponent <Rigidbody>();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     myMaterial         = GetComponent <MeshRenderer>().material;
     originalColor      = myMaterial.color;
     isSelectedComputer = new IsSelectedComputer(gameObject, baseSelectionOnOrientationOf);
 }