Пример #1
0
    //----------------------------------------------//
    void Start()
    {
        Contr1 = GameObject.Find("ContrDesc1").GetComponent <UnloadController>();
        Contr2 = GameObject.Find("ContrDesc2").GetComponent <UnloadController>();

        Physics.IgnoreLayerCollision(8, 9, false);
    }
Пример #2
0
 public void SetContrDesc(UnloadController contr)
 {
     ContrDesc = contr;
 }