Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        /*foreach(Rigidbody r in GameObject.Find("Templates").GetComponentsInChildren<Rigidbody>())
         * {
         *      r.detectCollisions = false;
         *      r.useGravity = false;
         * }*/

        Map          = GameObject.Find("Map");
        File_Handler = GameObject.Find("File_Handler").GetComponent <File_Plugin_Behavior>();
    }
Beispiel #2
0
 private void Awake()
 {
     file_display = transform.Find("Text").GetComponent <TMP_Text>();
     File_Handler = GameObject.Find("File_Handler").GetComponent <File_Plugin_Behavior>();
 }