//----------------------------------------------// void Start() { Contr1 = GameObject.Find("ContrDesc1").GetComponent <UnloadController>(); Contr2 = GameObject.Find("ContrDesc2").GetComponent <UnloadController>(); Physics.IgnoreLayerCollision(8, 9, false); }
public void SetContrDesc(UnloadController contr) { ContrDesc = contr; }