public void OnBlockToCollision(Block target, Block pattern, Collision collision) { target.GetComponent <Block>().IsOnStack = true; blockFallBody.isKinematic = true; Debug.Log("OnBlockToCollision"); UtilCube.TrimBlockToCollision(target, pattern, collision); }
public void TrimBlockToCollision(Block target, Block pattern, Collision collision, BlockPool blockPool) { Debug.Log(string.Format("TrimBlockToCollision: {0}, {1}", target.name, pattern.name)); UtilCube.TrimBlockToCollision(target, pattern, collision, blockPool); }