コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     delayRemoval = 5f;
     links        = new Dictionary <GameObject, Link>();
     lastRemoval  = -delayRemoval;
     nclParser    = GameObject.FindGameObjectWithTag("GameController").GetComponent <NCLParser>();
     structural   = GameObject.FindGameObjectWithTag("StructuralView").GetComponent <StructuralViewScript>();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     //ARCamera = GameObject.FindGameObjectWithTag("ARCamera");
     portsList       = new List <GameObject>();
     myMode          = CurrentMode.EDITING;
     nclParser       = GameObject.FindGameObjectWithTag("GameController").GetComponent <NCLParser>();
     linksController = GameObject.FindGameObjectWithTag("LinksController").GetComponent <LinksControllerScript>();
     structural      = GameObject.FindGameObjectWithTag("StructuralView").GetComponent <StructuralViewScript>();
 }