//Define Reference Variables private void OnEnable() { trans = GetComponent <Transform>(); po = GetComponent <physicsObject>(); bc = GetComponent <boxCollider>(); cc = gameObject.AddComponent <cloudConnect>(); cc.Start(); cc.webData.x1 = 1000; cc.PushRow(0); }
//Define Reference Variables private void OnEnable() { trans = GetComponent <Transform>(); bc = GetComponent <boxCollider>(); }