public bool CanSquash() { SquishFinder sf = SquishFinder._sharedInstance; //Debug.Log((sf.CheckPoint(p1) + "," + sf.CheckPoint(p2) + "," + sf.CheckPoint(p3) + "," + sf.CheckPoint(p4))); return(sf.CheckPoint(p1) && sf.CheckPoint(p2) && sf.CheckPoint(p3) && sf.CheckPoint(p4)); }
// Use this for initialization void Start() { _sharedInstance = this; nextSquishTime = Time.time; //Anim handAnim = animObject.GetComponent <Animator>(); }